/* Interior pages — the original and the English set as facing columns,
   the way a parallel text is printed. */

.book-body { padding-bottom: 4rem; }

.crumbs {
  max-width: 62rem;
  margin: 0 auto;
  padding: 1.6rem 1.5rem .4rem;
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs span { margin: 0 .35rem; }

/* ------------------------------------------------- book index */

.book-head {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2rem;
  text-align: center;
}
.book-head h1 {
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 .6rem;
}
.fr-title {
  font-style: italic;
  color: var(--ink-soft);
  margin: 0 0 1.2rem;
}
.book-head .standfirst { margin-bottom: 1.8rem; }

.bookstats {
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  list-style: none;
  margin: 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--rule);
}
.bookstats li {
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.bookstats span {
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--red);
  margin-bottom: .3rem;
}

.contents { max-width: 62rem; margin: 0 auto; padding: 0 1.5rem; }

.chap { margin: 0 0 2.6rem; }
.chap h2 {
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0 0 .9rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--rule);
}

.rlist {
  columns: 2;
  column-gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
.rlist li {
  break-inside: avoid;
  margin: 0 0 .5rem;
  line-height: 1.35;
}
.rlist a { color: var(--ink); text-decoration: none; }
.rlist a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.rlist span {
  display: block;
  font-style: italic;
  font-size: .86rem;
  color: var(--ink-faint);
}

/* ------------------------------------------------- one recipe */

.recipe { max-width: 62rem; margin: 0 auto; padding: 0 1.5rem; }

.recipe-head {
  max-width: 42rem;
  margin: 0 auto 2.2rem;
  text-align: center;
}
.chapter {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 .8rem;
}
.recipe-head h1 {
  font-size: clamp(1.7rem, 4.4vw, 2.4rem);
  font-weight: 400;
  line-height: 1.14;
  margin: 0 0 .45rem;
}
.prov {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: .8rem 0 0;
}

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.6rem;
  padding: 1.8rem 0 0;
  border-top: 1px solid var(--rule);
}

.col h2 {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 400;
  margin: 0 0 .8rem;
}
.col p { margin: 0; text-wrap: pretty; }
.col--fr p { font-style: italic; color: var(--ink-soft); }

/* a hairline between the two columns, as a parallel text has */
.col--en { border-left: 1px solid var(--rule); padding-left: 2.6rem; }

.note {
  max-width: 42rem;
  margin: 2.6rem auto 0;
  padding: 1.4rem 1.6rem;
  background: rgba(168, 38, 31, .05);
  border-left: 3px solid var(--red);
}
.note h2 {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 400;
  margin: 0 0 .6rem;
}
.note p { margin: 0; font-size: .97rem; text-wrap: pretty; }

.scan {
  margin: 3rem auto 0;
  max-width: 40rem;
  text-align: center;
}
.scan img {
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  box-shadow: 3px 4px 0 rgba(35, 32, 26, .12);
  background: var(--paper-deep);
}
.scan figcaption {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--ink-faint);
  margin-top: .8rem;
  line-height: 1.5;
}
.scan a { color: var(--red); }

.updated {
  max-width: 42rem;
  margin: 2.4rem auto 0;
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--ink-faint);
  text-align: center;
}

.pager {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 42rem;
  margin: 2rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .06em;
}
.pg { color: var(--ink-soft); text-decoration: none; max-width: 46%; }
.pg:hover { color: var(--red); }
.pg.next { margin-left: auto; text-align: right; }

@media (max-width: 680px) {
  .cols { grid-template-columns: 1fr; gap: 1.8rem; }
  .col--en { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 1.5rem; }
  .rlist { columns: 1; }
  .bookstats { gap: 1.4rem; }
}

/* The chapter heading is shown in English, with the printed original beneath —
   the same order the recipes use, so the page reads consistently. */
.chap-orig {
  font-style: italic;
  font-size: .92rem;
  color: var(--ink-faint);
  margin: -.55rem 0 .9rem;
}


/* ============================================================ modern recipe
   Added 2026-08-18 for books that have been through the modernise pass. The
   cookable version leads; the period text sits underneath as provenance.
   Deliberately reuses the atlas-plate vocabulary above -- same paper, same
   rules, same one red -- so a Chinese recipe page and a French edition page
   read as the same site. */

.recipe--modern { max-width: 46rem; }

