@font-face { font-family: "Atkinson"; src: url("fonts/atkinson-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("fonts/atkinson-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("fonts/atkinson-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }

:root {
  --cream: #fbf6ee;
  --paper: #ffffff;
  --ink: #1e2d3d;
  --muted: #55606c;
  --coral: #d9573f;
  --coral-dark: #b4432e;
  --gold: #f2b84b;
  --green: #1f5c3a;
  --line: #eadfcf;
  --radius: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Atkinson", Verdana, sans-serif;
  font-size: 1.1875rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 10; }

/* header */
.site-header { background: var(--ink); color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px; background: var(--gold); color: var(--ink);
  display: grid; place-items: center; font: 700 26px Georgia, serif;
}
.logo-text { font-weight: 700; font-size: 1.25rem; letter-spacing: .04em; }
nav { display: flex; gap: 22px; }
nav a { color: #fff; text-decoration: none; font-weight: 700; }
nav a:hover, nav a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

/* buttons */
.btn {
  display: inline-block; background: var(--coral); color: #fff; text-decoration: none; font-weight: 700;
  padding: 12px 22px; border-radius: 999px; transition: background .15s;
}
.btn:hover, .btn:focus-visible { background: var(--coral-dark); }
.btn-large { font-size: 1.2rem; padding: 15px 30px; }
.link { font-weight: 700; }

/* hero */
.hero { padding: 64px 0 56px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.eyebrow, .kind { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .85rem; color: var(--coral-dark); margin: 0 0 .6em; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.lede { font-size: 1.3rem; color: var(--muted); margin: 0 0 1.4em; }
.hero-covers { position: relative; height: 440px; }
.hero-covers img {
  position: absolute; width: 56%; border-radius: 6px;
  box-shadow: 0 18px 40px rgba(30, 45, 61, .25);
}
.hero-covers img:nth-child(1) { left: 0; top: 40px; transform: rotate(-7deg); }
.hero-covers img:nth-child(2) { left: 22%; top: 0; z-index: 2; }
.hero-covers img:nth-child(3) { right: 0; top: 50px; transform: rotate(6deg); }

/* promises */
.promises { background: var(--paper); border-block: 1px solid var(--line); padding: 40px 0; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.promise-grid h2 { font-size: 1.25rem; color: var(--green); }
.promise-grid p { margin: 0; color: var(--muted); }

/* books */
.books { padding: 64px 0; }
.section-title { font-size: 2rem; margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-cover { background: #efe6d8; padding: 24px 32px 0; }
.card-cover img { border-radius: 4px 4px 0 0; box-shadow: 0 8px 22px rgba(30, 45, 61, .2); transition: transform .2s; }
.card-cover:hover img { transform: translateY(-4px); }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.3rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card-body > p:not(.kind) { color: var(--muted); }
.card-actions { margin-top: auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* coming soon */
.coming { padding: 0 0 72px; }
.coming-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.coming-list li { background: var(--paper); border: 1px dashed #d4c4ab; border-radius: 999px; padding: 8px 18px; font-weight: 700; }

/* book page */
.book { padding: 56px 0; }
.book-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.book-cover img { border-radius: 6px; box-shadow: 0 22px 50px rgba(30, 45, 61, .28); }
.book-info h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.subtitle { font-size: 1.2rem; color: var(--muted); }
.hook { font-size: 1.35rem; font-weight: 700; color: var(--accent, var(--coral-dark)); margin: 1.2em 0 .4em; }
.small { font-size: .95rem; color: var(--muted); }
.details { background: var(--paper); border-block: 1px solid var(--line); padding: 56px 0; }
.details-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.details h2 { font-size: 1.6rem; }
.ticks, .levels { padding: 0; list-style: none; margin: 0 0 2em; }
.ticks li { position: relative; padding-left: 36px; margin-bottom: 12px; }
.ticks li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 14px; display: grid; place-items: center; font-weight: 700;
}
.levels li { margin-bottom: 8px; }
.sample { margin: 0; }
.sample img { border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 10px 28px rgba(30, 45, 61, .14); }
.sample figcaption { font-size: .95rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* text pages */
.prose { max-width: 760px; padding-top: 56px; padding-bottom: 72px; }
.prose h1 { font-size: 2.6rem; }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }

/* footer */
.site-footer { background: var(--ink); color: #d7dde3; padding: 40px 0; font-size: 1rem; }
.site-footer a { color: var(--gold); }
.footer-brand { font-weight: 700; color: #fff; font-size: 1.2rem; }
.legal { font-size: .875rem; color: #aeb7c0; }

@media (max-width: 860px) {
  .hero { padding: 40px 0; }
  .hero-inner, .book-inner, .details-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-covers { height: 300px; max-width: 440px; }
  .grid, .grid-2 { grid-template-columns: 1fr; max-width: 460px; }
  .promise-grid { grid-template-columns: 1fr; gap: 20px; }
  .book-cover { max-width: 380px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .logo-text { font-size: 1.05rem; }
  nav { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
