:root {
  color-scheme: dark;
  --ink: #f3efe6;
  --muted: #b7ad9d;
  --quiet: #81786b;
  --bg: #0b1118;
  --band: #111b26;
  --band-2: #182330;
  --line: #31404e;
  --gold: #d8ad4c;
  --gold-2: #f2cf74;
  --red: #c94d3a;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Crimson Pro", Georgia, serif;
  font-size: 19px;
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(216, 173, 76, 0.2);
  background: rgba(11, 17, 24, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  min-height: calc(100svh - 62px);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom, rgba(11, 17, 24, 0.05), rgba(11, 17, 24, 0.96) 84%, var(--bg)),
    url("../images/hanuman-hero.webp");
  background-size: cover;
  background-position: top center;
}

.hero-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 8rem 1.25rem 4rem;
  position: relative;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  color: var(--gold);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 0 0 0.9rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(4rem, 11vw, 8.25rem);
  letter-spacing: 0.02em;
  max-width: 8ch;
}

h2 {
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  letter-spacing: 0.01em;
}

h3 {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.05rem;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  max-width: 650px;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.button {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.1rem;
  background: var(--gold);
  color: #11100d;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover {
  background: var(--gold-2);
}

.button.secondary {
  background: transparent;
  border-color: rgba(216, 173, 76, 0.65);
  color: var(--gold-2);
}

.button.secondary:hover {
  border-color: var(--gold-2);
  background: rgba(216, 173, 76, 0.08);
}

.band {
  background: var(--band);
}

.band.alt {
  background: var(--band-2);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.author-intro {
  max-width: 900px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.book-cover {
  width: min(430px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.45));
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  border: 1px solid var(--line);
  background: rgba(11, 17, 24, 0.42);
  padding: 1.1rem;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.offer {
  border-top: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  background: #1f1414;
}

.offer .section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.price {
  color: var(--gold-2);
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  font-weight: 900;
  line-height: 1;
}

.store-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.store-link {
  border: 1px solid var(--line);
  background: rgba(11, 17, 24, 0.55);
  color: var(--ink);
  display: block;
  padding: 1.15rem;
  text-decoration: none;
}

.store-link strong,
.store-link span {
  display: block;
}

.store-link span {
  color: var(--muted);
  font-size: 0.9rem;
}

.store-link:hover {
  border-color: var(--gold);
}

.embed-wrap {
  border: 1px solid var(--line);
  background: rgba(11, 17, 24, 0.48);
  padding: 1rem;
}

.substack-embed {
  width: 100%;
  height: 320px;
  border: 0;
  background: transparent;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.88rem;
  padding: 2rem 1.25rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer a {
  color: var(--muted);
}

.prose {
  max-width: 760px;
}

.prose p,
.prose li {
  color: var(--muted);
}

@media (max-width: 800px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .split,
  .card-grid,
  .store-list {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 5rem;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 18px;
  }

  .nav-links {
    gap: 0.7rem;
    font-size: 0.72rem;
  }

  .button {
    width: 100%;
  }
}
