@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("https://cdn.beautiful.host/site_drv3xz9ggjzr0ncn1cy0/fonts/dm-serif-display-normal-400.fdf61e20fd2c.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("https://cdn.beautiful.host/site_drv3xz9ggjzr0ncn1cy0/fonts/source-serif-4-normal-400-700.f2ea9c12d2fe.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("https://cdn.beautiful.host/site_drv3xz9ggjzr0ncn1cy0/fonts/source-serif-4-italic-400-600.96e639320972.woff2") format("woff2"); }

/* Kitchen table: warm white pages, one olive accent, the recipe card as the one motif. */
:root {
  --paper: #fffbf5;
  --panel: #f5eee3;
  --ink: #26201b;
  --muted: #675c51;
  --line: #e3d8c8;
  --accent: #55612b;
  --accent-dark: #434d20;
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --radius: 4px;
  --wide: 1120px;
  --text: 40rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 18px/1.65 var(--font-body); }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; margin: 0 0 14px; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.45rem; line-height: 1.2; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 20; }
.muted { color: var(--muted); }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 32px; }

/* The one kind of small label: olive, sentence case */
.eyebrow { font: 600 1.0625rem/1.3 var(--font-body); color: var(--accent); margin: 0 0 10px; }
.lead { font-size: 1.25rem; line-height: 1.5; font-style: italic; color: var(--ink); max-width: 34em; }
.subtitle { font-size: 1.2rem; line-height: 1.45; color: var(--muted); margin: 0 0 18px; max-width: 32em; }
.note { font-style: italic; }
.prose { max-width: var(--text); }
.prose p { margin: 0 0 1.1em; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px 32px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 20px; }
.brand { font: 400 1.9rem/1 var(--font-display); color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.menu { display: flex; flex-wrap: wrap; gap: 0 26px; }
.menu a { color: var(--ink); text-decoration: none; font-size: 1.0625rem; padding: 10px 0; border-bottom: 2px solid transparent; }
.menu a:hover { border-bottom-color: var(--line); }
.menu a[aria-current="page"] { border-bottom-color: var(--accent); }
main { padding: 56px 0 72px; }
.section { margin-top: 72px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.section-head h2 { margin: 0; }

/* Buttons: one shape. The main one olive, the rest quiet. */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border-radius: var(--radius); border: 1px solid #cbbfad; background: transparent; color: var(--ink); text-decoration: none; font: 600 1.0625rem/1.2 var(--font-body); cursor: pointer; transition: background-color .15s, border-color .15s; }
.button:hover { color: var(--ink); border-color: var(--ink); text-decoration: none; }
.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.button.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.button.small { min-height: 44px; padding: 8px 14px; font-size: 1.0625rem; }
.button.soldout { opacity: .55; cursor: default; }
.button.soldout:hover { border-color: #cbbfad; }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.buy { margin: 8px 0 24px; }
.buy-group { margin: 0 0 16px; }
.buy-label { font-size: 1.0625rem; color: var(--muted); margin: 0 0 6px; }
.buy-more { font-size: 1.0625rem; margin: 0; }
.run { font-size: 1.0625rem; color: var(--muted); }
.release, .sale { font-weight: 600; margin: 0 0 12px; }

/* Covers: the brightest thing on the page */
.cover { display: block; width: 100%; border-radius: 2px; box-shadow: 0 1px 2px rgb(38 32 27 / .12), 0 18px 36px -18px rgb(38 32 27 / .45); }
.badge { position: absolute; top: 8px; left: 8px; background: var(--accent); color: #fff; font-size: 1.0625rem; font-weight: 600; padding: 2px 10px; border-radius: var(--radius); }

/* Home: the newest book, like the opening spread of a cookbook */
.spread { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.spread-cover { margin: 0; }
.spread-cover .cover { max-width: 420px; margin: 0 auto; }
.spread h1 { margin-bottom: 12px; }
.stats { display: flex; flex-wrap: wrap; gap: 6px 32px; margin: 0 0 26px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column; }
.stats dt { font-size: 1.0625rem; color: var(--muted); }
.stats dd { margin: 0; font: 400 1.35rem/1.25 var(--font-display); }

/* The books, on a shelf */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 40px 32px; margin: 0; padding: 0; list-style: none; }
.book-card { display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-decoration: none; position: relative; }
.book-card:hover { color: var(--ink); }
.book-card img { border-radius: 2px; box-shadow: 0 1px 2px rgb(38 32 27 / .12), 0 14px 28px -16px rgb(38 32 27 / .45); margin-bottom: 12px; }
.book-title { font: 400 1.35rem/1.2 var(--font-display); }
.book-series { font-size: 1.0625rem; color: var(--muted); }
.book-card:hover .book-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Book page */
.book-grid { display: grid; grid-template-columns: minmax(220px, 380px) minmax(0, 1fr); gap: 64px; align-items: start; }
.book-grid > figure { margin: 0; position: sticky; top: 24px; }
.blurb { max-width: var(--text); margin-top: 8px; }
.blurb p { margin: 0 0 1.1em; }
.praise { display: grid; gap: 26px; margin: 40px 0 0; max-width: var(--text); }
.praise blockquote { margin: 0; }
.praise p { font: italic 400 1.2rem/1.5 var(--font-body); margin: 0 0 6px; }
.praise cite { font-style: normal; color: var(--muted); font-size: 1.0625rem; }
.facts { display: grid; gap: 6px; margin: 40px 0 0; padding-top: 18px; border-top: 1px solid var(--line); max-width: var(--text); }
.facts div { display: flex; gap: 4px 16px; flex-wrap: wrap; }
.facts dt { color: var(--muted); min-width: 8em; }
.facts dd { margin: 0; }

/* Recipe of the month: the card (see RecipeCard.astro) sits on a panel */
.recipe-band { background: var(--panel); box-shadow: 0 0 0 100vmax var(--panel); clip-path: inset(0 -100vmax); padding: 72px 0; margin: 88px 0; }

/* Events */
.events { list-style: none; padding: 0; margin: 0; display: grid; }
.event-card { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 24px; align-items: start; padding: 24px 0; border-top: 1px solid var(--line); }
.event-card:last-child { border-bottom: 1px solid var(--line); }
.date { display: flex; flex-direction: column; line-height: 1; }
.date .m { font-size: 1.0625rem; color: var(--muted); }
.date .d { font: 400 2.8rem/1.05 var(--font-display); }
.event-card h3 { margin: 0 0 6px; }
.event-card h3 a { color: var(--ink); text-decoration: none; }
.event-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.event-card p { margin: 0 0 4px; }
.event-kind { color: var(--accent); font-weight: 600; }
.seats { font-weight: 600; margin: 0 0 12px; }
.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 32px; margin: 0 0 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: 52rem; }
.details dt { font-size: 1.0625rem; color: var(--muted); }
.details dd { margin: 2px 0 0; }
.rsvp { margin-top: 48px; max-width: 36rem; }
.cancel { margin: 18px 0; }
.ended { font-weight: 600; }

/* Forms */
.card-form, .signup-form { display: grid; gap: 16px; max-width: 34rem; }
.card-form label, .signup-form label { display: grid; gap: 6px; font-size: 1.0625rem; font-weight: 600; }
.card-form input, .card-form select, .card-form textarea, .signup-form input:not([type="checkbox"]) { font: 400 1.05rem/1.4 var(--font-body); padding: 10px 12px; border: 1px solid #cbbfad; border-radius: var(--radius); background: #fff; color: var(--ink); min-height: 48px; width: 100%; }
.card-form input:focus, .card-form select:focus, .card-form textarea:focus, .signup-form input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.card-form button, .signup-form button { justify-self: start; }
.status { font-weight: 600; margin: 0; }

/* Shop */
.shop-note { margin: 0 0 8px; max-width: var(--text); }
.shop { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 44px 32px; }
.shop > li { display: flex; flex-direction: column; }
.shop .thumb { display: flex; align-items: center; justify-content: center; background: var(--panel); border-radius: var(--radius); aspect-ratio: 1; padding: 28px; margin-bottom: 14px; }
.shop .thumb img { max-height: 100%; width: auto; }
.shop .thumb img.book-img { box-shadow: 0 1px 2px rgb(38 32 27 / .12), 0 12px 24px -14px rgb(38 32 27 / .5); border-radius: 2px; }
.shop .thumb img.photo { border-radius: 2px; }
.shop h3 { margin: 0 0 4px; font-size: 1.3rem; }
.shop p { margin: 0 0 8px; }
.shop .price { font-weight: 600; }
.shop .detail { color: var(--muted); }
.shop .ships { font-size: 1.0625rem; color: var(--muted); }
.shop li > p:last-child { margin-top: auto; padding-top: 6px; }
.shop-foot { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); max-width: var(--text); }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 300px); gap: 72px; align-items: start; }
.about-grid aside { position: sticky; top: 24px; }
.about-grid aside p { font-size: 1.0625rem; color: var(--muted); margin-top: 14px; }
.kitchens { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin: 0; }
.kitchens h3 { margin-bottom: 6px; }
.rules { padding-left: 1.3em; margin: 0; }
.rules li { padding: 4px 0 4px 6px; }
.rules li::marker { font-family: var(--font-display); color: var(--accent); }

/* Newsletter */
.signup { border-top: 1px solid var(--line); background: var(--panel); }
.signup .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 72px; align-items: start; padding-top: 64px; padding-bottom: 64px; }
.signup h2 { margin: 0 0 12px; }
.signup p { margin: 0 0 .6em; max-width: 30em; }
.signup-form { gap: 6px; }
.signup-form input + label, .signup-form button { margin-top: 12px; }
.signup-form .consent { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.signup-form .consent input { width: 20px; height: 20px; accent-color: var(--accent); }

/* Footer */
.bottom { border-top: 1px solid var(--line); color: var(--muted); font-size: 1.0625rem; }
.bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-top: 28px; padding-bottom: 40px; }
.bottom nav { display: flex; gap: 0 22px; flex-wrap: wrap; }
.bottom nav a { color: var(--ink); padding: 10px 0; display: inline-block; }
.bottom p { margin: 10px 0 0; }
.fineprint { flex-basis: 100%; font-size: 1.0625rem; max-width: 46em; }
.fineprint a { color: var(--muted); }

