:root {
  --ink: #101820;
  --navy: #101d28;
  --navy-soft: #1b2c38;
  --cream: #fffaf0;
  --paper: #f7ecd7;
  --gold: #e4a427;
  --gold-light: #ffd979;
  --turquoise: #12c9cf;
  --coral: #d75c3f;
  --muted: #665d51;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 217, 121, 0.44), transparent 26rem),
    linear-gradient(135deg, #073f47 0%, #08727a 48%, #0aa8ac 100%);
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(255,255,255,.35) 6px),
    repeating-linear-gradient(90deg, transparent 0 6px, rgba(0,0,0,.22) 7px);
}

.stitch-line {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  height: 9px;
  border-top: 2px dashed rgba(255,255,255,.55);
  border-bottom: 2px dashed rgba(255,255,255,.35);
}

.stitch-line--top {
  top: 26px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  min-height: 720px;
  margin: auto;
  padding: 80px 0 70px;
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.cover-stage {
  position: relative;
  justify-self: center;
}

.cover-halo {
  position: absolute;
  inset: 7% -18% -5%;
  background: rgba(255, 210, 97, .46);
  filter: blur(45px);
  border-radius: 50%;
}

.hero-cover {
  position: relative;
  display: block;
  width: min(365px, 75vw);
  height: auto;
  border-radius: 4px;
  box-shadow: 0 30px 70px rgba(0, 18, 23, .52), 12px 12px 0 rgba(255,255,255,.15);
  transform: rotate(-1.3deg);
}

.series-tab {
  position: absolute;
  right: -28px;
  bottom: 42px;
  background: var(--gold-light);
  color: var(--navy);
  padding: 11px 18px;
  font: 800 13px/1 Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  transform: rotate(2deg);
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

.eyebrow,
.section-kicker {
  margin: 0 0 17px;
  font: 800 13px/1.2 Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .19em;
}

.eyebrow {
  color: var(--gold-light);
}

.section-kicker {
  color: #a2552d;
}

h1,
h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -.035em;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(46px, 6.3vw, 78px);
  line-height: .98;
  text-wrap: balance;
}

.standfirst {
  max-width: 660px;
  margin: 27px 0 31px;
  color: #f6fcfa;
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.52;
}

.amazon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: 235px;
  padding: 16px 22px;
  border: 2px solid #111;
  border-radius: 3px;
  background: var(--gold-light);
  color: #101820;
  box-shadow: 5px 5px 0 #101820;
  text-decoration: none;
  font: 800 16px/1 Arial, sans-serif;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.amazon-button:hover,
.amazon-button:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 #101820;
  background: #ffe59b;
}

.amazon-button span {
  font-size: 24px;
}

.amazon-button--dark {
  border-color: var(--gold-light);
  background: var(--gold-light);
  box-shadow: 5px 5px 0 rgba(0,0,0,.42);
}

.availability {
  margin: 18px 0 0;
  font: 14px/1.5 Arial, sans-serif;
  color: rgba(255,255,255,.84);
}

.promise-section {
  padding: 100px 20px;
  background:
    linear-gradient(rgba(255,250,240,.95), rgba(255,250,240,.95)),
    repeating-linear-gradient(45deg, #d8c39c 0 1px, transparent 1px 8px);
}

.narrow {
  max-width: 820px;
  margin: auto;
}

.promise-section h2,
.reader-section h2,
.details-section h2,
.series-section h2,
.final-cta h2 {
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.07;
}

.promise-section p:not(.section-kicker),
.details-section p:not(.section-kicker),
.final-cta p:not(.eyebrow):not(.availability) {
  font-size: 19px;
  line-height: 1.75;
  color: var(--muted);
}

.lead-copy {
  margin-top: 32px;
}

.reader-section {
  padding: 0 20px 100px;
  background: var(--cream);
}

.reader-card {
  max-width: 1060px;
  margin: auto;
  padding: clamp(35px, 6vw, 72px);
  border: 1px solid #d9c39d;
  background: var(--paper);
  box-shadow: 12px 12px 0 #ead7b5;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.reader-card ul {
  margin: 3px 0 0;
  padding: 0;
  list-style: none;
  font: 17px/1.55 Arial, sans-serif;
}

.reader-card li {
  position: relative;
  padding: 0 0 18px 35px;
}

.reader-card li::before {
  content: "✂";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--coral);
  font-size: 19px;
}

