:root {
  --bg: #07080c;
  --bg-raise: #10131b;
  --ink: #f6f1e7;
  --muted: #b7ae9f;
  --soft: #8d8578;
  --gold: #e2a322;
  --gold-2: #f3d7a1;
  --line: rgba(243, 215, 161, 0.16);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --gutter: clamp(1.25rem, 2.4vw, 2.5rem);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: #1a1204; }

.atmosphere {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(226, 163, 34, 0.16), transparent 60%),
    radial-gradient(700px 480px at -10% 40%, rgba(18, 52, 84, 0.45), transparent 55%),
    radial-gradient(800px 500px at 50% 110%, rgba(12, 28, 48, 0.7), transparent 50%);
}

.site-header,
main,
.site-footer { position: relative; z-index: 1; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 8, 12, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.brand {
  font-family: var(--display);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 1.6rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a {
  position: relative;
  padding: 0.2rem 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover,
.nav a:focus-visible { color: var(--ink); }
.nav a:hover::after,
.nav a:focus-visible::after { transform: scaleX(1); }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 4.25rem);
  padding: 2rem 0 2.4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(26px) saturate(1.15) brightness(0.28);
  transform: scale(1.12);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 12, 0.92) 0%, rgba(7, 8, 12, 0.72) 48%, rgba(7, 8, 12, 0.45) 100%),
    linear-gradient(180deg, rgba(7, 8, 12, 0.2), var(--bg));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  width: 100%;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.2rem;
  color: var(--gold-2);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 500;
}

.eyebrow span { color: var(--gold); }

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(4.2rem, 6vw, 6.6rem);
  line-height: 0.84;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tagline {
  margin: 1.3rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.55rem;
  color: var(--gold-2);
}

.book-line {
  margin: 1.6rem 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
  line-height: 1.02;
}

.book-kicker {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--soft);
}

.book-line em {
  font-style: italic;
  color: var(--gold);
}

.lede {
  max-width: none;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.3rem;
  border: 1px solid transparent;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: #1b1304;
}

.btn-gold:hover,
.btn-gold:focus-visible { background: #f0bc45; }

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible { border-color: var(--gold); color: var(--gold-2); }

.cover {
  margin: 0;
  justify-self: end;
  width: 100%;
}

.cover img {
  display: block;
  width: auto;
  max-width: 100%;
  height: min(72vh, 680px);
  margin-left: auto;
  box-shadow: var(--shadow), 0 0 0 1px rgba(243, 215, 161, 0.22);
  transition: transform 0.4s ease;
}

.cover:hover img { transform: translateY(-8px); }

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(16, 19, 27, 0.72);
}

.ticker-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  padding: 0.85rem 0;
  animation: tick 42s linear infinite;
}

