:root {
  --paper: #faf8f1;
  --ink: #253e32;
  --muted: #667066;
  --line: #dedfd4;
  --accent: #d4df82;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
}
button {
  border: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #798b38;
  outline-offset: 5px;
}
button:hover,
a:hover {
  opacity: 0.86;
}
svg {
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
}
.container {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.site-header {
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 27px;
  letter-spacing: -1.3px;
  font-weight: 700;
  white-space: nowrap;
}
.brand svg {
  width: 32px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-dot {
  color: #899247;
}
nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 600;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.button span {
  font-size: 20px;
}
.button-dark {
  background: var(--ink);
  color: var(--paper);
}
.button-outline {
  background: transparent;
  border: 1px solid var(--ink);
}
.button.small {
  padding: 8px 16px;
  min-height: 42px;
  gap: 18px;
}
.menu-toggle {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 50px;
  align-items: center;
  padding-block: 72px 80px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 700;
  line-height: 1.8;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tiny-star {
  font-size: 25px;
  line-height: 1;
}
h1 {
  font-size: clamp(40px, 4.6vw, 66px);
  margin-top: 23px;
}
h1 em {
  font-weight: 400;
  color: #687c43;
}
.hero-description {
  font-size: 16px;
  color: var(--muted);
  max-width: 420px;
  margin: 24px 0 28px;
  line-height: 1.8;
}
.hero-footnote {
  font-size: 10px;
  color: var(--muted);
  margin-top: 16px;
}
.hero-shelf {
  position: relative;
  min-height: 425px;
  background: #eeeede;
  border-radius: 50% 50% 3px 3px;
  isolation: isolate;
  margin: 0 10px;
  padding: 30px;
}
.shelf-label {
  position: absolute;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.8;
  right: 28px;
  top: 0;
  transform: rotate(8deg);
}
.shelf-label span {
  font-size: 28px;
  position: absolute;
  left: -29px;
  bottom: 0;
}
.hero-book,
.book-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow:
    inset 5px 0 3px #0002,
    inset 7px 0 0 #ffffff18,
    5px 8px 14px #24251c26;
  border-radius: 2px 5px 5px 2px;
  position: relative;
  overflow: hidden;
}
.hero-book {
  position: absolute;
  width: 215px;
  height: 305px;
  padding: 24px 12px 15px;
  top: 67px;
}
.book-back {
  background: #465d38;
  color: #f4edcc;
  transform: rotate(-13deg);
  left: 8px;
  z-index: 1;
}
.book-front {
  background: #ecd36a;
  color: #294b3a;
  transform: rotate(10deg);
  right: 13px;
  top: 92px;
  z-index: 2;
}
.cover-kicker {
  font-size: 7px;
  letter-spacing: 1.2px;
  font-weight: 700;
}
.cover-title {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -1px;
  margin-top: 22px;
}
.book-back .cover-title,
.cover-olive .cover-title {
  font-size: 29px;
  letter-spacing: 1px;
}
.cover-title i {
  font-weight: 400;
}
.food-art {
  width: 100%;
  flex: 1;
  min-height: 0;
  margin: 10px auto;
}
.cover-author {
  font-size: 8px;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.round-note {
  position: absolute;
  bottom: 13px;
  left: -18px;
  z-index: 3;
  border-radius: 50%;
  width: 103px;
  height: 103px;
  background: var(--paper);
  border: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.3;
  font-size: 12px;
  transform: rotate(-10deg);
  box-shadow: 0 0 0 5px var(--paper);
}
.round-note em {
  font-family: var(--serif);
  font-size: 17px;
}
.round-note span {
  font-size: 18px;
}
.shelf-caption {
  position: absolute;
  bottom: -28px;
  right: 0;
  font-size: 9px;
  color: var(--muted);
}
.manifesto {
  border-block: 1px solid var(--line);
  background: #f0f1e6;
}
.manifesto .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-block: 18px;
  font-size: 13px;
  font-family: var(--serif);
}
.manifesto span:nth-child(even) {
  color: #7b8b4c;
  font-size: 20px;
}
.catalog {
  padding-block: 65px 72px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 30px;
}
h2 {
  font-size: 40px;
  margin-top: 12px;
}
.section-heading > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 4px;
}
.catalog-tools {
  display: flex;
  gap: 22px;
  align-items: center;
}
.search {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 16px;
  flex: 1;
  min-width: 0;
  height: 52px;
}
.search svg {
  width: 18px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.5;
  flex-shrink: 0;
}
.search input {
  border: 0;
  background: transparent;
  min-width: 0;
  width: 100%;
  font-size: 12px;
  height: 44px;
  color: var(--ink);
}
.search input:focus-visible {
  outline-offset: 0;
}
.search button {
  background: transparent;
  font-size: 24px;
  width: 34px;
  height: 44px;
  flex-shrink: 0;
}
.sort-control {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
}
.sort-control label {
  color: var(--muted);
}
select {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 12px;
  border-radius: 5px;
  color: var(--ink);
  font-size: 11px;
  min-height: 48px;
}
.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filters button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 24px;
  min-height: 40px;
  padding: 9px 17px;
  font-size: 11px;
  white-space: nowrap;
}
.filters button[aria-pressed="true"] {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}
#saved-filter {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  background: transparent;
  white-space: nowrap;
  min-height: 44px;
}
#saved-filter[aria-pressed="true"] {
  font-weight: 700;
  text-decoration: underline;
}
#saved-count {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  line-height: 20px;
  text-align: center;
}
.sample-note {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #eeefe3;
  border-radius: 4px;
  padding: 12px 15px;
  margin-top: 22px;
  font-size: 11px;
  color: #56634c;
}
.sample-dot {
  width: 6px;
  height: 6px;
  background: #829352;
  border-radius: 50%;
  flex-shrink: 0;
}
.results-status {
  font-size: 10px;
  color: var(--muted);
  margin: 20px 0 15px;
}
.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 26px;
}
.book-card[hidden] {
  display: none;
}
.book-stage {
  height: 320px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.stage-peach {
  background: #ede3d6;
}
.stage-pink {
  background: #f0e4e1;
}
.stage-sage {
  background: #e3e9db;
}
.stage-lilac {
  background: #e4e1e8;
}
.stage-butter {
  background: #eee9d6;
}
.stage-clay {
  background: #e9ded2;
}
.promotion-label {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--paper);
  font-size: 9px;
  padding: 4px 9px;
  border-radius: 3px;
}
.save-book {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--paper);
  font-size: 22px;
  line-height: 1;
  z-index: 1;
}
.save-book[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.cover-button {
  padding: 0;
  background: none;
  transition: transform 0.2s;
}
.cover-button:hover {
  opacity: 1;
  transform: translateY(-5px) rotate(-2deg);
}
.book-cover {
  width: 188px;
  height: 265px;
  padding: 20px 12px 13px;
}
.book-cover .cover-title {
  font-size: 32px;
  margin-top: 18px;
}
.book-cover .cover-kicker {
  font-size: 6px;
}
.book-cover .cover-author {
  font-size: 7px;
}
.cover-olive {
  background: #465d38;
  color: #f4edcc;
}
.book-cover.cover-olive .cover-title {
  font-size: 26px;
}
.cover-yellow {
  background: #ecd36a;
  color: #294b3a;
}
.cover-cream {
  background: #faf1d9;
  color: #3f5939;
}
.cover-red {
  background: #a54032;
  color: #f7e3b7;
}
.cover-blue {
  background: #284f63;
  color: #f1e5c6;
}
.cover-rust {
  background: #bd7850;
  color: #fff0cd;
}
.book-info {
  padding: 19px 1px 0;
}
.category {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #74805e;
  font-weight: 700;
}
.book-info h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-top: 7px;
}
.book-info h3 button {
  font: inherit;
  text-align: left;
  background: none;
  padding: 0;
}
.byline {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.book-summary {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.text-link {
  display: inline-flex;
  gap: 25px;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  padding: 0;
  min-height: 44px;
  font-size: 11px;
  font-weight: 600;
}
.text-link span {
  font-size: 18px;
}
.book-info .text-link {
  margin-top: 6px;
}
.empty-state {
  text-align: center;
  padding: 60px 12px;
}
.empty-state h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}
.empty-state p {
  margin-block: 12px 20px;
  color: var(--muted);
}
.author-section {
  padding-bottom: 65px;
}
.author-panel {
  background: #e9edda;
  border: 1px solid #dce1ce;
  padding: 48px 52px;
  border-radius: 6px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 75px;
}
.author-panel h2 {
  font-size: 42px;
}
.author-panel > div > p:not(.eyebrow) {
  font-size: 13px;
  max-width: 410px;
  color: var(--muted);
  margin-top: 20px;
}
.author-panel .button {
  margin-top: 24px;
}
.author-panel > div > p.author-contact {
  font-size: 10px;
  margin-top: 13px;
}
.author-steps {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
}
.author-steps li {
  display: flex;
  gap: 20px;
}
.author-steps li > span {
  font-family: var(--serif);
  font-size: 18px;
  color: #8b9967;
  border: 1px solid #c5cdae;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.author-steps h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
}
.author-steps p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
}
.reciscan {
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 35px;
}
.reciscan-icon {
  padding: 17px;
  background: #eeefe3;
  border-radius: 10px;
  flex-shrink: 0;
}
.reciscan svg {
  width: 35px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.reciscan h2 {
  font-size: 28px;
  margin-top: 5px;
}
.reciscan p:not(.eyebrow) {
  font-size: 12px;
  color: var(--muted);
  margin-top: 9px;
}
.reciscan .text-link {
  margin-left: auto;
  white-space: nowrap;
}
.site-footer {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 25px;
  padding-block: 38px 30px;
}
.site-footer .brand {
  font-size: 23px;
}
.site-footer p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
}
.footer-links {
  display: flex;
  gap: 23px;
  font-size: 10px;
  margin-top: 10px;
}
.footer-note {
  text-align: right;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  width: min(760px, calc(100% - 32px));
  padding: 48px;
  max-height: calc(100dvh - 40px);
  overflow: auto;
}
dialog::backdrop {
  background: #16291ed0;
  backdrop-filter: blur(3px);
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 10px;
  background: transparent;
  width: 40px;
  height: 40px;
  font-size: 28px;
}
.dialog-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 35px;
  align-items: center;
}
#detail-cover {
  background: #e9e6da;
  padding: 22px 16px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
}
dialog h2 {
  font-size: 36px;
}
#detail-description {
  font-size: 14px;
  margin-top: 20px;
}
.dialog-notice {
  font-size: 12px;
  padding: 14px;
  background: #eeefe3;
  margin-block: 22px;
}
.dialog-layout .button {
  width: 100%;
}
#author-dialog {
  max-width: 530px;
}
#author-dialog > p:not(.eyebrow) {
  margin-top: 20px;
  font-size: 14px;
}
.opportunity-list {
  padding-left: 20px;
  font-size: 14px;
  line-height: 2;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  background: var(--ink);
  color: white;
  padding: 12px;
  z-index: 10;
}
.skip-link:focus {
  top: 10px;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1400px) {
  .hero {
    gap: 80px;
  }
  .hero-shelf {
    margin-left: 30px;
  }
  .hero-book {
    width: 230px;
    height: 325px;
  }
  .book-back {
    left: 5px;
  }
  .book-front {
    right: 15px;
  }
  .hero-shelf {
    min-height: 445px;
  }
  .book-stage {
    height: 340px;
  }
}
@media (max-width: 1050px) {
  .container {
    width: calc(100% - 56px);
  }
  nav {
    gap: 18px;
    font-size: 11px;
  }
  .brand {
    font-size: 24px;
  }
  .hero {
    gap: 20px;
  }
  .hero-shelf {
    min-height: 370px;
    margin: 0 0 0 10px;
  }
  .hero-book {
    width: 180px;
    height: 265px;
    padding-top: 20px;
  }
  .book-back {
    left: 0;
    top: 60px;
  }
  .book-front {
    right: 0;
    top: 85px;
  }
  .hero-book .cover-title {
    font-size: 30px;
  }
  .book-back .cover-title {
    font-size: 24px;
  }
  .round-note {
    width: 88px;
    height: 88px;
    font-size: 10px;
    bottom: 10px;
  }
  .hero-description {
    font-size: 14px;
  }
  .book-stage {
    height: 285px;
  }
  .book-cover {
    width: 168px;
    height: 238px;
  }
  .book-cover .cover-title {
    font-size: 29px;
  }
  .book-cover.cover-olive .cover-title {
    font-size: 23px;
  }
  .author-panel {
    gap: 40px;
    padding: 36px;
  }
  .author-panel h2 {
    font-size: 35px;
  }
  .footer-links {
    gap: 15px;
  }
}
@media (max-width: 800px) {
  .header-inner {
    height: 78px;
    position: relative;
  }
  .menu-toggle {
    display: flex;
    gap: 12px;
    align-items: center;
    background: none;
    font-size: 12px;
    min-height: 44px;
    padding: 10px;
  }
  .menu-toggle span {
    font-size: 20px;
  }
  nav {
    display: none;
    position: absolute;
    top: 77px;
    left: -28px;
    right: -28px;
    padding: 20px 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    z-index: 5;
    align-items: stretch;
    gap: 4px;
  }
  nav.open {
    display: flex;
    flex-direction: column;
  }
  nav a {
    padding: 12px 0;
    font-size: 14px;
  }
  nav .button {
    margin-top: 8px;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    padding-block: 48px 60px;
    gap: 26px;
  }
  h1 {
    font-size: 44px;
  }
  .hero-shelf {
    min-height: 340px;
  }
  .hero-book {
    width: 150px;
    height: 222px;
    top: 65px;
    padding: 18px 10px 12px;
  }
  .book-front {
    top: 90px;
  }
  .cover-kicker {
    font-size: 5px;
  }
  .hero-book .cover-title {
    font-size: 27px;
    margin-top: 15px;
  }
  .book-back .cover-title {
    font-size: 20px;
  }
  .cover-author {
    font-size: 6px;
  }
  .round-note {
    bottom: 5px;
    left: -10px;
    width: 75px;
    height: 75px;
    font-size: 9px;
  }
  .round-note em {
    font-size: 13px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .hero-footnote {
    font-size: 9px;
  }
  .hero .button {
    gap: 12px;
    font-size: 12px;
    padding-inline: 18px;
  }
  .shelf-label {
    font-size: 7px;
    right: 10px;
  }
  .shelf-caption {
    font-size: 8px;
  }
  .manifesto .container {
    gap: 10px;
    font-size: 11px;
  }
  .section-heading > p {
    font-size: 11px;
  }
  h2 {
    font-size: 35px;
  }
  .filters button {
    padding-inline: 12px;
    font-size: 10px;
  }
  .filter-row {
    align-items: start;
  }
  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
  }
  .book-stage {
    height: 300px;
  }
  .book-cover {
    width: 183px;
    height: 258px;
  }
  .author-panel {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .author-panel > div > p:not(.eyebrow) {
    max-width: 100%;
  }
  .author-steps {
    gap: 20px;
  }
  .reciscan {
    flex-wrap: wrap;
  }
  .reciscan > div {
    flex: 1;
    min-width: 230px;
  }
  .reciscan .text-link {
    margin-left: 83px;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .footer-note {
    width: 100%;
    text-align: left;
  }
  .dialog-layout {
    grid-template-columns: 180px 1fr;
    gap: 25px;
  }
  dialog {
    padding: 38px 24px;
  }
  #detail-cover {
    padding: 16px 8px;
  }
  #detail-cover .book-cover {
    width: 160px;
    height: 228px;
  }
}
@media (max-width: 560px) {
  .container {
    width: calc(100% - 36px);
  }
  .brand {
    font-size: 24px;
  }
  .brand svg {
    width: 28px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 36px 50px;
    gap: 38px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .hero h1 {
    font-size: 46px;
    margin-top: 18px;
  }
  .hero-description {
    font-size: 15px;
    margin-block: 20px 24px;
    max-width: 100%;
  }
  .hero .button {
    font-size: 13px;
    gap: 35px;
  }
  .hero-footnote {
    font-size: 10px;
  }
  .hero-shelf {
    width: min(360px, calc(100% - 20px));
    margin-inline: auto;
    min-height: 335px;
  }
  .hero-book {
    width: 175px;
    height: 245px;
  }
  .book-back {
    left: 8px;
    top: 49px;
  }
  .book-front {
    right: 5px;
    top: 65px;
  }
  .hero-book .cover-title {
    font-size: 31px;
  }
  .book-back .cover-title {
    font-size: 24px;
  }
  .round-note {
    width: 83px;
    height: 83px;
    bottom: 5px;
  }
  .shelf-label {
    top: -5px;
  }
  .shelf-caption {
    right: 0;
    bottom: -24px;
  }
  .manifesto .container {
    justify-content: center;
    padding-block: 14px;
  }
  .manifesto span:nth-child(n + 3) {
    display: none;
  }
  .manifesto span:nth-child(2) {
    order: -1;
  }
  .catalog {
    padding-block: 40px;
  }
  .section-heading {
    display: block;
    margin-bottom: 24px;
  }
  h2 {
    font-size: 34px;
  }
  .section-heading > p {
    font-size: 12px;
    margin-top: 14px;
  }
  .section-heading br {
    display: none;
  }
  .catalog-tools {
    flex-wrap: wrap;
    gap: 12px;
  }
  .search {
    flex-basis: 100%;
    padding-inline: 12px;
  }
  .search input {
    font-size: 11px;
  }
  .sort-control {
    margin-left: auto;
  }
  .sort-control select {
    min-height: 40px;
    padding: 8px;
  }
  .filter-row {
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 14px;
  }
  .filters {
    gap: 7px;
  }
  .filters button {
    font-size: 10px;
    min-height: 40px;
    padding-inline: 12px;
  }
  #saved-filter {
    margin-left: auto;
  }
  .sample-note {
    font-size: 10px;
    margin-top: 12px;
    padding: 12px;
    align-items: start;
  }
  .sample-dot {
    margin-top: 5px;
  }
  .book-grid {
    gap: 26px 12px;
  }
  .book-stage {
    height: 250px;
  }
  .book-cover {
    width: 132px;
    height: 188px;
    padding: 14px 9px 10px;
  }
  .book-cover .cover-kicker {
    font-size: 4px;
    letter-spacing: 0.7px;
  }
  .book-cover .cover-title {
    font-size: 23px;
    margin-top: 12px;
  }
  .book-cover.cover-olive .cover-title {
    font-size: 19px;
    letter-spacing: 0.5px;
  }
  .book-cover .cover-author {
    font-size: 5px;
    letter-spacing: 1px;
  }
  .food-art {
    margin: 7px auto;
  }
  .save-book {
    width: 32px;
    height: 32px;
    font-size: 19px;
    top: 9px;
    right: 9px;
  }
  .promotion-label {
    top: 10px;
    left: 9px;
    font-size: 7px;
    padding: 4px 6px;
  }
  .book-info {
    padding-top: 13px;
  }
  .category {
    font-size: 8px;
    letter-spacing: 0.8px;
  }
  .book-info h3 {
    font-size: 20px;
  }
  .book-summary {
    font-size: 11px;
  }
  .byline {
    font-size: 10px;
  }
  .book-info .text-link {
    font-size: 10px;
    gap: 14px;
    margin-top: 3px;
  }
  .author-section {
    padding-bottom: 40px;
  }
  .author-panel {
    padding: 28px 22px;
    gap: 30px;
  }
  .author-panel h2 {
    font-size: 33px;
  }
  .author-panel .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .author-panel > div > p:not(.eyebrow) {
    font-size: 12px;
  }
  .author-panel .button {
    font-size: 11px;
    gap: 14px;
    padding-inline: 16px;
  }
  .author-steps h3 {
    font-size: 21px;
  }
  .author-steps p {
    font-size: 11px;
  }
  .author-steps li {
    gap: 14px;
  }
  .reciscan {
    gap: 16px;
    padding-block: 28px;
  }
  .reciscan-icon {
    padding: 12px;
  }
  .reciscan svg {
    width: 28px;
  }
  .reciscan > div {
    min-width: 190px;
  }
  .reciscan h2 {
    font-size: 25px;
  }
  .reciscan .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .reciscan .text-link {
    margin-left: 68px;
  }
  .site-footer {
    gap: 14px;
    padding-block: 28px;
  }
  .footer-links {
    gap: 20px;
    flex-wrap: wrap;
  }
  .site-footer .footer-note {
    margin-top: 2px;
    font-size: 9px;
  }
  nav {
    left: -18px;
    right: -18px;
    padding-inline: 18px;
  }
  .dialog-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  #detail-cover {
    margin-inline: auto;
    width: 200px;
  }
  dialog h2 {
    font-size: 32px;
  }
  .dialog-layout .eyebrow {
    font-size: 8px;
  }
  #detail-description {
    font-size: 13px;
  }
}
@media (max-width: 360px) {
  .header-inner {
    gap: 10px;
  }
  .brand {
    font-size: 21px;
    gap: 7px;
  }
  .menu-toggle {
    padding-inline: 5px;
    gap: 7px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .book-cover {
    width: 112px;
    height: 166px;
  }
  .book-cover .cover-title {
    font-size: 21px;
  }
  .book-cover.cover-olive .cover-title {
    font-size: 17px;
  }
  .book-stage {
    height: 218px;
  }
  .promotion-label {
    font-size: 6px;
  }
  .book-info h3 {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Database-backed promotion tiers. */
.hero-book {
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.hero-book .book-cover {
  width: 100%;
  height: 100%;
  margin: 0;
  box-shadow: none;
  border-radius: inherit;
}
.hero-book .cover-placeholder {
  box-shadow: inset 5px 0 3px #0002, inset 7px 0 0 #ffffff18, 5px 8px 14px #24251c26;
}
.book-cover.cover-image {
  display: block;
  padding: 0;
  flex-shrink: 0;
  box-shadow: none;
  overflow: visible;
}
.cover-art {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.cover-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  filter: drop-shadow(5px 8px 7px #24251c26);
}
/* Only decorate the fitted artwork, never the empty space in its shelf slot. */
.cover-fitted .cover-art {
  box-shadow: 5px 8px 14px #24251c26;
}
.cover-fitted .cover-art img {
  filter: none;
}
.cover-fitted .cover-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 5px 0 3px #0002, inset 7px 0 0 #ffffff18;
  pointer-events: none;
}
.cover-placeholder {
  background: #465d38;
  color: #f4edcc;
  justify-content: space-between;
}
.hero-empty {
  margin: 130px auto;
  text-align: center;
  font-family: var(--serif);
  font-size: 28px;
  max-width: 230px;
}
.tier-section {
  margin-top: 32px;
}
.tier-section + .tier-section {
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.tier-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.tier-heading h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.6px;
}
.tier-heading > span,
.carousel-controls > span {
  font-size: 10px;
  color: var(--muted);
}
.collection-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px 20px;
}
.collection-grid .book-stage {
  height: 235px;
}
.collection-grid .book-cover {
  width: 140px;
  height: 196px;
}
.collection-grid .book-info h3 {
  font-size: 20px;
}
.collection-grid .book-summary {
  font-size: 11px;
}
.carousel-controls {
  display: flex;
  align-items: center;
  gap: 18px;
}
.carousel-controls .button {
  font-size: 10px;
  min-height: 36px;
  padding: 6px 12px;
}
.carousel-window {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-behavior: auto;
  overscroll-behavior-x: contain;
}
.carousel-window::-webkit-scrollbar {
  display: none;
}
.carousel-section:not(.is-static) .carousel-window {
  cursor: grab;
}
.carousel-window.is-dragging,
.carousel-window.is-dragging * {
  cursor: grabbing;
  user-select: none;
}
.carousel-track {
  display: flex;
  gap: 14px;
  width: 100%;
}
.carousel-track .book-card {
  flex: 0 0 calc((100% - 98px) / 8);
  min-width: 0;
}
.carousel-track .book-stage {
  height: 172px;
}
.carousel-track .book-cover {
  width: 88px;
  height: 123px;
}
.carousel-track .book-info h3 {
  font-size: 17px;
}
.carousel-track .book-summary,
.carousel-track .category,
.carousel-track .text-link {
  display: none;
}
.carousel-track .save-book {
  width: 28px;
  height: 28px;
  font-size: 17px;
  right: 6px;
  top: 6px;
}
.carousel-track .book-info {
  padding-top: 10px;
}
.carousel-track .byline {
  font-size: 9px;
}
.carousel-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 14px;
}
#detail-page {
  display: flex;
  margin-block: 10px;
}
#detail-purchase {
  width: 100%;
  margin-top: 12px;
}
.listing-page {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
  padding-block: 60px;
}
.listing-cover {
  background: #e9edda;
  padding: 32px;
  display: flex;
  justify-content: center;
  border-radius: 6px;
}
.listing-cover .book-cover {
  width: 236px;
  height: 330px;
}
.listing-page h1 {
  font-size: 48px;
  margin-top: 15px;
}
.listing-page .byline {
  font-size: 15px;
  margin-block: 15px 25px;
}
.listing-tagline {
  font-family: var(--serif);
  font-size: 23px;
  margin-bottom: 16px;
}
@media (max-width: 1050px) {
  .collection-grid {
    gap: 25px 12px;
  }
  .collection-grid .book-cover {
    width: 112px;
    height: 157px;
  }
  .collection-grid .book-stage {
    height: 200px;
  }
  .collection-grid .book-info h3 {
    font-size: 18px;
  }
  .carousel-track .book-card {
    flex-basis: calc((100% - 70px) / 6);
  }
}
@media (max-width: 800px) {
  .collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .collection-grid .book-cover {
    width: 140px;
    height: 196px;
  }
  .collection-grid .book-stage {
    height: 235px;
  }
  .carousel-track .book-card {
    flex-basis: calc((100% - 42px) / 4);
  }
  .tier-heading h3 {
    font-size: 27px;
  }
  .listing-page {
    grid-template-columns: 220px 1fr;
    gap: 30px;
  }
  .listing-cover .book-cover {
    width: 175px;
    height: 245px;
  }
  .listing-page h1 {
    font-size: 36px;
  }
  .carousel-controls {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: end;
  }
}
@media (max-width: 560px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .featured-grid .book-stage {
    height: 320px;
  }
  .featured-grid .book-cover {
    width: 200px;
    height: 280px;
  }
  .featured-grid .book-info h3 {
    font-size: 26px;
  }
  .featured-grid .book-summary {
    font-size: 13px;
  }
  .featured-grid .book-info {
    padding-bottom: 12px;
  }
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 12px;
  }
  .collection-grid .book-cover {
    width: 130px;
    height: 182px;
  }
  .collection-grid .book-stage {
    height: 228px;
  }
  .collection-grid .book-info h3 {
    font-size: 20px;
  }
  .tier-heading {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }
  .tier-heading h3 {
    font-size: 28px;
  }
  .carousel-controls {
    justify-content: start;
    width: 100%;
  }
  .carousel-controls .button {
    margin-left: auto;
  }
  .carousel-track .book-card {
    flex-basis: calc((100% - 28px) / 3);
  }
  .carousel-track .book-stage {
    height: 153px;
  }
  .carousel-track .book-cover {
    width: 76px;
    height: 106px;
  }
  .carousel-track .book-info h3 {
    font-size: 16px;
  }
  .carousel-track .save-book {
    top: 3px;
    right: 3px;
    width: 27px;
    height: 27px;
  }
  .listing-page {
    grid-template-columns: 1fr;
    padding-block: 30px;
    gap: 30px;
  }
  .listing-cover {
    width: 240px;
    margin: auto;
  }
  .listing-cover .book-cover {
    width: 190px;
    height: 266px;
  }
  .listing-page h1 {
    font-size: 38px;
  }
}
@media (max-width: 360px) {
  .collection-grid .book-cover {
    width: 108px;
    height: 152px;
  }
  .collection-grid .book-stage {
    height: 200px;
  }
  .carousel-track .book-cover {
    width: 62px;
    height: 87px;
  }
  .carousel-track .book-stage {
    height: 134px;
  }
}
.carousel-section.is-static .carousel-track {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  width: 100%;
}
.carousel-section.is-static .carousel-window {
  overflow: visible;
}
@media (max-width: 1050px) {
  .carousel-section.is-static .carousel-track {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .carousel-section.is-static .carousel-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .carousel-section.is-static .carousel-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Shared footer and readable legal documents. */
.site-footer { border-top: 1px solid var(--line); }
nav.footer-links { position: static; display: flex; flex-wrap: wrap; width: auto; max-width: 520px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.footer-links a { min-height: 36px; display: inline-flex; align-items: center; }
.legal-page { max-width: 820px; padding-block: 48px 72px; }
.legal-page h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 6vw, 56px); line-height: 1.1; }
.legal-page h2 { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.25; margin-top: 34px; margin-bottom: 12px; scroll-margin-top: 24px; }
.legal-page p, .legal-page li { font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.legal-page p { margin-block: 14px; }
.legal-page ul { padding-left: 24px; }
.legal-page li { margin-block: 12px; }
.legal-page a { text-decoration: underline; text-underline-offset: 3px; }
.legal-page .legal-updated { font-size: 14px; color: var(--muted); margin-block: 16px 28px; }
nav.legal-contents { position: static; display: flex; flex-wrap: wrap; gap: 12px 20px; width: auto; padding: 18px 0; border-block: 1px solid var(--line); background: transparent; box-shadow: none; margin-block: 24px; }
.legal-contents a { font-size: 14px; }
@media (max-width: 560px) {
  .legal-page { padding-block: 32px 48px; }
  .legal-page h2 { font-size: 24px; }
  nav.footer-links { max-width: 100%; gap: 8px 18px; }
}

/* Supplied logos keep their proportions and reserve space before loading. */
.header-brand { flex-shrink: 0; }
.header-brand img { display: block; width: 256px; height: auto; }
.footer-brand img { display: block; width: 128px; height: 17px; }
@media (max-width: 800px) { .header-brand img { width: 200px; } }
@media (max-width: 560px) { .header-brand img { width: 160px; } }
@media (max-width: 360px) { .header-brand img { width: 128px; } }

/* The complete catalog is browsed as one list, independent of paid shelves. */
.catalog-result-list { margin-top: 20px; border-top: 1px solid var(--line); }
.catalog-result { display: grid; grid-template-columns: 100px minmax(0, 1fr) 40px; gap: 24px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.catalog-result h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; margin: 6px 0; }
.catalog-result .eyebrow { font-size: 9px; }
.catalog-result .byline { font-size: 12px; margin: 6px 0; }
.catalog-result .book-cover { width: 90px; height: 126px; display: block; object-fit: contain; }
.catalog-result .cover-title { font-size: 15px; }
.catalog-result .cover-author, .catalog-result .cover-kicker { font-size: 6px; }
.result-description { max-width: 760px; color: var(--muted); font-size: 13px; line-height: 1.65; margin: 12px 0; overflow-wrap: anywhere; }
.result-save { border: 1px solid var(--line); border-radius: 50%; background: #fffdf8; min-width: 40px; min-height: 40px; color: var(--ink); font-size: 23px; cursor: pointer; }
.result-save[aria-pressed="true"] { background: #e4eacb; }
nav.catalog-pagination { position: static; display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 20px; padding: 24px 0; border: 0; background: transparent; width: auto; box-shadow: none; }
.catalog-pagination span { color: var(--muted); font-size: 12px; }
.catalog-pagination .button { margin: 0; }
#catalog-results[aria-busy="true"] { opacity: .6; pointer-events: none; }
@media (max-width: 560px) {
  .catalog-result { grid-template-columns: 70px minmax(0, 1fr) 34px; gap: 12px; }
  .catalog-result .book-cover { width: 64px; height: 90px; }
  .catalog-result h3 { font-size: 23px; }
  .catalog-result .cover-title { font-size: 11px; }
  .result-save { min-width: 34px; min-height: 34px; }
}

.catalog-browse-links { display: flex; flex-wrap: wrap; gap: 15px 24px; align-items: center; }

/* Shared public icons and editorial spotlight. */
.fa-icon { display:inline-block; width:1em; height:1em; fill:currentColor; vertical-align:-.125em; flex-shrink:0; }
.reciscan-mark { display:inline-block; width:22px; height:22px; vertical-align:middle; background:currentColor; -webkit-mask:url('/assets/brand/reciscan-mask.png') center/contain no-repeat; mask:url('/assets/brand/reciscan-mask.png') center/contain no-repeat; }
.reciscan-mark-large { width:68px; height:68px; flex-shrink:0; color:#253e32; }
.hero-shelf { padding:28px 24px 40px; min-height:500px; margin-bottom:28px; }
.shelf-label { position:static; transform:none; text-align:center; font:italic 46px/1.1 Georgia,serif; letter-spacing:-1.5px; margin:0 0 24px; color:#253e32; }
.shelf-label .fa-icon { width:25px; height:25px; margin-left:8px; vertical-align:middle; }
.spotlight-books { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.spotlight-item { min-width:0; text-align:center; }
.hero-shelf .hero-book { position:relative; display:block; top:auto; left:auto; right:auto; width:100%; height:250px; transform:rotate(-5deg); margin:0; }
.hero-shelf .book-front { transform:rotate(5deg); }
.spotlight-caption { position:relative; margin-top:20px; color:#253e32; }
.spotlight-caption h3 { font:normal 21px/1.15 Georgia,serif; margin:0 0 8px; overflow-wrap:anywhere; }
.spotlight-caption p { font-size:12px; line-height:1.5; margin:3px 0; }
.spotlight-caption .category { font-size:10px; }
.byline a,.category a,.spotlight-caption p a { text-decoration:underline; text-decoration-color:#253e3244; text-underline-offset:3px; }
.byline a:hover,.category a:hover { text-decoration-color:currentColor; }
.kitchen-sticker { position:absolute; width:160px; height:auto; right:-28px; bottom:-60px; transform:rotate(9deg); z-index:3; pointer-events:none; }
.hero-shelf .shelf-caption { bottom:12px; left:24px; }
@media(max-width:600px) { .hero-shelf { padding:24px 20px 40px; min-height:0; margin:28px 0 55px; }.hero-shelf .hero-book { height:220px; }.spotlight-books { gap:20px; }.shelf-label { font-size:42px; }.spotlight-caption h3 { font-size:19px; }.kitchen-sticker { width:125px; right:-8px; bottom:-55px; } }

.social-links { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 22px; }
.social-links a { display:inline-flex; gap:7px; align-items:center; border:1px solid #253e3233; border-radius:22px; padding:7px 12px; font-size:12px; color:#253e32; }
.social-links a:hover { background:#eeeede; }.social-links .fa-icon { width:14px; height:14px; }
.journal-callout { display:flex; align-items:center; gap:16px; padding:19px 22px; margin:22px 0; border:1px solid #d9deca; border-radius:8px; background:#eeeede; color:#253e32; text-decoration:none; }
.journal-callout > .fa-icon:first-child { width:28px; height:28px; }.journal-callout > .fa-icon:last-child { margin-left:auto; }
.journal-callout strong { display:block; font:normal 22px/1.2 Georgia,serif; }.journal-callout small { display:block; margin-top:6px; line-height:1.5; font-size:12px; }
.journal-callout:hover { background:#e5e9d7; }
.kitchen-sticker { width:125px; right:-12px; bottom:-58px; transform:rotate(7deg); }
@media(max-width:600px) { .kitchen-sticker { width:100px; right:0; bottom:-48px; }.journal-callout { padding:16px; gap:12px; }.journal-callout strong { font-size:20px; } }
nav.social-links { position:static; display:flex; flex-wrap:wrap; width:auto; left:auto; right:auto; top:auto; padding:0; border:0; box-shadow:none; background:transparent; }

.release-badge { display: inline-block; color: #4b5235; background: #eef0df; border-radius: 4px; padding: 5px 9px; font-size: 12px; line-height: 1.5; margin: 8px 0; }
.save-feedback { position: fixed; z-index: 120; bottom: 20px; left: 50%; transform: translateX(-50%); background: #253e32; color: white; padding: 12px 18px; border-radius: 6px; max-width: calc(100% - 32px); width: max-content; font-size: 14px; }
.save-feedback:empty { display: none; }

/* Shared account notices also stack above cookbook detail dialogs. */
dialog.message-dialog { width: min(460px, calc(100% - 32px)); padding: 28px; }
.message-dialog h2 { margin: 0 0 14px; font-size: 1.65rem; }
.message-dialog p { margin: 0 0 24px; line-height: 1.6; overflow-wrap: anywhere; }
.message-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.message-actions [hidden] { display: none; }
