:root {
  --ink: #060808;
  --night: #101514;
  --mist: #e8e0cf;
  --gold: #d8bf86;
  --sage: #9fb888;
  --rose: #cc8b80;
  --blue: #5b8790;
  --line: rgba(232, 224, 207, 0.18);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.52);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--mist);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(216, 191, 134, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(232, 224, 207, 0.035) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
  z-index: 0;
}

main {
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(232, 224, 207, 0.11);
  background: rgba(5, 7, 7, 0.7);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1rem, 2vw, 1.34rem);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--gold);
  white-space: nowrap;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.8vw, 34px);
}

.nav-links a,
.scroll-cue,
.text-link,
.site-footer a {
  position: relative;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-links a {
  color: rgba(232, 224, 207, 0.78);
}

.nav-links a.active {
  color: var(--gold);
}

.nav-links a::after,
.text-link::after,
.site-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--sage);
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after,
.site-footer a:hover::after,
.site-footer a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.facebook-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(216, 191, 134, 0.42);
  border-radius: 50%;
  color: var(--gold);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.facebook-link:hover,
.facebook-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(216, 191, 134, 0.12);
}

.facebook-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero {
  order: 0;
  position: relative;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
blockquote {
  font-family: Cinzel, Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  margin: 0;
  max-width: 10ch;
  color: var(--gold);
  font-size: clamp(4.2rem, 12vw, 9.6rem);
  text-wrap: balance;
}

h2 {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: clamp(2.2rem, 5vw, 5.6rem);
  text-wrap: balance;
}

p {
  margin: 0 0 18px;
  color: rgba(232, 224, 207, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.hero-copy {
  max-width: 620px;
  margin-top: 18px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: rgba(232, 224, 207, 0.88);
}

.author-section h1 {
  max-width: 12ch;
  margin: 0 0 22px;
  color: var(--gold);
  font-size: clamp(3.4rem, 8vw, 7.4rem);
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: #11120e;
  background: linear-gradient(135deg, var(--gold), #f0dfae);
  box-shadow: 0 16px 42px rgba(216, 191, 134, 0.2);
}

.button.secondary {
  color: var(--mist);
  border-color: rgba(232, 224, 207, 0.28);
  background: rgba(232, 224, 207, 0.06);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--sage);
  color: var(--sage);
}

.scroll-cue {
  position: absolute;
  right: clamp(20px, 5vw, 70px);
  bottom: 34px;
  writing-mode: vertical-rl;
  color: rgba(232, 224, 207, 0.6);
}

.section {
  position: relative;
  padding: clamp(76px, 11vw, 142px) clamp(20px, 6vw, 92px);
  scroll-margin-top: 96px;
  z-index: 1;
}

.subpage .page-lead {
  min-height: calc(100svh - 76px);
  padding-top: clamp(132px, 14vw, 172px);
}

.subpage h1 {
  max-width: 12ch;
  margin: 0 0 22px;
  color: var(--gold);
  font-size: clamp(3.1rem, 8vw, 7rem);
  text-wrap: balance;
}

.subpage .book-section h1 {
  max-width: 11ch;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.92fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(34px, 7vw, 96px);
  max-width: 1240px;
  margin: 0 auto;
}

.section-grid.reverse {
  grid-template-columns: minmax(300px, 1fr) minmax(270px, 0.82fr);
}

.book-section {
  order: 2;
  background:
    radial-gradient(circle at 18% 22%, rgba(91, 135, 144, 0.18), transparent 32%),
    linear-gradient(180deg, #060808 0%, #101514 100%);
}

.book-visual,
.author-portrait {
  position: relative;
}

.book-visual::before,
.author-portrait::before {
  content: "";
  position: absolute;
  inset: 10%;
  background: rgba(159, 184, 136, 0.2);
  filter: blur(52px);
  z-index: -1;
}

.book-visual img {
  width: min(100%, 620px);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lead {
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  color: rgba(232, 224, 207, 0.92);
}

.sales-panel-section {
  order: 1;
  background:
    radial-gradient(circle at 18% 16%, rgba(216, 191, 134, 0.13), transparent 30%),
    radial-gradient(circle at 78% 72%, rgba(204, 139, 128, 0.12), transparent 28%),
    linear-gradient(180deg, #050707 0%, #101514 100%);
  border-top: 1px solid rgba(232, 224, 207, 0.09);
}

.sales-panel-header,
.sales-grid {
  max-width: 1220px;
  margin-inline: auto;
}

.sales-panel-header {
  margin-bottom: clamp(30px, 5vw, 58px);
}

.sales-panel-header h2 {
  max-width: 980px;
}

.sales-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 18px;
}

.sales-card {
  min-height: 220px;
  border: 1px solid rgba(232, 224, 207, 0.14);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 30px);
  background:
    linear-gradient(145deg, rgba(232, 224, 207, 0.075), rgba(5, 7, 7, 0.22)),
    rgba(5, 7, 7, 0.52);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
}

.sales-card h3,
.chapter-card h3 {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.2rem, 1.65vw, 1.72rem);
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.sales-card p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.book-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.read-more-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 56px;
  margin: 22px auto 28px;
  border: 1px solid rgba(216, 191, 134, 0.5);
  border-radius: 6px;
  padding: 15px 30px;
  background: rgba(216, 191, 134, 0.08);
  color: var(--gold);
  cursor: pointer;
  font: inherit;
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.read-more-toggle:hover,
.read-more-toggle:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(216, 191, 134, 0.14);
}

.read-more-panel {
  margin: 4px 0 26px;
  border-left: 2px solid rgba(216, 191, 134, 0.58);
  padding: 4px 0 4px 20px;
}

.read-more-panel p {
  margin-bottom: 14px;
}

.read-more-panel ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 20px;
  color: rgba(232, 224, 207, 0.84);
}

.book-details span {
  border: 1px solid rgba(159, 184, 136, 0.36);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.author-section {
  order: 3;
  background:
    radial-gradient(circle at 82% 35%, rgba(204, 139, 128, 0.16), transparent 30%),
    linear-gradient(180deg, #101514 0%, #080a0a 100%);
}

.free-chapters-section {
  order: 5;
  background:
    radial-gradient(circle at 20% 18%, rgba(159, 184, 136, 0.13), transparent 30%),
    radial-gradient(circle at 86% 34%, rgba(216, 191, 134, 0.12), transparent 30%),
    linear-gradient(180deg, #101514 0%, #070909 100%);
}

.free-chapters-header,
.chapter-list {
  max-width: 1120px;
  margin-inline: auto;
}

.free-chapters-header {
  margin-bottom: clamp(32px, 5vw, 62px);
}

.free-chapters-header h1,
.free-chapters-header h2 {
  max-width: 12ch;
  margin: 0 0 22px;
  color: var(--gold);
  font-size: clamp(3rem, 8vw, 7rem);
  text-wrap: balance;
}

.chapter-list {
  display: grid;
  gap: 28px;
}

.chapter-card {
  border: 1px solid rgba(232, 224, 207, 0.16);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 44px);
  background:
    linear-gradient(135deg, rgba(232, 224, 207, 0.07), rgba(91, 135, 144, 0.05)),
    rgba(5, 7, 7, 0.56);
  box-shadow: var(--shadow);
}

.chapter-label {
  margin-bottom: 10px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.chapter-card strong {
  color: var(--gold);
}

.author-portrait img {
  aspect-ratio: 3 / 4;
  width: min(100%, 520px);
  margin-left: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quote-band {
  order: 7;
  min-height: 48vh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(5, 7, 7, 0.76), rgba(5, 7, 7, 0.92)),
    url("assets/many-masks-book.png");
  background-size: cover;
  background-position: center;
  border-block: 1px solid var(--line);
}

blockquote {
  max-width: 920px;
  margin: 0;
  text-align: center;
  color: var(--mist);
  font-size: clamp(2rem, 5.2vw, 5.4rem);
}

.reviews-section {
  order: 4;
  background:
    radial-gradient(circle at 18% 16%, rgba(216, 191, 134, 0.14), transparent 31%),
    radial-gradient(circle at 86% 42%, rgba(91, 135, 144, 0.14), transparent 30%),
    linear-gradient(180deg, #060808 0%, #111514 100%);
}

.reviews-header,
.reviews-list,
.reviews-cta {
  max-width: 1120px;
  margin-inline: auto;
}

.reviews-header {
  margin-bottom: clamp(34px, 6vw, 70px);
}

.reviews-header h1,
.reviews-header h2 {
  max-width: 11ch;
  margin: 0 0 22px;
  color: var(--gold);
  font-size: clamp(3.1rem, 8vw, 7rem);
  text-wrap: balance;
}

.reviews-list {
  display: grid;
  gap: 22px;
}

.review-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(232, 224, 207, 0.16);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(232, 224, 207, 0.075), rgba(159, 184, 136, 0.045)),
    rgba(5, 7, 7, 0.56);
  box-shadow: var(--shadow);
}

.feature-review {
  padding-top: clamp(34px, 5vw, 56px);
}

.compact-review {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(12px, 3vw, 24px);
  align-items: start;
}

.review-mark {
  color: rgba(216, 191, 134, 0.46);
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(4rem, 9vw, 7.4rem);
  line-height: 0.8;
}

.feature-review .review-mark {
  position: absolute;
  top: 20px;
  right: 30px;
}

.review-body p {
  margin-bottom: 18px;
}

.inline-review-quote {
  max-width: 820px;
  margin: 26px 0 0;
  border-left: 2px solid var(--gold);
  padding-left: 18px;
  color: var(--gold);
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.18rem, 2vw, 1.6rem);
  line-height: 1.35;
  text-align: left;
}

.review-author {
  margin: 28px 0 0;
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.compact-review .review-author {
  grid-column: 2;
  margin-top: 8px;
}

.reviews-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(30px, 5vw, 54px);
}

.contact-section {
  order: 6;
  background: linear-gradient(180deg, #080a0a 0%, #111514 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 1fr);
  gap: clamp(28px, 7vw, 90px);
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(232, 224, 207, 0.16);
  border-radius: 8px;
  background: rgba(232, 224, 207, 0.055);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--sage);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(232, 224, 207, 0.18);
  border-radius: 6px;
  padding: 13px 14px;
  background: rgba(5, 7, 7, 0.72);
  color: var(--mist);
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216, 191, 134, 0.14);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--gold);
  font-size: 0.94rem;
}

.grab-section {
  order: 8;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(260px, 560px);
  align-items: center;
  gap: clamp(30px, 6vw, 78px);
  background:
    radial-gradient(circle at 70% 20%, rgba(216, 191, 134, 0.16), transparent 34%),
    linear-gradient(180deg, #111514 0%, #050707 100%);
}

.grab-content {
  max-width: 720px;
}

.grab-section img {
  width: min(100%, 560px);
  justify-self: end;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 92px);
  border-top: 1px solid var(--line);
  background: #050707;
  color: rgba(232, 224, 207, 0.7);
}

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

#sales-panel {
  padding-top: clamp(66px, 8vw, 104px);
  padding-bottom: clamp(66px, 8vw, 104px);
}

