@font-face {
  font-family: School Sans;
  src: url("/assets/fonts/sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: School Hand;
  src: url("/assets/fonts/hand.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --paper: #faf7ef;
  --ink: #193c4d;
  --red: #b93b30;
  --yellow: #f6ca55;
  --line: #dcded5;
  --muted: #51616a;
  --hand: "School Hand", "Segoe Print", cursive;
  --sans: "School Sans", "Trebuchet MS", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 35px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
}
button {
  font: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(48px, 5.9vw, 82px);
  font-weight: 800;
  margin-bottom: 30px;
}
h2 {
  font-size: clamp(34px, 3.4vw, 47px);
  font-weight: 800;
  margin-bottom: 24px;
}
h3 {
  font-size: 29px;
}
p {
  margin-bottom: 20px;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 5px;
}
main:focus {
  outline: none;
}
.wrap {
  width: min(1180px, calc(100% - 96px));
  margin: auto;
}
.narrow {
  width: min(760px, calc(100% - 48px));
  margin: auto;
}
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.6;
  margin-bottom: 25px;
}
.ink-red {
  color: var(--red);
}
.highlight {
  background: linear-gradient(
    transparent 62%,
    var(--yellow) 62%,
    var(--yellow) 94%,
    transparent 94%
  );
}
.handwritten {
  font-family: var(--hand);
  font-size: 25px;
  line-height: 1.4;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 16px 23px;
  background: var(--ink);
  color: white;
  border: 2px solid var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border-radius: 3px;
  line-height: 1.4;
  transition:
    transform 0.15s,
    background 0.15s;
}
.button:hover {
  background: #28576a;
  transform: translateY(-2px);
}
.button-small {
  padding: 11px 15px;
  font-size: 12px;
  gap: 20px;
}
.text-link {
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 6px;
  display: inline-block;
}
.actions {
  display: flex;
  gap: 27px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.site-header {
  width: min(1370px, calc(100% - 80px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 800;
}
.brand strong {
  display: block;
  font-size: 17px;
  letter-spacing: -0.035em;
  line-height: 1.3;
}
.brand-icon {
  font-family: var(--hand);
  font-weight: bold;
  font-size: 38px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  height: 43px;
  width: 43px;
  line-height: 39px;
  text-align: center;
  transform: rotate(-12deg);
  background: var(--yellow);
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav > a:not(.button) {
  font-size: 12px;
  text-decoration: none;
  font-weight: 700;
  padding: 8px 0;
}
nav > a.active:not(.button),
nav > a:not(.button):hover {
  box-shadow: 0 2px var(--red);
}
.menu-toggle {
  display: none;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  background: var(--ink);
  color: white;
  padding: 10px;
  z-index: 99;
}
.skip-link:focus {
  top: 10px;
}
.hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 75px;
  padding: 78px 0 66px;
  min-height: 710px;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}
.red-dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: var(--red);
}
.hero-description {
  max-width: 440px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.75;
}
.hero-note {
  font-family: var(--hand);
  font-size: 24px;
  transform: rotate(-2deg);
  margin-top: 22px;
  margin-left: 25px;
  color: var(--muted);
}
.hero-note span {
  font-size: 34px;
  vertical-align: middle;
  margin-right: 8px;
}
.book-stage {
  position: relative;
  isolation: isolate;
  padding: 25px 25px 30px;
  text-align: center;
}
.book-stage:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 5% -10% 7%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    #e9dcbf 0%,
    #f0e7d6 47%,
    transparent 70%
  );
}
.cover-link {
  display: block;
  width: min(100%, 315px);
  margin: 0 auto;
  transform: rotate(6deg);
  transition: transform 0.2s;
}
.cover-link:hover {
  transform: rotate(2deg);
}
.cover-link img {
  box-shadow:
    10px 18px 0 -8px #c7b79b,
    17px 24px 36px #193c4d25;
  border-radius: 2px;
}
.case-stamp {
  position: absolute;
  z-index: 2;
  top: 2px;
  left: -16px;
  transform: rotate(-10deg);
  font: 800 17px var(--sans);
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 3px;
  line-height: 1.5;
  padding: 8px 16px;
  background: var(--paper);
}
.case-stamp small {
  font-size: 8px;
  letter-spacing: 0.16em;
}
.stage-note {
  position: absolute;
  right: -32px;
  bottom: 0;
  transform: rotate(-8deg);
  font: 25px/1.3 var(--hand);
  text-align: left;
}
.doodle-arrow {
  position: absolute;
  right: -23px;
  bottom: 61px;
  width: 95px;
  color: var(--red);
  transform: rotate(15deg);
}
.ticker {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  background: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  padding: 17px 24px;
  flex-wrap: wrap;
}
.ticker b {
  font-size: 19px;
}
.intro-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  padding: 90px 0 70px;
}
.intro-copy {
  padding-top: 28px;
  color: var(--muted);
}
.intro-copy .handwritten {
  color: var(--ink);
  transform: rotate(-2deg);
  margin-top: 24px;
}
.case-section {
  padding: 35px 0 85px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.section-heading .eyebrow {
  margin-bottom: 15px;
}
.outlined-tag {
  font-size: 10px;
  font-weight: 800;
  border: 1.5px solid var(--red);
  color: var(--red);
  letter-spacing: 0.1em;
  padding: 7px 11px;
  display: inline-block;
  transform: rotate(-4deg);
  white-space: nowrap;
}
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  background: #eeeade;
  border: 1px solid #ddd7c7;
  padding: 48px;
  align-items: center;
}
.clue-card {
  position: relative;
  padding: 26px 30px;
  background: repeating-linear-gradient(#fffaf0 0 30px, #c9d9dc 30px 31px);
  transform: rotate(-3deg);
  box-shadow: 0 6px 15px #193c4d12;
}
.clue-card:before {
  content: "";
  position: absolute;
  top: -13px;
  left: 36%;
  width: 110px;
  height: 28px;
  transform: rotate(4deg);
  background: #eac46f80;
}
.file-label {
  font-size: 9px;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.calendar-month {
  letter-spacing: 0.2em;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  margin: 24px 0 5px;
}
.calendar-number {
  font-size: 90px;
  line-height: 1.3;
  text-align: center;
  font-weight: 800;
  position: relative;
}
.circle-mark {
  position: absolute;
  width: 120px;
  height: 107px;
  border: 3px solid var(--red);
  border-radius: 48%;
  top: 7px;
  left: calc(50% - 60px);
  transform: rotate(-12deg);
}
.clue-card .handwritten {
  margin: 22px 0 18px;
  font-size: 25px;
}
.clue-footnote {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
}
.case-copy h3 {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 23px;
}
.case-copy h3 em {
  font-family: var(--hand);
  color: var(--red);
  font-style: normal;
  white-space: nowrap;
}
.case-copy p {
  font-size: 15px;
  color: var(--muted);
}
.crew-section {
  padding: 65px 0 90px;
  border-top: 1px solid var(--line);
}
.crew-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  margin-top: 45px;
}
.crew-grid article {
  border-top: 2px solid var(--ink);
  padding-top: 19px;
}
.crew-number {
  font-size: 9px;
  letter-spacing: 0.13em;
  font-weight: 800;
}
.crew-grid h3 {
  margin: 19px 0;
}
.crew-grid p {
  font-size: 15px;
  color: var(--muted);
}
.crew-grid .handwritten {
  font-size: 23px;
  color: var(--red);
}
.reader-strip {
  display: flex;
  justify-content: space-between;
  gap: 65px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.reader-strip > div {
  max-width: 665px;
}
.reader-strip .eyebrow {
  margin-bottom: 13px;
}
.reader-strip h2 {
  font-size: 31px;
  margin-bottom: 16px;
}
.reader-strip p:not(.eyebrow) {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 0;
}
.reader-strip .text-link {
  max-width: 190px;
}
.closing-note {
  text-align: center;
  margin-top: 50px;
  padding: 70px 24px;
  background: #e8ede6;
}
.closing-note h2 {
  font-size: 55px;
}
.closing-note p {
  color: var(--muted);
}
.site-footer {
  width: min(1180px, calc(100% - 96px));
  margin: auto;
  padding: 50px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
}
.footer-title {
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
}
.site-footer p {
  font-size: 12px;
  margin: 6px 0;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.footer-links a,
.footer-links .privacy-link {
  font-size: 11px;
  text-decoration: none;
}
.site-footer .copyright {
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 15px;
  font-size: 10px;
}
.book-detail {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 85px;
}
.detail-cover {
  padding: 10px 25px;
}
.detail-cover img {
  box-shadow: 10px 15px 25px #193c4d20;
  transform: rotate(-3deg);
}
.book-title {
  font-size: clamp(38px, 4.1vw, 57px);
  margin-bottom: 20px;
}
.byline {
  font-family: var(--hand);
  font-size: 28px;
}
.lead {
  font-size: 22px;
  line-height: 1.55;
  font-weight: 600;
}
.book-detail p:not(.eyebrow):not(.lead):not(.byline) {
  font-size: 15px;
  color: var(--muted);
}
.book-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 35px;
}
.book-facts dt {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.book-facts dd {
  font-size: 13px;
  margin: 4px 0;
}
.availability {
  padding: 60px;
  margin-bottom: 70px;
  background: #e8ede6;
  scroll-margin-top: 25px;
}
.availability h2 {
  font-size: 39px;
}
.text-page {
  padding: 90px 0 105px;
  min-height: 65vh;
}
.text-page h1 {
  font-size: 60px;
}
.text-page h2 {
  font-size: 25px;
  letter-spacing: -0.025em;
  margin-top: 40px;
}
.text-page p {
  color: var(--muted);
}
.author-links {
  margin: 36px 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.author-links h2 { font-size: clamp(25px, 3vw, 32px); }
.author-links ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.author-links a {
  display: block;
  height: 100%;
  padding: 20px;
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none;
}
.author-links a:hover { border-color: var(--ink); }
.author-link-label { display: flex; justify-content: space-between; gap: 20px; font-weight: 800; }
.author-link-description { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.author-note {
  background: #eeeade;
  padding: 32px;
  margin: 38px 0;
}
.author-note .handwritten {
  color: var(--ink);
  font-size: 30px;
}
.email-link {
  font-size: clamp(16px, 2.3vw, 23px);
  font-weight: 800;
  text-underline-offset: 9px;
  display: inline-block;
  margin: 12px 0 20px;
  overflow-wrap: anywhere;
}
.contact-topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  border-top: 1px solid var(--line);
}
.contact-topics p {
  font-size: 15px;
}
.small-note {
  font-size: 13px;
  margin-top: 30px;
}
.purchase-editions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  margin-top: 24px;
}
.purchase-edition {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper, #fffdf7);
  text-align: left;
}
.purchase-edition h3 {
  margin: 0;
}
.edition-title {
  min-height: 3em;
  font-size: 15px;
}
.retailer-row + .retailer-row {
  margin-top: 24px;
}
.other-markets {
  margin-top: 14px;
}
.other-markets summary {
  cursor: pointer;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.other-markets summary:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
.market-links {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.sample-page {
  padding: 65px 0 90px;
}
.back-link {
  display: inline-block;
  font-size: 13px;
  text-underline-offset: 4px;
  margin-bottom: 40px;
}
.sample-page h1 {
  font-size: 52px;
}
.sample-credit {
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.chapter-text {
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1.85;
}
.chapter-text p {
  margin-bottom: 25px;
}
.sample-end {
  border-top: 1px solid var(--line);
  padding-top: 45px;
  margin-top: 45px;
}
.sample-end h2 {
  margin-top: 30px;
  font-size: 35px;
}
@media (min-width: 1450px) {
  .hero {
    gap: 130px;
  }
}
@media (max-width: 1050px) {
  .site-header {
    width: calc(100% - 48px);
  }
  nav {
    gap: 18px;
  }
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 40px;
  }
  .stage-note {
    right: -10px;
    font-size: 22px;
  }
  .case-stamp {
    left: -12px;
  }
  .intro-section {
    gap: 45px;
  }
  .case-grid {
    gap: 45px;
    padding: 35px;
  }
  .site-footer {
    width: calc(100% - 64px);
  }
  .book-detail {
    gap: 45px;
  }
  .hero h1 {
    font-size: 52px;
  }
}
@media (max-width: 800px) {
  .site-header {
    position: relative;
    padding: 19px 0;
  }
  .menu-toggle {
    display: block;
    border: 1px solid var(--ink);
    background: transparent;
    font-size: 13px;
    padding: 7px 12px;
    border-radius: 3px;
  }
  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
  .site-header {
    flex-wrap: wrap;
  }
  .menu-toggle {
    display: none;
  }
  html.js .site-header {
    flex-wrap: nowrap;
  }
  html.js .menu-toggle {
    display: block;
  }
  html.js nav {
    display: none;
  }
  html.js nav.is-open {
    display: flex;
    position: absolute;
    left: -24px;
    right: -24px;
    top: 100%;
    flex-direction: column;
    background: var(--paper);
    padding: 25px;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 15px #193c4d10;
  }
  .hero {
    gap: 25px;
    padding: 55px 0;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .hero .actions {
    gap: 20px;
  }
  .hero .button {
    font-size: 12px;
    padding: 13px 16px;
    gap: 15px;
  }
  .book-stage {
    padding: 30px 0;
  }
  .case-stamp {
    font-size: 13px;
    left: -20px;
    top: 0;
  }
  .stage-note {
    right: 0;
    bottom: -23px;
  }
  .doodle-arrow {
    display: none;
  }
  .ticker {
    gap: 18px;
    font-size: 9px;
  }
  .ticker span:last-child,
  .ticker b:last-of-type {
    display: none;
  }
  .intro-section {
    padding: 65px 0 35px;
    gap: 35px;
  }
  .case-grid {
    gap: 30px;
    padding: 28px;
  }
  .clue-card {
    padding: 25px 16px;
  }
  .case-copy h3 {
    font-size: 27px;
  }
  .case-copy .button {
    font-size: 12px;
    padding: 13px 15px;
  }
  .crew-grid {
    gap: 25px;
  }
  .crew-grid h3 {
    font-size: 25px;
  }
  .crew-grid .handwritten {
    font-size: 20px;
  }
  .book-detail {
    grid-template-columns: 0.65fr 1fr;
    gap: 35px;
  }
  .book-title {
    font-size: 38px;
  }
  .book-detail .lead {
    font-size: 19px;
  }
  .detail-cover {
    padding: 0;
  }
  .availability {
    padding: 35px;
  }
  .footer-links {
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 42px;
    min-height: 0;
  }
  .hero h1 {
    font-size: clamp(45px, 10.8vw, 63px);
  }
  .hero-description {
    font-size: 17px;
  }
  .hero .eyebrow {
    font-size: 10px;
  }
  .hero .button {
    font-size: 14px;
    padding: 15px 20px;
  }
  .hero-note {
    font-size: 22px;
    margin-top: 17px;
  }
  .book-stage {
    width: 280px;
    margin: 5px auto 35px;
  }
  .cover-link {
    width: 235px;
  }
  .case-stamp {
    left: -15px;
  }
  .stage-note {
    right: -20px;
    font-size: 23px;
    bottom: -28px;
  }
  .ticker {
    gap: 11px;
    padding: 12px 14px;
    font-size: 8px;
    letter-spacing: 0.07em;
  }
  .ticker span:nth-of-type(2),
  .ticker b:nth-of-type(2) {
    display: none;
  }
  .intro-section {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 55px;
  }
  .intro-copy {
    padding-top: 0;
  }
  .intro-section h2 {
    margin-bottom: 25px;
  }
  .case-section {
    padding-bottom: 60px;
  }
  .section-heading {
    align-items: flex-start;
  }
  .section-heading h2 {
    font-size: 32px;
  }
  .outlined-tag {
    font-size: 9px;
    padding: 6px 8px;
  }
  .case-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 28px 24px;
  }
  .clue-card {
    padding: 25px;
    max-width: 320px;
    width: 100%;
    margin: auto;
  }
  .case-copy h3 {
    font-size: 31px;
  }
  .case-copy .button {
    font-size: 14px;
    padding: 15px 18px;
  }
  .crew-section {
    padding: 45px 0 50px;
  }
  .crew-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
  }
  .crew-grid h3 {
    font-size: 28px;
    margin: 14px 0;
  }
  .crew-grid .handwritten {
    font-size: 24px;
  }
  .reader-strip {
    display: block;
    padding: 35px 0;
  }
  .reader-strip .text-link {
    max-width: none;
    margin-top: 25px;
  }
  .closing-note {
    margin-top: 25px;
    padding: 50px 24px;
  }
  .closing-note h2 {
    font-size: 45px;
  }
  .site-footer {
    width: calc(100% - 40px);
    padding-top: 35px;
    gap: 22px;
  }
  .footer-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 22px;
  }
  .book-detail {
    display: flex;
    flex-direction: column;
    gap: 45px;
    padding: 45px 0;
  }
  .detail-cover {
    width: 230px;
    margin: auto;
  }
  .book-title {
    font-size: 41px;
  }
  .book-detail .eyebrow {
    font-size: 10px;
  }
  .book-facts {
    gap: 20px;
  }
  .availability {
    padding: 30px 24px;
  }
  .availability h2 {
    font-size: 33px;
  }
  .text-page {
    padding: 55px 0 70px;
  }
  .text-page h1 {
    font-size: 45px;
  }
  .lead {
    font-size: 20px;
  }
  .contact-topics {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-topics h2 {
    margin-top: 28px;
  }
  .sample-page {
    padding-top: 35px;
  }
  .sample-page h1 {
    font-size: 38px;
  }
  .chapter-text {
    font-size: 18px;
  }
  .sample-credit {
    line-height: 1.8;
  }
  .back-link {
    margin-bottom: 30px;
  }
  .author-note {
    padding: 25px;
  }
  .author-note .handwritten {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}

@media (min-width: 601px) and (max-width: 800px) {
  .hero h1 {
    font-size: clamp(38px, 6.4vw, 51px);
  }
  .hero {
    min-height: 0;
  }
  .hero-note {
    font-size: 21px;
  }
}
@media (max-width: 360px) {
  .site-header {
    gap: 12px;
  }
  .brand {
    gap: 8px;
  }
  .brand strong {
    font-size: 14px;
  }
  .brand small {
    font-size: 8px;
  }
  .brand-icon {
    width: 35px;
    height: 35px;
    font-size: 32px;
    line-height: 31px;
    flex-shrink: 0;
  }
  .book-stage {
    width: min(280px, calc(100% - 20px));
  }
  .stage-note {
    right: -5px;
  }
  .hero-note {
    margin-left: 0;
  }
}
.contact-form {
  display: grid;
  gap: 0.8rem;
  margin: 2rem 0;
}
.contact-form > label {
  font-weight: 700;
}
.contact-form input:not([type="checkbox"]),
.contact-form textarea {
  width: 100%;
  padding: 0.85rem;
  border: 1px solid var(--ink, #193c4d);
  border-radius: 6px;
  font: inherit;
  background: #fffdf8;
  color: #193c4d;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form .adult-check {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: #fff2c7;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.6;
  cursor: pointer;
}
.adult-check input {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin: 0.15rem 0 0;
  accent-color: var(--ink);
  cursor: pointer;
}
.adult-check:focus-within {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}
.adult-check a {
  text-underline-offset: 3px;
}
.contact-form .button {
  justify-self: start;
}
.contact-form button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.honeypot {
  position: absolute;
  left: -10000px;
}
#contact-status {
  margin: 0;
  min-height: 1.5em;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 3px solid var(--red, #b83d31);
  outline-offset: 3px;
}

/* Optional analytics controls: equal-weight choices and keyboard-accessible native dialog. */
[hidden] {
  display: none !important;
}
.privacy-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 10px max(20px, calc((100vw - 1180px) / 2));
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.privacy-banner p {
  margin: 0;
  max-width: 540px;
  font-size: 12px;
  line-height: 1.5;
}
.privacy-banner .privacy-actions {
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
}
.privacy-banner .privacy-actions button {
  padding: 7px 10px;
  font-size: 12px;
}
html.privacy-banner-open {
  overflow: hidden;
}
.privacy-banner-open .page-content {
  height: calc(100dvh - var(--privacy-banner-height));
  overflow-y: auto;
  scroll-padding-bottom: 16px;
}
@media (max-width: 1000px) {
  .privacy-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .privacy-banner .privacy-actions {
    flex-shrink: 1;
  }
}
.privacy-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.privacy-actions button,
.privacy-link {
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 6px;
  padding: 10px 14px;
  cursor: pointer;
}
.privacy-link {
  padding: 0;
  border: 0;
  text-decoration: underline;
  text-align: left;
}
.privacy-actions .privacy-details-link {
  border: 0;
  padding: 10px 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-actions button:focus-visible,
.privacy-link:focus-visible,
.privacy-dialog :focus-visible {
  outline: 3px solid #2d6cdf;
  outline-offset: 3px;
}
.privacy-dialog {
  width: min(540px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.privacy-dialog::backdrop {
  background: #0006;
}
.privacy-dialog h2 {
  margin: 0 0 16px;
  font-size: 26px;
}
.privacy-dialog label {
  display: block;
  margin: 16px 0;
}
.privacy-dialog input {
  margin-right: 8px;
}
.privacy-dialog select {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  font: inherit;
}
.privacy-dialog p {
  font-size: 15px;
}
.privacy-status {
  min-height: 1.5em;
}
.contact-fields {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  display: grid;
  gap: 12px;
}

/* A language choice links to the equivalent page, including book samples. */
.review-highlight { padding: 48px 0; }
.review-card { padding: clamp(24px, 4vw, 48px); background: #fffdf7; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 4px; }
.review-card-compact { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px 42px; }
.review-source { display: flex; gap: 20px; align-items: center; }
.review-source .eyebrow { margin: 0 0 4px; }
.review-seal { width: 90px; height: 90px; flex: 0 0 90px; object-fit: contain; }
.review-rating { font-weight: 800; margin: 0 0 4px; font-size: 15px; }
.review-rating span { color: var(--red); letter-spacing: 2px; }
.review-source .small-note { margin: 0; line-height: 1.5; }
.review-card blockquote { margin: 24px 0; }
.review-card blockquote p { font-size: clamp(23px, 2.5vw, 32px); font-weight: 600; line-height: 1.45; letter-spacing: -.025em; margin-bottom: 15px; }
.review-card blockquote footer { font-size: 14px; color: var(--muted); }
.review-card-compact blockquote { margin: 0; }
.review-card-compact .review-links { grid-column: 2; }
.review-links { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.review-links time { font-size: 13px; color: var(--muted); }
.press-intro { padding: 72px 0 40px; }
.press-intro h1 { margin-bottom: 22px; }
.press-intro .lead { max-width: 700px; }
.press-reviews { display: grid; gap: 28px; }
.press-reviews .review-card h2 { font-size: clamp(25px, 3vw, 38px); margin: 28px 0 0; max-width: 820px; }
.review-social { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 25px; }
.review-social h3 { font-size: 18px; letter-spacing: -.02em; margin-bottom: 8px; }
.review-social p { font-size: 14px; color: var(--muted); }
.review-social ul { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.review-social a { display: block; padding: 9px 18px; border: 1px solid var(--line); border-radius: 3px; text-decoration: none; font-size: 14px; font-weight: 700; }
.review-social a:hover { border-color: var(--ink); }
.press-news { padding: 60px 0 80px; }
.press-announcement { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; border-top: 1px solid var(--line); padding: 30px 0; }
.press-announcement h2 { font-size: clamp(26px, 3vw, 36px); }
.press-download { align-self: center; }
.press-download .button { margin-bottom: 16px; }
@media (max-width: 800px) {
  .review-card-compact, .press-announcement { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .review-card-compact .review-links { grid-column: auto; }
  .review-highlight { padding: 30px 0; }
  .press-intro { padding: 48px 0 24px; }
}
.language-switch {
  white-space: nowrap;
  font-weight: 700;
}
html[lang="es"] .hero h1 {
  font-size: clamp(36px, 4.5vw, 66px);
}
html[lang="es"] .brand strong {
  font-size: 12px;
}
@media (min-width: 761px) {
  html[lang="es"] .site-header nav {
    gap: 14px;
  }
}
