:root {
  --ink: #171714;
  --ink-soft: #5f5c54;
  --paper: #f6f1e7;
  --paper-deep: #ebe2d2;
  --white: #fffdf8;
  --coral: #f65d43;
  --coral-dark: #c83d29;
  --navy: #17233b;
  --mint: #dceee4;
  --line: rgba(23, 23, 20, 0.15);
  --shadow: 0 18px 50px rgba(43, 34, 21, 0.12);
  --radius: 22px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.muted {
  color: var(--ink-soft);
}

img {
  max-width: 100%;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

button,
input,
select,
textarea {
  font: inherit;
}

input[type="text"],
input[type="email"],
input[type="search"],
input[type="number"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}

label {
  display: block;
  margin: 14px 0 6px;
  font-size: 13px;
  font-weight: 800;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.main {
  flex: 1;
  padding: 32px 0 80px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 241, 231, 0.93);
  backdrop-filter: blur(14px);
}

.site-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1.4px;
}

.wordmark-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--coral-dark);
}

.nav-cta {
  border-radius: 999px;
  padding: 10px 17px;
  background: var(--ink);
  color: var(--white) !important;
}

.flash {
  margin: 0 0 24px;
  padding: 13px 16px;
  border: 1px solid #e7bf77;
  border-radius: 12px;
  background: #fff4d7;
  color: #654b16;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 510px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 70px;
  align-items: center;
  padding: 60px 42px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 22%, rgba(255, 171, 106, 0.5), transparent 24%),
    radial-gradient(circle at 72% 92%, rgba(115, 160, 184, 0.34), transparent 30%),
    var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -84px;
  top: -106px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.hero-copy,