.details-section {
  background: var(--navy);
  color: white;
  padding: 105px 20px;
}

.details-grid {
  width: min(1050px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: clamp(45px, 8vw, 100px);
  align-items: center;
}

.details-section p:not(.section-kicker) {
  color: #d8e0df;
}

.flamingo-card {
  min-height: 340px;
  padding: 48px 35px;
  border: 2px dashed var(--gold);
  display: grid;
  place-content: center;
  text-align: center;
  background: #162a36;
  transform: rotate(-1.5deg);
}

.flamingo-card .flamingo {
  color: var(--gold-light);
  font-size: 45px;
}

.flamingo-card p {
  margin: 20px 0 0;
  font: italic 24px/1.55 Georgia, serif;
}

.series-section {
  padding: 105px 20px 115px;
  background: #f2e3c7;
}

.series-heading {
  max-width: 850px;
  margin: 0 auto 55px;
  text-align: center;
}

.book-row {
  width: min(1220px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: end;
}

.book-card {
  margin: 0;
  text-align: center;
}

.book-card img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 15px 30px rgba(48, 38, 23, .2);
  transition: transform .2s ease;
}

.book-card:hover img {
  transform: translateY(-7px);
}

.book-card figcaption {
  margin-top: 14px;
  color: #776b59;
  font: 700 11px/1 Arial, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.book-card--first img {
  outline: 4px solid var(--turquoise);
  outline-offset: 5px;
}

.book-card--first figcaption {
  color: #007c83;
}

.final-cta {
  padding: 105px 20px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(18,201,207,.2), transparent 35rem),
    var(--navy);
  color: white;
}

.final-cta > div {
  max-width: 760px;
  margin: auto;
}

.final-cta p:not(.eyebrow):not(.availability) {
  color: #d8e0df;
}

.final-cta .amazon-button {
  margin-top: 15px;
}

footer {
  padding: 28px 20px;
  background: #08121a;
  color: #9ba7ad;
  text-align: center;
  font: 12px/1.5 Arial, sans-serif;
  letter-spacing: .08em;
}

.redirect-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 35px 20px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,217,121,.32), transparent 24rem),
    linear-gradient(135deg, #073f47, #0a989d);
}

.redirect-card {
  width: min(650px, 100%);
  padding: clamp(35px, 7vw, 70px);
  background: var(--cream);
  color: var(--navy);
  text-align: center;
  box-shadow: 14px 14px 0 rgba(2,29,34,.36);
}

.redirect-card img {
  width: 135px;
  height: auto;
  margin: 0 auto 28px;
  box-shadow: 0 13px 28px rgba(0,0,0,.2);
}

.redirect-card .eyebrow {
  color: #a2552d;
}

.redirect-card h1 {
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.03;
}

.redirect-card > p:not(.eyebrow):not(.redirect-note) {
  margin: 24px auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.redirect-note {
  margin: 20px 0 0;
  color: #746c61;
  font: 13px/1.5 Arial, sans-serif;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 90px;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .reader-card,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .flamingo-card {
    min-height: 240px;
  }

  .book-row {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 42px;
  }
}

@media (max-width: 560px) {
  .hero-inner {
    width: min(100% - 28px, 1160px);
    gap: 48px;
  }

  .hero-cover {
    width: min(285px, 73vw);
  }

  .series-tab {
    right: -10px;
    bottom: 28px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .standfirst {
    font-size: 18px;
  }

  .promise-section,
  .details-section,
  .series-section,
  .final-cta {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .reader-section {
    padding-bottom: 75px;
  }

  .reader-card {
    padding: 34px 25px;
    gap: 35px;
  }

  .book-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