@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  main { padding: 36px 0 56px; }
  .top .wrap { padding-top: 16px; padding-bottom: 6px; }
  .brand { font-size: 1.7rem; }
  .menu { gap: 0 20px; }
  .spread, .book-grid, .about-grid, .signup .wrap { grid-template-columns: 1fr; gap: 32px; }
  .spread-cover .cover { max-width: 210px; }
  .book-grid > figure, .about-grid aside { position: static; max-width: 220px; }
  .section { margin-top: 56px; }
  .recipe-band { padding: 40px 0; margin: 56px 0; }
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 18px; }
  .book-title { font-size: 1.2rem; }
  .event-card { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .date .d { font-size: 2.2rem; }
  .kitchens { grid-template-columns: 1fr; }
  .shop { grid-template-columns: 1fr; }
  .shop .thumb { aspect-ratio: 4 / 3; }
  .signup .wrap { padding-top: 44px; padding-bottom: 44px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print {
  .top, .bottom, .signup, .no-print, main .wrap > :not(.recipe-band) { display: none !important; }
  body, .recipe-band { background: #fff; box-shadow: none; padding: 0; margin: 0; }
}

/* Page heads */
.page-head { margin-bottom: 44px; max-width: 46rem; }
.page-head h1 { margin-bottom: 10px; }
.page-head .subtitle { margin: 0; }