.hero-art {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ff9f87;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 7.2vw, 92px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.hero-lede {
  max-width: 620px;
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.hero-search,
.catalogue-search {
  display: flex;
  gap: 8px;
  padding: 7px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.hero-search input,
.catalogue-search input {
  flex: 1;
  min-width: 0;
  padding: 13px 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.btn-primary,
.btn-secondary,
.btn-quiet,
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 0;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
}

.btn {
  background: var(--ink);
  color: #fff;
}

.btn.secondary {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.btn.small {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 12px;
}

.btn-primary:hover {
  background: var(--coral-dark);
}

.btn-primary:disabled {
  cursor: not-allowed;
  background: #d4cec3;
  color: #716b61;
}

.btn-secondary {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.btn-quiet {
  background: var(--paper-deep);
  color: var(--ink);
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.hero-note li::before {
  content: "✓";
  margin-right: 7px;
  color: #b8e4cb;
  font-weight: 900;
}

.hero-art {
  min-height: 370px;
}

.hero-stack {
  position: absolute;
  inset: 0;
}

.hero-stack .mini-cover {
  position: absolute;
  width: 190px;
  aspect-ratio: 3 / 4;
  padding: 20px;
  border-radius: 8px;
  background: linear-gradient(145deg, hsl(var(--tone) 42% 88%), hsl(var(--tone) 45% 69%));
  color: #171714;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.28);
  transform: rotate(-8deg);
}

.hero-stack .mini-cover:nth-child(1) {
  left: 14%;
  top: 20%;
  z-index: 3;
  transform: rotate(-7deg);
}

.hero-stack .mini-cover:nth-child(2) {
  right: 0;
  top: 3%;
  z-index: 2;
  transform: rotate(9deg);
  opacity: 0.9;
}

.hero-stack .mini-cover:nth-child(3) {
  right: 19%;
  bottom: 0;
  z-index: 1;
  transform: rotate(2deg);
  opacity: 0.8;
}

.mini-cover .cover-kicker {
  display: block;
  margin-bottom: 18px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.mini-cover strong {
  display: -webkit-box;
  overflow: hidden;
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1.08;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

.mini-cover small {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  font-size: 9px;
  font-weight: 800;
}

.section {
  margin-top: 68px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h2,
.catalogue-title h1,
.buy-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.04em;
}

.section-heading h2 {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.text-link {
  flex: none;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 20px;
}

.book-card {
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.book-card:hover .cover-wrap {
  transform: translateY(-5px) rotate(-0.4deg);
  box-shadow: 0 22px 42px rgba(43, 34, 21, 0.2);
}

.cover-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  margin-bottom: 14px;
  border-radius: 8px;
  background: linear-gradient(145deg, hsl(var(--tone) 42% 90%), hsl(var(--tone) 45% 67%));
  box-shadow: 0 12px 26px rgba(43, 34, 21, 0.14);
  transition: 180ms ease;
}

.cover-wrap::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8%;
  background: rgba(0, 0, 0, 0.08);
  box-shadow: inset -2px 0 rgba(255, 255, 255, 0.18);
}

.cover-wrap::after {
  content: "";
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  right: -30%;
  bottom: -26%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
}

.cover-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12% 12% 11% 17%;
}

.cover-format {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cover-title {
  display: -webkit-box;
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.07;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

.cover-author {
  overflow: hidden;
  font-size: 9px;
  font-weight: 800;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.book-card-title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 3px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.book-card-author {
  overflow: hidden;
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.book-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.format-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.format-tag {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--paper-deep);
  color: #554f43;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-price {
  flex: none;
  font-weight: 800;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 64px;
}

.promise {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.promise:nth-child(2) {
  background: var(--mint);
}

.promise:nth-child(3) {
  background: #f1dcd3;
}

.promise-number {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
}

.promise h3 {
  margin: 32px 0 8px;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 400;
}

.promise p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.catalogue-head {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 0.58fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 38px;
}

.card {
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--paper-deep);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge.ok {
  background: var(--mint);
  color: #174d31;
}

.badge.warn {
  background: #fff0c2;
  color: #765400;
}

.badge.bad {
  background: #f9d8d5;
  color: #8a241d;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.stat b,
.stat span {
  display: block;
}

.stat b {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}

.stat span {
  color: var(--ink-soft);
  font-size: 12px;
}

table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 13px;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.asset-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.asset-list li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.catalogue-title h1 {
  margin-top: 8px;
  font-size: clamp(46px, 7vw, 78px);
  font-weight: 400;
  line-height: 0.98;
}

.catalogue-title p {
  margin: 16px 0 0;
  color: var(--ink-soft);
}

.catalogue-search {
  position: relative;
  border: 1px solid var(--line);
  box-shadow: none;
}

.catalogue-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.catalogue-tools a {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.catalogue-tools a.active {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 44px;
}

.pagination a,
.pagination span {
  min-width: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.pagination .current {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.empty-state {
  padding: 60px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}

.empty-state h2 {
  margin-top: 0;
  font-family: Georgia, serif;
  font-weight: 400;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin: 2px 0 26px;
  color: var(--ink-soft);
  font-size: 13px;
}

.breadcrumb a {
  text-decoration: none;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.product-cover-shell {
  position: sticky;
  top: 108px;
}

.product-cover-shell .cover-wrap {
  width: min(100%, 420px);
  margin: 0 auto;
  box-shadow: 0 24px 55px rgba(43, 34, 21, 0.23);
}

.product-cover-shell .cover-title {
  font-size: clamp(26px, 4.2vw, 47px);
  -webkit-line-clamp: 7;
}

.product-cover-shell .cover-format {
  font-size: 10px;
}

.product-cover-shell .cover-author {
  font-size: 11px;
}

.product-summary {
  padding-top: 8px;
}

.product-summary .eyebrow {
  margin-bottom: 12px;
}

.product-summary h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(42px, 6.6vw, 76px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.product-author {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.product-author a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.product-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 24px 0 28px;
  padding: 14px 0;
  border-block: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}

.purchase-stack {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.purchase-option {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.purchase-option.digital {
  border-color: rgba(23, 23, 20, 0.35);
}

.purchase-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--mint);
  font-size: 22px;
}

.purchase-option.physical .purchase-icon {
  background: #f0ddd4;
}

.purchase-label strong {
  display: block;
  font-size: 16px;
}

.purchase-label span {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 12px;
}

.purchase-action {
  display: flex;
  align-items: center;
  gap: 12px;
}

.purchase-price {
  min-width: 68px;
  text-align: right;
  font-size: 19px;
  font-weight: 900;
}

.purchase-price small {
  display: block;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
}

.purchase-action form {
  margin: 0;
}

.purchase-action .btn-primary {
  min-width: 112px;
}

.product-description {
  margin-top: 54px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.product-description h2,
.details-panel h2 {
  margin: 0 0 18px;
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
}

.product-description-text {
  max-width: 720px;
  color: #3e3b35;
  font-size: 17px;
}

.details-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  margin-top: 44px;
}

.details-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.7);
}

.details-panel dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  margin: 0;
  font-size: 14px;
}

.details-panel dt {
  color: var(--ink-soft);
}

.details-panel dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.details-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.faq-item {
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}

.faq-item summary {
  padding: 19px 30px 19px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
}

.faq-answer {
  max-width: 760px;
  padding: 0 0 20px;
  color: var(--ink-soft);
}

.site-footer {
  margin-top: auto;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.footer-note {
  max-width: 430px;
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  font-weight: 700;
}

.footer-links a {
  text-decoration: none;
}

.live-search-results {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-search {
  position: relative;
}

.live-search-results:empty {
  display: none;
}

.live-result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.live-result:last-child {
  border-bottom: 0;
}

.live-result strong,
.live-result small {
  display: block;
}

.live-result small {
  color: var(--ink-soft);
}

.footer-links a:hover,
.breadcrumb a:hover {
  color: var(--coral-dark);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 44px 28px 30px;
  }

  .hero-art {
    min-height: 260px;
  }

  .hero-stack .mini-cover {
    width: 150px;
  }

  .hero-stack .mini-cover:nth-child(1) {
    left: 27%;
  }

  .book-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalogue-head,
  .product-hero,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .catalogue-head {
    gap: 24px;
  }

  .product-cover-shell {
    position: static;
  }

  .product-cover-shell .cover-wrap {
    width: min(76vw, 360px);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--content));
  }

  .site-header-inner {
    min-height: 66px;
  }

  .wordmark {
    font-size: 25px;
  }

  .wordmark-mark {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .site-nav a:not(.nav-cta):not(:first-child) {
    display: none;
  }

  .nav-cta {
    padding: 9px 13px;
    font-size: 12px !important;
  }

  .main {
    padding-top: 16px;
  }

  .hero {
    min-height: auto;
    padding: 38px 20px 24px;
    border-radius: 24px;
  }

  .hero h1 {
    font-size: clamp(46px, 15vw, 68px);
  }

  .hero-lede {
    margin-block: 18px 22px;
    font-size: 16px;
  }

  .hero-search {
    grid-template-columns: 1fr;
  }

  .hero-search .btn-primary {
    min-height: 50px;
  }

  .hero-art {
    min-height: 210px;
    margin-top: 8px;
  }

  .hero-stack .mini-cover {
    width: 120px;
    padding: 13px;
  }

  .mini-cover strong {
    font-size: 15px;
  }

  .mini-cover .cover-kicker {
    margin-bottom: 10px;
    font-size: 6px;
  }

  .mini-cover small {
    right: 13px;
    bottom: 12px;
    left: 13px;
    font-size: 6px;
  }

  .section {
    margin-top: 48px;
  }

  .section-heading {
    align-items: flex-end;
    margin-bottom: 18px;
  }

  .section-heading h2 {
    font-size: 37px;
  }

  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }

  .book-card-title {
    font-size: 14px;
  }

  .book-card-author {
    font-size: 12px;
  }

  .cover-copy {
    padding: 11% 9% 9% 16%;
  }

  .cover-title {
    font-size: 16px;
  }

  .promise-grid {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .promise {
    min-height: 0;
  }

  .promise h3 {
    margin-top: 22px;
  }

  .catalogue-title h1 {
    font-size: 48px;
  }

  .catalogue-search {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .catalogue-search input {
    min-width: 0;
  }

  .product-hero {
    gap: 26px;
  }

  .product-summary h1 {
    font-size: 45px;
  }

  .product-cover-shell .cover-wrap {
    width: min(74vw, 300px);
  }

  .purchase-option {
    grid-template-columns: 42px 1fr;
    padding: 15px;
  }

  .purchase-icon {
    width: 42px;
    height: 42px;
  }

  .purchase-action {
    grid-column: 1 / -1;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .purchase-action .btn-primary {
    min-height: 47px;
  }

  .details-panel dl {
    grid-template-columns: 90px 1fr;
  }

  .footer-inner {
    display: block;
  }

  .footer-links {
    margin-top: 24px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
