:root {
  --cream: #fffaf0;
  --paper: #fffdf8;
  --ink: #313044;
  --teal: #178c91;
  --teal-dark: #0f686f;
  --coral: #ee7468;
  --purple: #8c63ae;
  --gold: #e4a91c;
  --yellow: #ffe397;
  --line: rgba(49,48,68,.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Trebuchet MS", "Avenir Next", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header {
  min-height: 92px;
  padding: .65rem clamp(1rem, 5vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(255,253,248,.96);
  border-bottom: 1px solid var(--line);
}
.brand img { width: 76px; height: 76px; object-fit: contain; }
nav { display: flex; gap: clamp(1rem, 4vw, 2.5rem); font-weight: 800; }
nav a { text-decoration: none; padding: .65rem .15rem; }
nav a:hover, nav a:focus-visible { color: var(--teal-dark); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: clamp(4rem, 9vw, 8rem) clamp(1.4rem, 8vw, 8rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .8fr);
  align-items: center;
  gap: 3rem;
  background: linear-gradient(120deg, #fff2b4 0%, #ffe7cf 45%, #e4f8f4 100%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 440px; height: 440px;
  left: -170px; bottom: -280px;
  border: 90px solid rgba(238,116,104,.18);
  border-radius: 50%;
}
.hero-copy { position: relative; z-index: 1; max-width: 720px; }
.eyebrow { margin: 0 0 .75rem; color: var(--teal-dark); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; }
h1, h2, h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.08; }
h1 { margin-bottom: 1.5rem; font-size: clamp(3.6rem, 8.5vw, 7.4rem); letter-spacing: -.055em; color: var(--purple); }
.hero-copy > p:not(.eyebrow) { max-width: 620px; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.button {
  display: inline-flex; align-items: center; gap: .7rem;
  margin-top: 1.25rem; padding: .9rem 1.3rem;
  color: white; background: var(--teal-dark); border-radius: 999px;
  font-weight: 900; text-decoration: none; box-shadow: 0 8px 0 rgba(15,104,111,.15);
}
.button:hover, .button:focus-visible { background: var(--purple); transform: translateY(-2px); }
.hero-mark { position: relative; }
.hero-mark::before { content: ""; position: absolute; inset: 9% -7% -2% 7%; background: rgba(255,255,255,.62); border-radius: 50%; transform: rotate(7deg); }
.hero-mark img { position: relative; filter: drop-shadow(0 24px 30px rgba(97,66,67,.15)); }

.books-section { padding: clamp(4rem, 9vw, 8rem) clamp(1.4rem, 7vw, 7rem); }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto clamp(4rem, 8vw, 7rem); }
h2 { margin-bottom: 1rem; font-size: clamp(2.4rem, 5vw, 4.6rem); color: var(--teal-dark); letter-spacing: -.035em; }
.book {
  max-width: 1120px;
  margin: 0 auto clamp(6rem, 12vw, 10rem);
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: center;
}
.book.reverse .cover-frame { order: 2; }
.book.reverse .book-copy { order: 1; }
.cover-frame {
  width: min(100%, 465px);
  aspect-ratio: 1 / 1;
  padding: 1rem;
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(49,48,68,.15), 0 0 0 1px var(--line);
  transform: rotate(-1.5deg);
}
.reverse .cover-frame { transform: rotate(1.5deg); }
.cover-frame.yellow { background: #ffe79d; }
.cover-frame.orange { background: #ffb06b; }
.cover-frame.teal { background: #85ddd8; }
.cover-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 21px; }
.book-number { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 2px solid var(--coral); border-radius: 50%; color: var(--coral); font-weight: 900; }
.book-type { margin: 1.2rem 0 .5rem; color: var(--purple); font-weight: 900; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
h3 { margin-bottom: 1.25rem; font-size: clamp(2.25rem, 4.7vw, 4.25rem); color: var(--ink); letter-spacing: -.035em; }
.book-copy > p:not(.book-type) { max-width: 630px; font-size: 1.08rem; }
.perfect-for { padding-left: 1rem; border-left: 4px solid var(--gold); font-weight: 800; }
.amazon-button {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-top: 1.15rem;
  padding: .9rem 1.35rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: .94rem;
  font-weight: 900;
  letter-spacing: .055em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.amazon-button:hover, .amazon-button:focus-visible {
  background: #ffd665;
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(3px, 3px);
}

.about {
  padding: clamp(3rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: minmax(180px, 330px) minmax(0, 760px);
  justify-content: center;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  background: #e8f8f5;
}
.about-mark img { filter: drop-shadow(0 18px 24px rgba(15,104,111,.12)); }
.about p:last-child { font-size: 1.12rem; }

footer { padding: 3rem 1.5rem; text-align: center; background: var(--ink); color: white; }
footer img { width: 110px; margin: 0 auto 1rem; }
footer p { margin: .3rem 0; }
.copyright { opacity: .65; font-size: .85rem; }

@media (max-width: 760px) {
  .site-header { min-height: 74px; }
  .brand img { width: 60px; height: 60px; }
  nav a { font-size: .92rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 3.5rem; text-align: center; }
  .hero-copy { margin: 0 auto; }
  .hero-mark { width: min(82vw, 410px); margin: 0 auto; }
  .book, .about { grid-template-columns: 1fr; }
  .cover-frame { margin: 0 auto; }
  .book.reverse .cover-frame, .book.reverse .book-copy { order: initial; }
  .book-copy { text-align: center; }
  .book-copy > p:not(.book-type) { margin-left: auto; margin-right: auto; }
  .perfect-for { border-left: 0; border-top: 4px solid var(--gold); padding: 1rem 0 0; }
  .about { text-align: center; }
  .about-mark { width: min(60vw, 260px); margin: 0 auto; }
}

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