:root {
  --ink: #0d0c0b;
  --charcoal: #151310;
  --charcoal-soft: #201d19;
  --paper: #f0e8d8;
  --paper-muted: #bdb3a2;
  --red: #9f1725;
  --red-bright: #bd2433;
  --yellow: #efb714;
  --line-dark: rgba(240, 232, 216, .17);
  --serif: Baskerville, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: Avenir, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.pixel-fallback { display: none; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -5rem;
  padding: .8rem 1rem;
  background: var(--paper);
  color: var(--ink);
}

.skip-link:focus { top: 1rem; }

.landing-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: .85rem clamp(1rem, 4vw, 4.5rem);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(13, 12, 11, .96);
  backdrop-filter: blur(12px);
}

.author-name,
.footer-author {
  width: max-content;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  letter-spacing: -.02em;
  text-decoration: none;
}

.header-prompt {
  margin: 0;
  color: var(--paper-muted);
  font-size: .62rem;
  letter-spacing: .2em;
  text-align: center;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  min-height: 54px;
  padding: .85rem 1.25rem;
  border: 1px solid transparent;
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.button:hover { transform: translateY(-2px); }

.button-compact {
  min-height: 46px;
  justify-self: end;
  padding-inline: 1.15rem;
  background: var(--red);
  color: #fff;
}

.button-compact:hover { background: var(--red-bright); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(290px, .82fr) minmax(440px, 1.18fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8.5rem);
  overflow: hidden;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.25rem, 8vw, 9rem);
  background:
    radial-gradient(circle at 23% 42%, rgba(159, 23, 37, .25), transparent 28%),
    linear-gradient(118deg, #0b0a09 0 50%, #171410 100%);
}

.hero-atmosphere {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .52;
  background-image:
    linear-gradient(105deg, transparent 0 58%, rgba(239, 183, 20, .05) 58.2% 58.7%, transparent 59%),
    repeating-linear-gradient(115deg, transparent 0 62px, rgba(240, 232, 216, .025) 63px 64px);
}

.cover-column { justify-self: end; width: min(100%, 410px); }

.cover-frame {
  position: relative;
  width: min(100%, 380px);
  margin-inline: auto;
}

.cover-frame::before {
  content: "";
  position: absolute;
  inset: 8% -8% -5% 10%;
  z-index: -1;
  background: rgba(159, 23, 37, .7);
  filter: blur(45px);
}

.cover-frame img {
  width: 100%;
  height: auto;
  box-shadow: 0 42px 86px rgba(0, 0, 0, .62);
  transform: rotate(-1deg);
}

.format-note {
  margin: 1.25rem 0 0;
  color: #877f73;
  font-size: .62rem;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
}

.hero-copy { max-width: 690px; }

.eyebrow,
.section-label {
  margin: 0 0 1.25rem;
  color: #c77d87;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.kindle-price {
  display: inline-flex;
  align-items: baseline;
  gap: .8rem;
  margin: 0 0 1.15rem;
  padding: .55rem .8rem;
  border: 1px solid rgba(240, 232, 216, .22);
  background: rgba(159, 23, 37, .16);
  color: var(--paper);
  line-height: 1;
}

.kindle-price span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.kindle-price strong {
  color: var(--yellow);
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 7.8vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .96;
}

.hero h1 span {
  display: inline-block;
  margin-block: .06em;
  color: var(--red-bright);
}

.hero blockquote {
  margin: clamp(2rem, 4vw, 3.25rem) 0 1.1rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--red-bright);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  font-style: italic;
  line-height: 1.25;
}