#sales-panel .sales-panel-header {
  max-width: 1120px;
  margin: 0 auto clamp(28px, 4vw, 48px);
}

#sales-panel .sales-panel-header h2 {
  max-width: 940px;
  font-size: clamp(2.2rem, 4.2vw, 4.75rem);
  line-height: 1.08;
}

#sales-panel .sales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

#sales-panel .sales-card {
  min-height: auto;
  border: 1px solid rgba(232, 224, 207, 0.18);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 30px);
  background:
    linear-gradient(145deg, rgba(232, 224, 207, 0.095), rgba(5, 7, 7, 0.24)),
    rgba(5, 7, 7, 0.62);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

#sales-panel .sales-card h3 {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.15rem, 1.45vw, 1.5rem);
  line-height: 1.24;
  overflow-wrap: normal;
}

#sales-panel .sales-card p {
  margin: 0;
  color: rgba(232, 224, 207, 0.82);
  font-size: 0.98rem;
}

@media (max-width: 640px) {
  #sales-panel .sales-panel-header h2 {
    font-size: clamp(2rem, 12vw, 3.55rem);
  }

  #sales-panel .sales-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 86px;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-self: start;
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 100svh;
    padding-top: 112px;
    display: grid;
    place-items: center;
    background: #000;
  }

  .hero-video {
    top: 112px;
    bottom: 0;
    height: calc(100% - 112px);
    object-fit: contain;
    object-position: center center;
    transform: none;
  }

  h1 {
    font-size: clamp(3.5rem, 18vw, 5.6rem);
  }

  .section-grid,
  .section-grid.reverse,
  .contact-layout,
  .grab-section {
    grid-template-columns: 1fr;
  }

  .sales-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compact-review {
    grid-template-columns: 1fr;
  }

  .compact-review .review-author {
    grid-column: auto;
  }

  .author-portrait img,
  .grab-section img {
    justify-self: start;
    margin-left: 0;
  }

  .scroll-cue {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-inline: 14px;
  }

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

  .section {
    padding-inline: 16px;
  }

  .hero {
    padding-inline: 0;
    padding-top: 108px;
  }

  .hero-video {
    top: 108px;
    height: calc(100% - 108px);
  }

  .button {
    width: 100%;
  }

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

  .contact-form {
    padding: 18px;
  }
}