.ticker-track span {
  color: var(--gold-2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  white-space: nowrap;
}

.ticker-track span::before {
  content: "◆";
  margin-right: 2.4rem;
  color: var(--gold);
  font-size: 0.55rem;
  vertical-align: middle;
}

@keyframes tick {
  to { transform: translateX(-50%); }
}

.facts {
  width: 100%;
  border-bottom: 1px solid var(--line);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.facts article {
  padding: 2rem 1.6rem 2.2rem;
  background: rgba(7, 8, 12, 0.92);
}

.fact-year {
  margin: 0;
  font-family: var(--display);
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 1.35rem;
}

.facts h2 {
  margin: 0.4rem 0 0.5rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
}

.facts p:last-child {
  margin: 0;
  color: var(--muted);
}

.section {
  width: 100%;
  padding-block: 4.5rem;
}

.section-head { margin-bottom: 2.2rem; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.section-head h2,
.close h2 {
  margin: 0;
  max-width: 100%;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.3rem, 3.1vw, 3.5rem);
  line-height: 1.08;
}

.quote-band p {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
}

.deck {
  margin: 1rem 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
}

.book-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.prose p,
.timeline p,
.chapter p {
  color: #ddd4c6;
}

.prose p {
  margin: 0 0 1.15rem;
  font-size: 1.12rem;
  line-height: 1.7;
}

.refrain {
  padding: 2rem 1.6rem;
  background:
    linear-gradient(180deg, rgba(226, 163, 34, 0.08), transparent 40%),
    var(--bg-raise);
  border: 1px solid var(--line);
}

.refrain p {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.2;
}

.refrain-place {
  margin-top: 0.6rem !important;
  color: var(--gold);
  font-style: italic;
  font-size: 2.2rem !important;
}

.refrain-note {
  margin-top: 1.4rem !important;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-family: var(--sans) !important;
  font-size: 0.98rem !important;
  line-height: 1.6;
  color: var(--muted);
}

.quote-band {
  width: 100%;
  padding-block: 5rem;
  text-align: center;
  background:
    radial-gradient(600px 220px at 50% 50%, rgba(226, 163, 34, 0.14), transparent 70%),
    #0b0d13;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-band blockquote { margin: 0 auto; max-width: 100%; }
.quote-band p {
  font-style: italic;
  font-size: clamp(2rem, 3.4vw, 3.7rem);
}
.quote-band footer {
  margin-top: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  column-gap: clamp(1.5rem, 3vw, 3rem);
  row-gap: 0.35rem;
  padding: 1.7rem 0;
  border-top: 1px solid var(--line);
}

.timeline li:last-child { border-bottom: 1px solid var(--line); }

.when {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0.5rem 0 0;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 500;
}

.timeline h3,
.timeline li > p:last-child { grid-column: 2; }

.timeline h3 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
}

.timeline p:last-child {
  margin: 0;
  color: var(--muted);
}

.chapter {
  width: 100%;
  padding: 2.5rem 2.4rem 2.8rem;
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.035), rgba(255, 248, 236, 0.015));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  column-count: 2;
  column-gap: 3rem;
}

.chapter h3,
.chapter .reply,
.chapter .emphasis {
  break-inside: avoid;
}

.chapter p {
  margin: 0 0 1.15rem;
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.62;
}

.chapter p:first-of-type::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  font-size: 4.6rem;
  line-height: 0.75;
  color: var(--gold);
  font-weight: 600;
}

.chapter h3 {
  margin: 2rem 0 0.9rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.chapter .emphasis {
  font-style: italic;
  color: var(--gold-2);
}

.chapter .reply {
  font-style: italic;
  font-size: 1.7rem !important;
  color: var(--ink);
}

.close {
  width: 100%;
  padding-block: 5rem 4.5rem;
  text-align: center;
}

.close .eyebrow { justify-content: center; }
.close h2 { max-width: 14em; margin: 0 auto; }
.close p {
  margin: 1rem 0 1.8rem;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
}

.site-footer {
  padding-block: 2rem 2.4rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--soft);
}

.site-footer .brand { margin-bottom: 0.4rem; }
.site-footer p { margin: 0.15rem 0; }
.footer-tag {
  margin-top: 0.45rem !important;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-2);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero-grid,
  .book-layout,
  .facts-grid,
  .timeline li {
    grid-template-columns: 1fr;
  }

  .hero { min-height: 0; padding-top: 2.2rem; }
  .cover { justify-self: center; order: -1; }
  .cover img { height: auto; width: min(100%, 420px); margin: 0 auto; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow,
  .actions { justify-content: center; }
  .hero-grid { grid-template-columns: 1fr; }
  .lede, .book-line { margin-left: auto; margin-right: auto; }
  .when,
  .timeline h3,
  .timeline li > p:last-child {
    grid-column: auto;
    grid-row: auto;
  }
  .chapter { column-count: 1; }
  .section { padding-block: 4.2rem; }
  .facts article { padding: 1.5rem 1.3rem; }
}

@media (max-width: 680px) {
  .header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    min-height: 0;
    padding-block: 0.9rem;
  }

  .nav { gap: 1rem; flex-wrap: wrap; }
  .hero h1 { font-size: 4.4rem; }
  .chapter { padding: 1.5rem 1.15rem 1.8rem; }
  .chapter p { font-size: 1.2rem; }
  .book-line { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .cover img,
  .btn { transition: none; }
}