.headnote {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
  text-wrap: pretty;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2.4rem;
  list-style: none;
  margin: 0 0 2.2rem;
  padding: .9rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.facts li { font-size: .98rem; }
.facts span {
  display: block;
  font-family: var(--sans);
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .2rem;
}

.cook {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: 2.6rem;
  align-items: start;
  margin: 0 0 2.4rem;
}

.cook h2 {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 400;
  margin: 0 0 .9rem;
}

.ingredients ul { list-style: none; margin: 0; padding: 0; }
.ingredients li {
  padding: .42rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: .96rem;
  line-height: 1.4;
}
.ingredients li:last-child { border-bottom: 0; }
.amt { font-variant-numeric: lining-nums; color: var(--red); }
.inote { display: block; font-size: .82rem; color: var(--ink-faint); }

.method ol { margin: 0; padding-left: 1.4rem; }
.method li { margin: 0 0 .9rem; text-wrap: pretty; }
.method li::marker { color: var(--red); font-variant-numeric: lining-nums; }

/* The honesty block. Not styled as a warning -- it is a feature. */
.supplied {
  margin: 0 0 2.4rem;
  padding: 1.2rem 1.4rem;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
}
.supplied h2 {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 400;
  margin: 0 0 .5rem;
}
.supplied-lede { margin: 0 0 .7rem; font-size: .9rem; color: var(--ink-soft); }
.supplied ul { margin: 0; padding-left: 1.1rem; }
.supplied li { font-size: .92rem; margin: 0 0 .35rem; }

.source {
  margin: 0 0 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
}
.source h2 {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 400;
  margin: 0 0 .9rem;
}
.orig-zh {
  font-size: 1.12rem;
  line-height: 1.9;
  color: var(--ink);
  margin: 0 0 .9rem;
}
.orig-en { font-style: italic; color: var(--ink-soft); margin: 0; text-wrap: pretty; }

@media (max-width: 620px) {
  .cook { grid-template-columns: 1fr; gap: 1.8rem; }
  .facts { gap: 0 1.6rem; }
}

/* The author speaking about THIS dish -- mined from his opening essays and
   placed high, because it is the line the reader repeats at the table. Set as a
   pull-quote, not a sidebar: it is the point, not an aside. */
.says {
  margin: 0 0 2rem;
  padding: 0 0 0 1.3rem;
  border-left: 3px solid var(--red);
}
.says p {
  font-size: 1.14rem;
  line-height: 1.5;
  margin: 0 0 .5rem;
  text-wrap: pretty;
}
.says footer {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.says cite { font-style: normal; }
.says-gloss {
  font-size: .9rem !important;
  color: var(--ink-soft);
  margin: .6rem 0 0 !important;
}

/* The author's creed on the book front page. Five lines, not thirty-five pages:
   a reader here is choosing something to cook, and what helps them is knowing
   what kind of cook wrote it. */
.creed {
  max-width: 62rem;
  margin: 0 auto 3rem;
  padding: 1.8rem 1.5rem 0;
  border-top: 1px solid var(--rule);
}
.creed h2 {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 400;
  margin: 0 0 .9rem;
}
.creed-lede {
  font-size: 1.04rem;
  color: var(--ink-soft);
  max-width: 40rem;
  margin: 0 0 1.6rem;
  text-wrap: pretty;
}
.creed ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.4rem 2.4rem;
}
.creed li { border-left: 2px solid var(--red); padding-left: .9rem; }
.creed li p { margin: 0 0 .4rem; text-wrap: pretty; }
.creed cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------------------------------------------------------------- warnings
   Byron, 2026-08-25: "we want to have our normal called out in red above the
   recipe. Don't do this, and the dangerous one as well."

   Sits ABOVE the article, before the dish name, because a reader who is going to
   cook a protected animal has to be stopped before they start reading the recipe,
   not informed halfway down a note.

   Deliberately NOT styled like .supplied, which is the honesty block a few
   hundred lines up and is explicitly "not a warning -- it is a feature". These
   two must never be mistaken for each other.

   Red is the site's warning colour and is reserved for it. Three severities, one
   visual family: the border weight and the head change, the body does not, so a
   page carrying several warnings still reads as one object. */
.warnbox {
  border: 1px solid var(--red);
  border-left-width: 6px;
  background: #f7ece7;
  padding: 1rem 1.15rem 0.85rem;
  margin: 0 0 1.6rem;
  font-family: var(--sans);
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--ink);
}
.warnbox--care { border-left-width: 5px; border-color: var(--red-soft); }
.warnbox--note {
  border-color: var(--rule);
  border-left-color: var(--ink-faint);
  border-left-width: 4px;
  background: var(--paper-deep);
}
.warn-head {
  margin: 0 0 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--red);
  font-size: 1.08rem;
  line-height: 1.3;
}
/* The stop tier shouts, and is meant to. Byron: "Write something far stronger."
   Only this tier gets the caps treatment; care and note stay sentence case so
   the difference between them is visible at a glance. */
.warnbox--stop .warn-head { font-size: 1.14rem; letter-spacing: 0.045em; }
.warnbox--note .warn-head { color: var(--ink-soft); }
.warn-item { margin: 0 0 0.55rem; }
.warn-tag {
  display: inline-block;
  margin-right: 0.45rem;
  padding: 0.08rem 0.42rem;
  border-radius: 2px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 0.06em;
  white-space: nowrap;
  background: var(--red);
  color: #fdf7f2;
}
.warn-tag--care { background: #b3463d; } /* was var(--red-soft) #c8574e, 4.0:1; 2026-11-12 WCAG AA */
.warn-tag--note { background: var(--ink-faint); }
.warn-closer {
  margin: 0.8rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px solid #e0cfc4;
  font-size: 0.86rem;
  font-style: italic;
  color: var(--ink-soft);
}
@media (max-width: 620px) {
  .warnbox { padding: 0.85rem 0.9rem 0.7rem; font-size: 0.9rem; }
  .warn-tag { display: inline-block; margin-bottom: 0.15rem; }
}

/* The Parma plates are the only images Nebbia may show, and the library asked to
   be named. Small, quiet, on its own line under the caption. */
.scan-credit {
  display: block;
  margin-top: .25rem;
  font-size: .82em;
  font-style: normal;
  letter-spacing: .02em;
  color: var(--ink-faint);
}