.hero-deck {
  max-width: 610px;
  margin: 0;
  color: var(--paper-muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.purchase-block {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.button-primary {
  min-width: min(100%, 280px);
  background: var(--red);
  color: #fff;
}

.button-primary:hover { background: var(--red-bright); }

.purchase-block > p {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--paper-muted);
  font-size: .7rem;
  line-height: 1.5;
}

.purchase-block strong {
  color: var(--paper);
  font-size: .82rem;
  font-weight: 600;
}

.tension-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid rgba(13, 12, 11, .2);
  background: var(--yellow);
  color: var(--ink);
}

.tension-strip p {
  margin: 0;
  padding: 1.45rem clamp(1rem, 3vw, 3rem);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-align: center;
  text-transform: uppercase;
}

.tension-strip p + p { border-left: 1px solid rgba(13, 12, 11, .2); }
.tension-strip span { margin-right: .65rem; color: rgba(13, 12, 11, .5); }

.story {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(3rem, 9vw, 9rem);
  padding: clamp(5.5rem, 11vw, 10rem) clamp(1.25rem, 9vw, 10rem);
  background: var(--paper);
  color: var(--ink);
}

.story-heading { align-self: start; position: sticky; top: 110px; }
.story .section-label { color: var(--red); }

.story h2,
.decision h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.8vw, 6.2rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .93;
}

.story-copy { max-width: 680px; }

.story-copy > p {
  margin: 0 0 1.35rem;
  color: #4d463e;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.5;
}

.story-copy > p:first-child {
  color: var(--ink);
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
}

.reader-promise {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(13, 12, 11, .2);
}

.reader-promise ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.reader-promise li {
  position: relative;
  padding: .9rem 0 .9rem 1.75rem;
  border-bottom: 1px solid rgba(13, 12, 11, .13);
  color: #4d463e;
}

.reader-promise li::before {
  content: "";
  position: absolute;
  left: .15rem;
  top: 1.45rem;
  width: 7px;
  height: 7px;
  background: var(--red);
  transform: rotate(45deg);
}

.decision {
  min-height: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.25rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(239, 183, 20, .12), transparent 33%),
    var(--red);
  text-align: center;
}

.decision .section-label { color: rgba(255, 255, 255, .68); }
.decision h2 { max-width: 920px; font-size: clamp(3.5rem, 7.3vw, 7.4rem); }

.decision-copy {
  max-width: 590px;
  margin: 1.8rem 0 2rem;
  color: rgba(255, 255, 255, .78);
}

.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: #fff; }

.landing-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2.4rem clamp(1.25rem, 5vw, 5rem);
  background: #080706;
  color: #837b70;
}

.landing-footer nav { display: flex; gap: 1.5rem; }
.landing-footer nav a { font-size: .69rem; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.landing-footer nav a:hover { color: var(--paper); }
.landing-footer p { justify-self: end; margin: 0; font-size: .7rem; }

*:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }

@media (max-width: 900px) {
  .landing-header { grid-template-columns: 1fr auto; }
  .header-prompt { display: none; }
  .hero {
    min-height: auto;
    grid-template-columns: minmax(240px, .72fr) minmax(360px, 1.28fr);
    gap: 3rem;
    padding-inline: clamp(1.25rem, 5vw, 4rem);
  }
  .hero h1 { font-size: clamp(3.8rem, 8.7vw, 6rem); }
  .story { grid-template-columns: 1fr; }
  .story-heading { position: static; }
  .story-heading h2 { max-width: 740px; }
}

@media (max-width: 680px) {
  .landing-header { min-height: 66px; gap: .75rem; padding: .65rem .8rem; }
  .author-name { font-size: 1.05rem; }
  .button-compact { min-height: 42px; padding: .7rem .85rem; font-size: .58rem; letter-spacing: .08em; }
  .hero {
    grid-template-columns: 1fr;
    gap: 2.35rem;
    padding: 2.4rem 1.2rem 3.5rem;
  }
  .cover-column { order: 2; justify-self: center; width: min(76vw, 330px); }
  .hero-copy { order: 1; }
  .hero h1 { font-size: clamp(4.2rem, 19vw, 6.6rem); }
  .hero blockquote { margin-top: 1.9rem; }
  .purchase-block { align-items: stretch; flex-direction: column; }
  .button-primary { width: 100%; }
  .purchase-block > p { align-items: center; text-align: center; }
  .tension-strip { grid-template-columns: 1fr; }
  .tension-strip p { padding: 1rem; text-align: left; }
  .tension-strip p + p { border-top: 1px solid rgba(13, 12, 11, .2); border-left: 0; }
  .story { padding-block: 5rem; }
  .story h2 { font-size: clamp(3rem, 13vw, 4.4rem); }
  .decision { min-height: 570px; }
  .landing-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .landing-footer p { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
