/* Mr. Chili. A short guide to hot sauce with manners.
   Paper, ink, brass. One serif, one grotesque, hairline rules. */

:root {
  --paper: #F3ECDD;
  --paper-2: #EAE1CD;
  --ink: #191C24;
  --ink-2: #56534E;
  --rule: rgba(25, 28, 36, .3);
  --rule-strong: rgba(25, 28, 36, .7);
  --brass: #AB8C52;
  --hat: #1A2C41;
  --black: #0A0B0D;
  --chilli: #B3261E;
  --accent: var(--brass);

  --serif: 'Libre Caslon Text', 'Iowan Old Style', Georgia, serif;
  --display: 'Libre Caslon Display', 'Libre Caslon Text', Georgia, serif;
  --grot: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --gutter: clamp(1rem, 4vw, 4.5rem);
  --measure: 34em;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Reset, lightly */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(16px, .55vw + 13px, 19px); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.55;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  hanging-punctuation: first last;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ol, ul, figure, blockquote, table { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .16em; }
button { font: inherit; color: inherit; }
::selection { background: var(--brass); color: var(--paper); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
html[lang="de"] q { quotes: "\201E" "\201C" "\201A" "\2018"; }
q { quotes: "\201C" "\201D" "\2018" "\2019"; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -100vw; top: 0; padding: .5rem 1rem; background: var(--ink); color: var(--paper); }
.skip:focus { left: 1rem; z-index: 10; }

/* Type */
.label {
  font-family: var(--grot);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.4;
}
.small { font-size: .82rem; line-height: 1.5; }
.lede { font-size: 1.22rem; line-height: 1.45; max-width: var(--measure); }
p + p { margin-top: 1em; }
.sec-body > p { max-width: var(--measure); }
.link { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1px; }
.link:hover { text-decoration-color: var(--ink); }
.tag { color: var(--brass); margin-left: .5em; vertical-align: middle; }
mark.tc {
  background: transparent;
  color: var(--ink-2);
  font-family: var(--grot);
  font-size: .74em;
  letter-spacing: .02em;
  border-bottom: 1px dotted var(--rule);
}
.fn { margin-top: 1rem; color: var(--ink-2); }
.fn::before { content: '\2020\2009'; color: var(--brass); }

/* Buttons. Rectangular, ruled, small caps. */
.btn {
  display: inline-block;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  padding: .78em 1.4em .7em;
  font-family: var(--grot);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--paper); }
.btn-small { padding: .55em 1em .5em; font-size: .62rem; }
.add { display: inline-flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.add-note { font-style: italic; color: var(--brass); min-height: 1em; }
.add-note:empty { display: none; }

/* Page frame */
.page, .masthead-inner, .colophon-inner {
  max-width: 90rem;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Masthead */
.masthead { border-bottom: 1px solid var(--ink); position: relative; }
.masthead-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-top: 1.1rem; padding-bottom: 1rem; }
.wordmark { display: flex; align-items: stretch; gap: .6rem; text-decoration: none; }
.wordmark-mark { display: block; height: 2.35rem; width: auto; color: var(--ink); }
.wordmark-mark .bottle { height: 100%; width: auto; }
.wordmark-text { display: flex; flex-direction: column; justify-content: space-between; }
.wordmark-text span { display: block; line-height: .95; }
.wordmark-text { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: baseline; gap: clamp(1.5rem, 4vw, 4rem); }
.nav-list { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav-list a, .nav-aside a { white-space: nowrap; font-family: var(--grot); font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding-bottom: .2em; border-bottom: 1px solid transparent; }
.nav-list a:hover, .nav-aside a:hover { border-bottom-color: var(--ink); }
.nav-list a[aria-current] { border-bottom-color: var(--brass); }
.nav-no { color: var(--brass); margin-right: .15em; }
.nav-aside { display: flex; gap: 1.6rem; }
.lang { font-style: normal; }
.basket-count { color: var(--brass); }
.nav-toggle { display: none; }
.nav-burger { display: none; cursor: pointer; }

@media (max-width: 64em) {
  .masthead-inner { flex-wrap: wrap; align-items: center; }
  .nav-burger { display: block; }
  .nav-burger [data-close] { display: none; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 1.2rem; padding: 1.2rem 0 .5rem; border-top: 1px solid var(--rule); margin-top: 1rem; }
  .nav-list { flex-direction: column; gap: .8rem; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-toggle:checked ~ .nav-burger [data-open] { display: none; }
  .nav-toggle:checked ~ .nav-burger [data-close] { display: inline; }
}

/* Sections. Numbered, ruled, off-centre. */
.sec { padding: clamp(3rem, 7vw, 6.5rem) 0; border-top: 1px solid var(--rule); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; align-items: baseline; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.sec-no { grid-column: 1 / span 1; color: var(--brass); white-space: nowrap; }
.sec-title { grid-column: 2 / span 9; font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.05; letter-spacing: -.01em; }
.sec-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: 2rem; }
.sec-body { grid-column: 2 / span 7; min-width: 0; }
.sec-body-wide { grid-column: 2 / span 9; }
.sec-figure { grid-column: 9 / span 4; }
.sec-aside { grid-column: 10 / span 3; }
.marginalia {
  grid-column: 10 / span 3;
  align-self: start;
  border-top: 1px solid var(--brass);
  padding-top: .8rem;
  font-style: italic;
  color: var(--ink-2);
}
.marginalia .small { font-size: .85rem; }
.marginalia::before { content: '\2020'; display: block; color: var(--brass); font-style: normal; margin-bottom: .2rem; }
.marginalia p + p { margin-top: .6em; }

@media (max-width: 64em) {
  .sec-body, .sec-body-wide { grid-column: 1 / span 12; }
  .sec-title { grid-column: 2 / span 11; }
  .marginalia, .sec-aside, .sec-figure { grid-column: 3 / span 9; }
}
@media (max-width: 40em) {
  .sec-title { grid-column: 1 / -1; margin-top: .4rem; }
  .sec-head { row-gap: 0; }
  .marginalia, .sec-aside, .sec-figure { grid-column: 1 / -1; }
}

/* Page heads for inner pages */
.page-head { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: .8rem; }
.page-head > * { grid-column: 2 / span 9; }
.page-head > .label { color: var(--brass); }
.page-title { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 1; letter-spacing: -.015em; }
.page-lede { margin-top: .8rem; }
.page-jump { margin-top: 1rem; }
.page-jump .label { margin-right: .5em; color: var(--ink-2); }
@media (max-width: 40em) { .page-head > * { grid-column: 1 / -1; } }

/* Table of contents numbers (story cover, contents bar) */
.toc-no, .book-toc .toc-no { font-family: var(--grot); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); padding-top: .35em; min-width: 3.2em; }

/* The pairing menu card */
.menu-card {
  position: relative;
  border: 1px solid var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 4px;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  margin: 6px;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(2rem, 5vw, 4.5rem);
  row-gap: 2rem;
}
.menu-head { grid-column: 1 / -1; text-align: center; border-bottom: 1px solid var(--ink); padding-bottom: 1.6rem; }
.menu-est { color: var(--brass); }
.menu-title { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; margin-top: .6rem; }
.menu-intro { font-style: italic; color: var(--ink-2); margin: .9rem auto 0; max-width: 28em; }
.menu-list { grid-column: 1; }
.menu-list li + li { margin-top: .1rem; }
.menu-list label { --on: 0; display: flex; align-items: baseline; gap: .6em; cursor: pointer; padding: .55rem 0; font-size: 1.12rem; }
.menu-list label::before { content: ''; width: .9em; height: 1px; background: var(--brass); align-self: center; opacity: var(--on); transition: opacity .15s; flex: none; }
.menu-list label:hover .menu-dish { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: .18em; }
.menu-dish { transition: color .15s; flex: none; }
.menu-leader { flex: 1; border-bottom: 1px dotted var(--rule); transform: translateY(-.35em); min-width: 1.5rem; }
.menu-sauce-hint { text-align: right; font-style: italic; color: var(--ink-2); font-size: .9rem; opacity: calc(.55 + .45 * var(--on)); }
.menu-answers { grid-column: 2; border-left: 1px solid var(--rule); padding-left: clamp(1.5rem, 3vw, 2.5rem); min-height: 22rem; position: relative; }
.menu-answer { display: none; }
.menu-answer::before { display: none; }
.menu-empty { display: block; height: 100%; }
.menu-empty::before { display: none; }
.menu-await { font-style: italic; color: var(--ink-2); }
.cutout { height: auto; filter: drop-shadow(0 10px 6px rgba(25, 28, 36, .16)); }
.cutout-menu { width: 7.5rem; margin-top: 1.5rem; }
.cutout-basket { width: 5.5rem; margin-bottom: 2rem; }
.bottle-answer { width: 3.2rem; height: auto; margin-bottom: 1rem; color: var(--ink); }
.menu-answer .label { color: var(--ink-2); }
.menu-answer-name { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1; margin-top: .4rem; }
.menu-answer-sub { margin-top: .4rem; color: var(--ink-2); }
.menu-answer-note { font-size: 1.2rem; line-height: 1.4; margin-top: 1.2rem; }
.menu-answer-note::before { content: '\201C'; margin-left: -.45em; }
.menu-answer-note::after { content: '\201D'; }
html[lang="de"] .menu-answer-note::before { content: '\201E'; }
html[lang="de"] .menu-answer-note::after { content: '\201C'; }
.menu-answer-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.5rem; }
.menu-price { margin-top: .8rem; color: var(--ink-2); }
.menu-foot { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 1rem; text-align: center; }
.menu-card .fn { grid-column: 1 / -1; margin-top: 0; }
@media (max-width: 52em) {
  .menu-card { grid-template-columns: 1fr; }
  .menu-list, .menu-answers { grid-column: 1; }
  .menu-answers { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 1.5rem; min-height: 0; }
  .menu-empty { display: none; }
}

/* Sauce list */
.sauce-list { margin-top: 2rem; }
.sauce-row {
  display: grid;
  grid-template-columns: 2.4rem 3.4rem minmax(0, 1fr) minmax(13rem, 17rem);
  column-gap: 1.6rem; row-gap: 1rem;
  padding: 2rem 0 2rem 1.4rem;
  border-top: 1px solid var(--rule);
  border-left: 2px solid var(--accent);
}
.sauce-row:last-child { border-bottom: 1px solid var(--rule); }
.sauce-row-set { border-left-color: var(--brass); }
.sauce-no { color: var(--accent); padding-top: .55rem; }
.sauce-glyph { display: flex; align-items: flex-start; padding-top: .2rem; color: var(--ink); }
.bottle-row { width: 3.2rem; height: auto; flex: none; }
.sauce-glyph-set .bottle-row { width: 2rem; }
.sauce-glyph-set .bottle-row + .bottle-row { margin-left: -.6rem; }
.sauce-row-set .sauce-no { color: var(--brass); }
.sauce-name { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1; }
.sauce-name a { text-decoration: none; }
.sauce-name a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .1em; }
.sauce-sub { font-style: italic; color: var(--ink-2); margin-top: .35rem; }
.sauce-short { margin-top: .9rem; max-width: 30em; }
.sauce-main .small { margin-top: .8rem; color: var(--ink-2); }
.sauce-main .small .label { margin-right: .4em; }
.sauce-side { display: grid; gap: .9rem; align-content: start; padding-top: .35rem; }
.sauce-price { font-size: 1.1rem; }
.sauce-price .small { color: var(--ink-2); margin-left: .3em; }
.sauces-foot { margin-top: 1.2rem; color: var(--ink-2); }
@media (max-width: 52em) {
  .sauce-row { grid-template-columns: 2rem 2.8rem minmax(0, 1fr); column-gap: 1rem; }
  .bottle-row { width: 2.6rem; }
  .sauce-glyph-set .bottle-row { width: 1.6rem; }
  .sauce-side { grid-column: 3; }
}

/* Heat. Words on a ruled line. */
.heat { max-width: 22rem; }
.heat-name { color: var(--ink-2); }
.heat-rule { position: relative; height: 1px; background: var(--ink); margin: .7rem 0 .45rem; }
.heat-rule::before, .heat-rule::after { content: ''; position: absolute; top: -3px; width: 1px; height: 7px; background: var(--ink); }
.heat-rule::before { left: 0; }
.heat-rule::after { right: 0; }
.heat-mark { position: absolute; left: var(--pos); top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); transform: translateX(-50%); }
.heat-words { position: relative; height: 1.2em; font-family: var(--grot); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.heat-words li { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.heat-words li:nth-child(1) { left: 0; transform: none; }
.heat-words li:nth-child(2) { left: 33.333%; }
.heat-words li:nth-child(3) { left: 66.667%; }
.heat-words li:nth-child(4) { left: 100%; transform: translateX(-100%); }
.heat-words li.is-current { color: var(--ink); font-weight: 500; }
.heat-compact { max-width: 100%; }
.heat .fn { margin-top: .6rem; }

/* House rules */
.rules { margin-top: 0; }
.rule { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); column-gap: 1.2rem; padding: 1.6rem 0; border-top: 1px solid var(--rule); }
.rule:last-child { border-bottom: 1px solid var(--rule); }
.rule-no { grid-row: 1 / span 2; font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--brass); padding-top: .15rem; }
.rule-text { font-family: var(--display); font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }
.rule-sub { font-style: italic; color: var(--ink-2); margin-top: .5rem; max-width: 28em; }

/* Stockists and trade strip */
.stockists { margin-top: 1.5rem; max-width: 30rem; }
.stockists li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: .7rem 0; border-top: 1px solid var(--rule); }
.stockists li:last-child { border-bottom: 1px solid var(--rule); }
.stock-place { color: var(--ink-2); }
.trade-strip { border-top: 1px solid var(--brass); padding-top: .9rem; font-style: italic; }
.trade-strip p + p { margin-top: 1.2rem; }
.trade-strip .btn { font-style: normal; }

/* Correspondence */
.sec-correspondence { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.corr-title { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; }
.corr-line { font-style: italic; color: var(--ink-2); margin-top: .6rem; }
.corr-form, .inline-form { display: flex; gap: 1rem; align-items: flex-end; flex-wrap: wrap; margin-top: 1.6rem; max-width: 34rem; }
.corr-form input, .inline-form input { flex: 1 1 14rem; }

/* Forms. Ruled lines, not boxes. */
input:not([type="checkbox"]):not([type="radio"]), textarea, select {
  width: 100%;
  font: inherit;
  font-family: var(--serif);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: .55rem 0 .45rem;
  -webkit-appearance: none;
  appearance: none;
}
select { background-image: none; cursor: pointer; }
textarea { resize: vertical; line-height: 1.5; }
input:focus, textarea:focus, select:focus { outline: none; border-bottom-color: var(--brass); box-shadow: 0 1px 0 var(--brass); }
::placeholder { color: var(--ink-2); font-style: italic; opacity: 1; }
.form { display: block; }
.form-intro { font-style: italic; color: var(--ink-2); margin-bottom: 1.6rem; }
.field { display: grid; gap: .1rem; margin-bottom: 1.4rem; max-width: 34rem; }
.field label { font-family: var(--grot); font-size: .66rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.form .btn { margin-top: .5rem; }
.indisposed { font-style: italic; color: var(--ink-2); max-width: 26rem; }
.indisposed .inline-form { margin-top: .8rem; font-style: normal; }

/* Placeholders for photography, with the art direction on them. */
.placeholder { margin: 0; }
.placeholder-face {
  aspect-ratio: var(--ratio, 4 / 5);
  border: 1px solid var(--ink);
  outline: 1px solid var(--rule);
  outline-offset: -6px;
  background: var(--paper-2);
  padding: 1.1rem 1.2rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
}
.placeholder-face > .label { color: var(--ink-2); }
.placeholder-note { font-style: italic; color: var(--ink-2); font-size: .9rem; line-height: 1.45; max-width: 32em; }
.placeholder-note .label { display: block; margin-bottom: .3rem; font-style: normal; }
.placeholder figcaption { margin-top: .7rem; color: var(--ink-2); }

/* Photographs, tipped in as plates: black ground, hairline frame, caption */
.photo { margin: 0; }
.photo-frame { position: relative; background: var(--black); border: 1px solid var(--ink); padding: 8px; }
.photo-frame::after { content: ''; position: absolute; inset: 4px; border: 1px solid rgba(171, 140, 82, .55); pointer-events: none; }
.photo-frame img { display: block; width: 100%; height: auto; }
.photo figcaption { display: flex; gap: .8rem; align-items: baseline; margin-top: .7rem; }
.plate-no { color: var(--brass); flex: none; }
.photo-caption { font-style: italic; color: var(--ink-2); font-size: .9rem; }
.photo-frame-drawn { --hat: #2E4566; --paper: #0A0B0D; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; }
.bottle-drawn { width: 42%; height: auto; color: rgba(243, 236, 221, .85); }

/* Product page */
.product-head { padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.product-head-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: 1.2rem; }
.product-kicker { grid-column: 2 / span 6; color: var(--brass); }
.product-name { grid-column: 1 / span 7; font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 8vw, 7rem); line-height: .95; letter-spacing: -.02em; }
.product-sub { grid-column: 2 / span 6; font-style: italic; font-size: 1.3rem; color: var(--ink-2); }
.product-short { grid-column: 2 / span 6; }
.product-buy { grid-column: 2 / span 5; display: grid; gap: .8rem; margin-top: 1rem; }
.product-price { font-size: 1.25rem; }
.product-price .small { color: var(--ink-2); margin-left: .3em; }
.product-heat { grid-column: 2 / span 5; margin-top: 1.5rem; }
.product-figure { grid-column: 8 / span 5; grid-row: 1 / span 6; position: relative; align-self: start; }
.product-bottle { position: absolute; left: -7rem; bottom: 0; width: 6rem; color: var(--accent); }
.bottle-product { width: 100%; height: auto; }
@media (max-width: 64em) {
  .product-name { grid-column: 1 / span 12; }
  .product-kicker, .product-sub, .product-short, .product-buy, .product-heat { grid-column: 2 / span 6; }
  .product-figure { grid-column: 9 / span 4; grid-row: 2 / span 5; }
  .product-bottle { left: -3rem; width: 5rem; }
}
@media (max-width: 40em) {
  .product-kicker, .product-sub, .product-short, .product-buy, .product-heat, .product-figure { grid-column: 1 / -1; grid-row: auto; }
  .product-figure { margin-top: 1rem; }
  .product-bottle { left: auto; right: -.5rem; bottom: -1rem; width: 4.5rem; }
}
.stock-note { margin-top: 1rem; max-width: 30rem; }
.plate-key-empty { margin-top: .4rem; }
.notfor { font-family: var(--display); font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.15; max-width: 22em; }
.ingredients { max-width: var(--measure); margin-top: .6rem; margin-bottom: 2rem; }
.sec-body > h3.label { color: var(--ink-2); margin-top: 1rem; }
.sec-body > h3.label .small { text-transform: none; letter-spacing: 0; font-family: var(--serif); font-style: italic; margin-left: .4em; }
.nutrition { width: 100%; max-width: 30rem; border-collapse: collapse; margin-top: .8rem; margin-bottom: 1rem; }
.nutrition th, .nutrition td { border-top: 1px solid var(--rule); padding: .55rem 0; text-align: left; font-weight: 400; vertical-align: top; }
.nutrition th.sub { padding-left: 1.2rem; font-style: italic; color: var(--ink-2); }
.nutrition td { text-align: right; font-variant-numeric: tabular-nums; }
.nutrition tr:last-child th, .nutrition tr:last-child td { border-bottom: 1px solid var(--rule); }
.belongs { max-width: 36rem; }
.belongs li { display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr; gap: 1.5rem; padding: .9rem 0; border-top: 1px solid var(--rule); }
.belongs li:last-child { border-bottom: 1px solid var(--rule); }
.belongs-dish { font-family: var(--display); font-size: 1.2rem; }
.belongs-note { font-style: italic; color: var(--ink-2); }
@media (max-width: 40em) { .belongs li { grid-template-columns: 1fr; gap: .2rem; } }
.also { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin-top: 1rem; }
.also a { display: block; text-decoration: none; border-top: 2px solid var(--accent); padding-top: .8rem; min-width: 14rem; }
.also-name { display: block; font-family: var(--display); font-size: 1.8rem; line-height: 1; }
.also-sub { display: block; font-style: italic; color: var(--ink-2); margin-top: .3rem; }
.also a:hover .also-name { text-decoration: underline; text-decoration-color: var(--accent); }

/* The annotated plate */
.plate-wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.plate svg { width: 100%; height: auto; color: var(--ink); }
.plate figcaption { margin-top: .6rem; text-align: center; font-style: italic; color: var(--ink-2); }
.plate-key { counter-reset: key; padding-top: .3rem; }
.plate-key li { counter-increment: key; display: grid; grid-template-columns: 2rem 1fr; column-gap: .6rem; padding: .6rem 0; border-top: 1px solid var(--rule); }
.plate-key li:last-child { border-bottom: 1px solid var(--rule); }
.plate-key li::before { content: counter(key); font-family: var(--grot); font-size: .68rem; letter-spacing: .1em; color: var(--brass); padding-top: .35em; grid-row: 1 / span 2; }
.k-name { font-size: 1.05rem; }
.k-job { grid-column: 2; font-style: italic; color: var(--ink-2); }
.plate-placeholder { max-width: 26rem; }
@media (max-width: 52em) { .plate-wrap { grid-template-columns: 1fr; } .plate { max-width: 28rem; } }

/* Pairings table */
.pairings { width: 100%; border-collapse: collapse; margin-top: 1.6rem; }
.pairings th, .pairings td { border-top: 1px solid var(--rule); padding: 1rem 1.2rem .9rem 0; text-align: left; vertical-align: top; font-weight: 400; }
.pairings tbody tr:last-child th, .pairings tbody tr:last-child td { border-bottom: 1px solid var(--rule); }
.pairings thead th { font-family: var(--grot); font-size: .64rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); border-top: 0; padding-top: 0; }
.pairings tbody th { font-family: var(--display); font-size: 1.2rem; white-space: nowrap; }
.pair-sauce { text-decoration: none; border-bottom: 2px solid var(--accent); white-space: nowrap; }
.pair-note { font-style: italic; color: var(--ink-2); }
.pair-add { text-align: right; white-space: nowrap; }
.pair-add .add { justify-content: flex-end; }
@media (max-width: 52em) {
  .pairings thead { display: none; }
  .pairings tr { display: grid; grid-template-columns: 1fr auto; padding: .9rem 0; border-top: 1px solid var(--rule); }
  .pairings th, .pairings td { border: 0; padding: .1rem 0; }
  .pairings tbody th { grid-column: 1; }
  .pairings td:nth-child(2) { grid-column: 1; }
  .pair-note { grid-column: 1 / -1; margin-top: .3rem; }
  .pair-add { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
  .pairings tbody tr:last-child { border-bottom: 1px solid var(--rule); }
}

/* The story, as a short book */
.book-cover { padding: clamp(3rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem); }
.book-cover-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: 1.2rem; }
.book-cover-grid > .label { grid-column: 2 / span 6; color: var(--brass); }
.book-title { grid-column: 1 / span 8; font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 9vw, 8rem); line-height: .95; letter-spacing: -.02em; }
.book-sub { grid-column: 2 / span 6; font-style: italic; font-size: 1.3rem; color: var(--ink-2); max-width: 24em; }
.book-mark { grid-column: 10 / span 2; grid-row: 1 / span 3; align-self: end; justify-self: center; }
.bottle-book { width: clamp(5rem, 9vw, 7.5rem); height: auto; }
.book-editorial { grid-column: 2 / span 6; margin-top: 1rem; }
.book-toc { grid-column: 9 / span 4; grid-row: 4; border-top: 1px solid var(--rule); padding-top: .8rem; }
.book-toc li { border-bottom: 1px dotted var(--rule); }
.book-toc a { display: flex; gap: .8rem; padding: .5rem 0; text-decoration: none; }
.book-toc a:hover { text-decoration: underline; text-decoration-color: var(--brass); }
@media (max-width: 64em) {
  .book-title { grid-column: 1 / span 12; }
  .book-mark { grid-column: 10 / span 3; grid-row: 2 / span 3; }
  .book-toc { grid-column: 2 / span 7; }
}
@media (max-width: 40em) {
  .book-cover-grid > .label, .book-sub, .book-editorial, .book-toc { grid-column: 1 / -1; }
  .book-mark { grid-column: 1 / -1; grid-row: auto; justify-self: start; }
}
.chapter { border-top: 1px solid var(--rule); padding: clamp(3rem, 7vw, 6rem) 0; }
.chapter-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: 1.5rem; position: relative; }
.chapter-no { grid-column: 1 / span 2; color: var(--brass); padding-top: .6rem; }
.chapter-title { grid-column: 3 / span 8; font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
.chapter-body { grid-column: 3 / span 6; font-size: 1.1rem; line-height: 1.55; }
.chapter:nth-child(even) .chapter-body { grid-column: 4 / span 6; }
.chapter-body p { max-width: 32em; }
.chapter-first::first-letter { font-family: var(--display); font-size: 3.4em; line-height: .78; float: left; padding: .08em .12em 0 0; color: var(--brass); }
.chapter-body .rules { margin-top: .5rem; }
.pull { grid-column: 10 / span 3; align-self: start; border-top: 1px solid var(--brass); padding-top: 1rem; font-family: var(--display); font-style: italic; font-size: 1.5rem; line-height: 1.2; }
.pull p::before { content: '\201C'; margin-left: -.5em; }
.pull p::after { content: '\201D'; }
html[lang="de"] .pull p::before { content: '\201E'; }
html[lang="de"] .pull p::after { content: '\201C'; }
.chapter-figure { grid-column: 9 / span 4; }
.chapter:nth-child(even) .chapter-figure { grid-column: 10 / span 3; }
.folio { position: absolute; right: 0; bottom: -1.5rem; color: var(--ink-2); }
@media (max-width: 64em) {
  .chapter-title, .chapter-body, .chapter:nth-child(even) .chapter-body { grid-column: 3 / span 9; }
  .pull, .chapter-figure, .chapter:nth-child(even) .chapter-figure { grid-column: 4 / span 8; }
}
@media (max-width: 40em) {
  .chapter-no, .chapter-title, .chapter-body, .chapter:nth-child(even) .chapter-body, .pull, .chapter-figure, .chapter:nth-child(even) .chapter-figure { grid-column: 1 / -1; }
}
.book-end { border-top: 1px solid var(--ink); padding: clamp(3rem, 6vw, 5rem) 0; text-align: center; }
.book-end-line { font-family: var(--display); font-style: italic; font-size: 1.5rem; margin-bottom: 1.6rem; }

/* Basket */
.basket-empty { padding: 1rem 0 2rem; }
.basket-empty-line { font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.1; margin-bottom: 1.5rem; }
.basket-empty .bottle-small { margin-bottom: 2rem; }
.bottle-small { width: 4.5rem; height: auto; color: var(--ink-2); }
.basket-table { width: 100%; border-collapse: collapse; }
.basket-table th, .basket-table td { border-top: 1px solid var(--rule); padding: 1rem 1rem 1rem 0; text-align: left; vertical-align: top; font-weight: 400; }
.basket-table thead th { font-family: var(--grot); font-size: .64rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); border-top: 0; padding-top: 0; }
.basket-table tbody th { border-left: 2px solid var(--accent); padding-left: 1rem; }
.basket-item-name { font-family: var(--display); font-size: 1.4rem; line-height: 1; }
.basket-item-sub { display: block; font-style: italic; color: var(--ink-2); margin-top: .3rem; }
.basket-qty { display: inline-flex; align-items: center; border: 1px solid var(--ink); }
.basket-qty button { width: 2rem; height: 2rem; border: 0; background: transparent; cursor: pointer; font-family: var(--grot); }
.basket-qty button:hover { background: var(--ink); color: var(--paper); }
.basket-qty output { min-width: 2rem; text-align: center; font-variant-numeric: tabular-nums; }
.basket-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.basket-remove { background: none; border: 0; padding: 0; font-family: var(--grot); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.basket-totals { margin-top: 1rem; margin-left: auto; max-width: 24rem; }
.basket-totals div { display: flex; justify-content: space-between; gap: 2rem; padding: .7rem 0; border-top: 1px solid var(--rule); }
.basket-totals .grand { font-size: 1.2rem; border-top: 1px solid var(--ink); }
.basket-totals .num { font-variant-numeric: tabular-nums; }
.basket-foot { margin-top: 1.5rem; display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.basket-note { font-style: italic; color: var(--ink-2); }
@media (max-width: 40em) {
  .basket-table thead { display: none; }
  .basket-table tr { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; padding: 1rem 0; border-top: 1px solid var(--rule); }
  .basket-table th, .basket-table td { border: 0; padding: 0; }
  .basket-table tbody th { grid-column: 1 / -1; }
}

/* Plain pages */
.sec-plain { border-top: 0; padding-top: clamp(3rem, 8vw, 7rem); min-height: 50vh; }
.sec-plain .lede { margin-top: 1rem; margin-bottom: 2rem; }
.sec-plain .btn + .link { margin-left: 1.2rem; }
.sec-404 .marginalia::before { display: none; }
.sec-plain .marginalia { border-top: 0; }
.bottle-404 .hat { transform: rotate(26deg) translate(18px, 6px); }
.address p { font-style: normal; }
.address { font-style: normal; }
.sec-legal { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.sec-legal .sec-title { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.trade-bottle { padding-top: .5rem; }

/* Colophon */
.colophon { border-top: 1px solid var(--ink); margin-top: clamp(3rem, 6vw, 5rem); }
.colophon-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: 2rem; padding-top: 2.5rem; padding-bottom: 2rem; }
.colophon-brand { grid-column: 1 / span 4; }
.colophon-name { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; line-height: 1; letter-spacing: .08em; text-transform: uppercase; }
.colophon-line { font-style: italic; color: var(--ink-2); margin-top: .4rem; }
.colophon-brand .small { margin-top: 1rem; color: var(--ink-2); }
.colophon-nav { grid-column: 6 / span 7; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
.colophon-nav a { font-family: var(--grot); font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; display: inline-block; padding: .35rem 0; border-bottom: 1px solid transparent; }
.colophon-nav a:hover { border-bottom-color: var(--ink); }
.colophon-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; border-top: 1px solid var(--rule); padding-top: 1rem; color: var(--ink-2); }
.colophon-foot .folio { position: static; font-style: italic; }
@media (max-width: 52em) { .colophon-brand, .colophon-nav { grid-column: 1 / -1; } }

/* Motion. One hat tip, one page turn. Nothing else. */
.hat { transform-origin: 80px 96px; transform-box: view-box; }
@media (prefers-reduced-motion: no-preference) {
  .page { animation: page-in .46s var(--ease) both; transform-origin: 0% 50%; }
  body.is-leaving .page { animation: page-out .2s ease-in both; }
  .bottle.is-tipping .hat { animation: hat-tip .75s cubic-bezier(.3, .7, .3, 1); }
}
@keyframes page-in {
  from { opacity: 0; transform: perspective(1600px) rotateY(-2.5deg) translateX(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes page-out {
  to { opacity: 0; transform: perspective(1600px) rotateY(2deg) translateX(-8px); }
}
@keyframes hat-tip {
  0% { transform: none; }
  40% { transform: translate(-5px, -12px) rotate(-20deg); }
  100% { transform: none; }
}

@media print {
  .masthead, .colophon, .btn, .add, .corr-form { display: none; }
  body { background: white; }
}

/* ============================================================
   Second edition. Weight, depth, and the product on black.
   ============================================================ */

html, body { overflow-x: clip; }

/* Paper grain, laid over everything at low strength */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Full-bleed bands */
.bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.band-inner { max-width: 90rem; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.band { background: var(--paper-2); border-top: 1px solid var(--rule); }
.dark { background: var(--black); color: var(--paper); --ink: #F3ECDD; --ink-2: #BDB4A2; --rule: rgba(243, 236, 221, .22); --paper: #F3ECDD; --hat: #2E4566; border-top: 0; }
.dark .sec-title, .dark .lede { color: var(--paper); }
.dark ::selection { background: var(--brass); color: var(--black); }
.btn-light { border-color: var(--paper); color: var(--paper); }
.btn-light:hover, .btn-light:focus-visible { background: var(--paper); color: var(--black); }
.link-light { color: var(--paper); text-decoration-color: var(--brass); }
.heat-light .heat-rule, .heat-light .heat-rule::before, .heat-light .heat-rule::after, .heat-light .heat-mark { background: var(--paper); }
.heat-light .heat-words li.is-current { color: var(--paper); }
.dark .add-note { color: var(--brass); }

/* Masthead ear */
.ear { border-bottom: 1px solid var(--rule); }
.ear-inner { max-width: 90rem; margin: 0 auto; padding: .45rem var(--gutter); display: flex; justify-content: space-between; gap: 2rem; color: var(--ink-2); }
.ear .label { font-size: .58rem; letter-spacing: .2em; }
@media (max-width: 40em) { .ear-right { display: none; } }
.masthead-inner { padding-top: 1.3rem; padding-bottom: 1.2rem; }
.wordmark-text { font-size: 1.2rem; }

/* The seal */
/* The wax seal. Each impression sits at its own slight angle, as a hand-stamped seal would. */
.seal { width: 9.5rem; height: 9.5rem; display: block; transform: rotate(var(--tilt, 0deg)) scale(var(--press, 1)); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .28)); }
.seal-small { width: 6.75rem; height: 6.75rem; }
.opening-seal .seal { --tilt: -7deg; --press: 1.02; }
.product-seal .seal { --tilt: 5deg; }
.corr-seal .seal { --tilt: 4deg; --press: .98; }
.colophon-seal .seal { --tilt: -5deg; }

/* Opening: the product on black, the line crossing into it */
.opening { position: relative; background: var(--black); color: var(--paper); --paper: #F3ECDD; --hat: #2E4566; min-height: min(92vh, 62rem); display: flex; align-items: stretch; padding: 0; overflow: hidden; }
.opening-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; }
.opening-photo::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(171, 140, 82, .45); pointer-events: none; }
.opening-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; display: block; }
.opening-inner { position: static; z-index: 1; width: 100%; max-width: 90rem; margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; align-content: space-between; row-gap: 2.5rem; }
.opening-kicker { grid-column: 1 / span 4; color: var(--brass); position: relative; z-index: 1; }
.opening-line, .opening-text, .opening-actions, .opening-plate { position: relative; z-index: 1; }
html[lang="de"] .opening-line { font-size: clamp(2.7rem, 6.8vw, 7rem); }
.opening-line { grid-column: 1 / span 7; font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 8vw, 8.2rem); line-height: .94; letter-spacing: -.025em; color: var(--paper); text-wrap: balance; }
.opening-text { grid-column: 1 / span 5; font-size: 1.12rem; line-height: 1.55; color: var(--ink-2); --ink-2: #CFC6B2; }
.opening-actions { grid-column: 1 / span 6; display: flex; gap: 1.6rem; align-items: center; flex-wrap: wrap; margin-top: -1rem; }
.opening-seal { position: absolute; top: clamp(1.5rem, 3vw, 2.5rem); right: calc(50% + 1.6rem); }
.opening-plate { grid-column: 1 / span 5; align-self: end; justify-self: start; color: var(--ink-2); --ink-2: #BDB4A2; }
@media (max-width: 64em) {
  .opening-photo { width: 44%; }
  .opening-line { grid-column: 1 / span 7; font-size: clamp(2.6rem, 6.2vw, 5rem); }
  html[lang="de"] .opening-line { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
  .opening-text, .opening-actions { grid-column: 1 / span 6; }
  .opening-seal { display: none; }
}
@media (max-width: 52em) {
  .opening { display: block; min-height: 0; }
  .opening-photo { position: relative; width: 100%; height: 72vw; max-height: 34rem; }
  .opening-photo img { object-position: 50% 42%; }
  .opening-inner { padding-top: 2.5rem; row-gap: 1.6rem; }
  .opening-kicker, .opening-line, .opening-text, .opening-actions, .opening-plate { grid-column: 1 / -1; }
  .opening-plate { justify-self: start; margin: 0; }
}

/* Contents bar under the opening */
.contents-bar { display: flex; align-items: baseline; gap: 2rem; padding: 1rem 0; border-bottom: 1px solid var(--ink); overflow-x: auto; }
.contents-label { color: var(--ink-2); flex: none; }
.contents-bar ol { display: flex; gap: clamp(1.4rem, 3vw, 3rem); }
.contents-bar a { display: flex; gap: .55rem; align-items: baseline; text-decoration: none; white-space: nowrap; font-size: .98rem; }
.contents-bar a:hover span:last-child { text-decoration: underline; text-decoration-color: var(--brass); }
.contents-bar .toc-no { min-width: 0; padding-top: 0; }

/* Sections: Oxford rule and a stronger number */
.sec { border-top: 0; }
.sec-head { position: relative; padding-top: 1.4rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.sec-head::before { content: ''; position: absolute; left: 0; right: 0; top: 0; border-top: 2px solid var(--ink); }
.sec-head::after { content: ''; position: absolute; left: 0; right: 0; top: 4px; border-top: 1px solid var(--ink); }
.dark .sec-head::before, .dark .sec-head::after { border-color: var(--paper); }
.sec-no { font-family: var(--display); font-size: 1.35rem; letter-spacing: 0; text-transform: none; color: var(--brass); font-weight: 400; }
.sec-title { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.page-head { border-top: 0; }

/* The menu on a laid table */
.sec-menu { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6.5rem); }
.sec-menu .menu-card { background: var(--paper); margin: 8px; }
.menu-title { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
.menu-list label { font-size: 1.2rem; padding: .62rem 0; }

/* The three sauces, on black */
.sec-sauces { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.sauces-lede { margin: -1rem 0 2.5rem; max-width: 36em; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.trio-item { background: var(--black); padding: clamp(1.6rem, 3vw, 2.8rem) clamp(1.2rem, 2.4vw, 2.2rem) clamp(1.8rem, 3vw, 2.6rem); display: grid; grid-template-rows: auto auto auto auto 1fr auto auto; position: relative; }
.trio-no { color: var(--brass); position: absolute; top: 1.4rem; left: 1.4rem; }
.trio-figure { display: block; margin: 1.5rem auto 1.6rem; width: clamp(7rem, 11vw, 10rem); color: rgba(243, 236, 221, .82); }
.trio-figure .bottle { width: 100%; height: auto; }
.trio-name { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1; letter-spacing: -.01em; }
.trio-name a { text-decoration: none; }
.trio-name a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .12em; }
.trio-sub { font-style: italic; color: var(--ink-2); margin-top: .4rem; }
.trio-short { margin-top: 1rem; color: var(--paper); max-width: 26em; }
.trio-item .heat { margin-top: 1.6rem; max-width: 100%; }
.trio-buy { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); }
.trio-price { font-size: 1.15rem; }
.trio-price .small { color: var(--ink-2); margin-left: .3em; }
.set-band { margin-top: 1px; border: 1px solid var(--rule); border-top: 0; display: grid; grid-template-columns: minmax(10rem, 16rem) minmax(0, 1fr) minmax(14rem, 18rem); gap: 2rem; align-items: center; padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1.2rem, 2.4vw, 2.2rem); }
.set-figure { display: flex; justify-content: center; color: rgba(243, 236, 221, .82); }
.set-figure .bottle { width: 3.6rem; height: auto; }
.set-figure .bottle + .bottle { margin-left: -.9rem; }
.set-name { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; margin-top: .3rem; }
.set-sub { font-style: italic; color: var(--ink-2); margin-top: .3rem; }
.set-note { margin-top: .8rem; max-width: 40em; color: var(--ink-2); }
.set-buy { display: grid; gap: .8rem; justify-items: start; }
.set-ship { color: var(--ink-2); }
@media (max-width: 64em) {
  .trio { grid-template-columns: 1fr; }
  .trio-item { grid-template-columns: 7rem minmax(0, 1fr); grid-template-rows: none; column-gap: 1.6rem; }
  .trio-figure { grid-row: 1 / span 6; margin: 0; width: 7rem; align-self: start; }
  .trio-no { position: static; grid-column: 2; }
  .trio-name, .trio-sub, .trio-short, .trio-item .heat, .trio-buy { grid-column: 2; }
  .set-band { grid-template-columns: 1fr; justify-items: start; }
}

/* House rules, set large across the page */
.rules-grand { max-width: none; }
.rules-grand .rule { grid-template-columns: 6rem minmax(0, 1fr); padding: 2.2rem 0; }
.rules-grand .rule-no { font-size: clamp(3rem, 5vw, 5rem); }
.rules-grand .rule-text { font-size: clamp(1.8rem, 4vw, 3.6rem); max-width: 16em; }
.rules-grand .rule-sub { font-size: 1.1rem; }
@media (max-width: 40em) { .rules-grand .rule { grid-template-columns: 3.4rem minmax(0, 1fr); } }

/* The story teaser */
.story-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: 2rem; }
.story-figure { grid-column: 1 / span 5; }
.story-text { grid-column: 7 / span 5; font-size: 1.12rem; }
.story-lede { font-size: 1.28rem; line-height: 1.45; }
.story-text .btn { margin-top: .6rem; }
.story-pull { grid-column: 7 / span 5; margin-top: 1rem; }
@media (max-width: 52em) { .story-figure, .story-text, .story-pull { grid-column: 1 / -1; } .story-figure { max-width: 26rem; } }

/* Correspondence with the seal */
.sec-correspondence { border-top: 2px solid var(--ink); border-bottom: 0; }
.corr-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; align-items: center; }
.corr-seal { grid-column: 1 / span 2; }
.corr-body { grid-column: 3 / span 8; }
@media (max-width: 52em) { .corr-seal { display: none; } .corr-body { grid-column: 1 / -1; } }

/* Colophon, grand */
.colophon { background: var(--black); color: var(--paper); --ink: #F3ECDD; --ink-2: #BDB4A2; --rule: rgba(243, 236, 221, .22); border-top: 0; margin-top: 0; }
.colophon-inner { position: relative; padding-top: 3rem; padding-bottom: 2rem; overflow: hidden; }
.colophon-grand { grid-column: 1 / -1; font-family: var(--serif); font-weight: 700; font-size: clamp(3rem, 11.5vw, 11.5rem); line-height: .9; letter-spacing: .06em; text-transform: uppercase; color: rgba(243, 236, 221, .1); margin-bottom: 1rem; white-space: nowrap; user-select: none; }
.colophon-seal { position: absolute; right: var(--gutter); top: 3rem; }
.seal-foot { width: 7rem; height: 7rem; }
.colophon-brand .small { color: var(--ink-2); }
.colophon-nav a { color: var(--paper); }
.colophon-nav a:hover { border-bottom-color: var(--paper); }
.colophon-foot { color: var(--ink-2); }
@media (max-width: 52em) { .colophon-seal { display: none; } }

/* Product page, split hero on black */
.product-head { position: relative; background: var(--black); color: var(--paper); --paper: #F3ECDD; --ink: #F3ECDD; --ink-2: #BDB4A2; --rule: rgba(243, 236, 221, .22); --hat: #2E4566; padding: 0; min-height: min(88vh, 58rem); display: flex; overflow: hidden; }
.product-photo-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 48%; }
.product-photo-panel::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(171, 140, 82, .45); pointer-events: none; }
.product-photo-panel img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; display: block; }
.product-drawn { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.product-drawn .bottle { width: 38%; height: auto; color: rgba(243, 236, 221, .85); }
.product-head-inner { position: static; z-index: 1; width: 100%; max-width: 90rem; margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) var(--gutter) clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: 1.2rem; align-content: start; }
.product-kicker { grid-column: 1 / span 6; color: var(--brass); }
.product-kicker, .product-name, .product-sub, .product-short, .product-buy, .product-heat, .product-plate { position: relative; z-index: 1; }
.product-name { grid-column: 1 / span 7; font-size: clamp(3.4rem, 9vw, 9rem); line-height: .92; color: var(--paper); }
.product-sub { grid-column: 1 / span 5; font-size: 1.35rem; }
.product-short { grid-column: 1 / span 5; font-size: 1.15rem; line-height: 1.5; color: var(--paper); max-width: 28em; }
.product-buy { grid-column: 1 / span 6; display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; margin-top: .6rem; }
.product-price { font-size: 1.35rem; }
.product-heat { grid-column: 1 / span 4; margin-top: 1.2rem; }
.product-plate { grid-column: 1 / span 5; align-self: end; margin-top: 2.5rem; color: var(--ink-2); }
.product-seal { position: absolute; top: clamp(1.5rem, 3vw, 2.5rem); right: calc(52% + 1.6rem); }
@media (max-width: 64em) {
  .product-photo-panel { width: 42%; }
  .product-name { grid-column: 1 / span 7; font-size: clamp(3rem, 8vw, 6rem); }
  .product-kicker, .product-sub, .product-short, .product-buy, .product-heat, .product-plate { grid-column: 1 / span 6; }
  .product-seal { display: none; }
}
@media (max-width: 52em) {
  .product-head { display: block; min-height: 0; }
  .product-photo-panel { position: relative; width: 100%; height: 80vw; max-height: 32rem; }
  .product-kicker, .product-name, .product-sub, .product-short, .product-buy, .product-heat, .product-plate { grid-column: 1 / -1; grid-row: auto; }
  .product-plate { margin-top: 1rem; }
}
.product .sec:first-of-type { padding-top: clamp(3rem, 7vw, 6rem); }

/* ============================================================
   Small screens and touch.
   ============================================================ */
@media (max-width: 40em) {
  .sec-grid, .sec-head, .page-head, .story-grid, .corr-grid, .opening-inner, .product-head-inner, .chapter-grid, .book-cover-grid, .colophon-inner { column-gap: .5rem; }
  .label { font-size: .72rem; }
  .ear .label { font-size: .62rem; }
  .heat-words { font-size: .66rem; }
  .toc-no, .book-toc .toc-no { font-size: .66rem; }
  mark.tc { font-size: .82em; }
  .plate-no { font-size: .66rem; }
  .colophon-foot { flex-direction: column; gap: .4rem; }
}
@media (max-width: 52em) {
  .contents-bar { flex-wrap: wrap; overflow: visible; row-gap: .4rem; }
  .contents-bar ol { flex-wrap: wrap; gap: .3rem 1.4rem; }
  .contents-bar a { white-space: normal; }
}
@media (pointer: coarse) {
  .btn { min-height: 44px; padding: .9em 1.5em .85em; display: inline-flex; align-items: center; }
  .btn-small { min-height: 40px; padding: .6em 1.1em; }
  .nav-burger { padding: .9rem 0 .9rem 1.2rem; margin: -.9rem 0; }
  .nav-list a, .nav-aside a, .colophon-nav a { display: inline-block; padding: .6rem 0; }
  .nav-list { gap: .2rem; }
  .basket-qty button { width: 2.75rem; height: 2.75rem; }
  .basket-qty output { min-width: 2.5rem; }
  .basket-remove { padding: .7rem 0; }
  .link { display: inline-block; padding: .35rem 0; }
  .menu-list label { padding: .85rem 0; }
  .contents-bar a { padding: .45rem 0; }
  .page-jump .link { padding: .5rem 0; }
  input:not([type="checkbox"]):not([type="radio"]), select, textarea { font-size: 16px; padding: .7rem 0 .6rem; }
  .corr-form input, .inline-form input { min-height: 44px; }
}
@media (max-width: 52em) {
  .trio-item .heat-words li:not(.is-current) { display: none; }
  .trio-item .heat-words li.is-current { font-size: .7rem; }
  .basket-table td.num:last-child { grid-column: 2; justify-self: end; text-align: right; }
  .basket-table td:nth-child(2) { align-self: center; }
}
@media (max-width: 40em) {
  .trio-item { grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: 1.2rem; }
  .trio-figure { width: 5.5rem; }
}

/* The dish, when the card has a photograph of it */
.menu-photo { display: block; width: 100%; max-width: 20rem; height: auto; border: 1px solid var(--ink); padding: 5px; background: var(--paper); margin-bottom: 1.2rem; }
@media (max-width: 52em) { .menu-photo { max-width: 100%; } }

/* Choice lists in forms */
.field-choices { border: 0; padding: 0; margin: 0 0 1.4rem; max-width: 34rem; }
.field-choices legend { color: var(--ink-2); margin-bottom: .5rem; }
.choice { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; cursor: pointer; }
.choice input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--ink); }
@media (max-width: 52em) { .colophon-nav { grid-template-columns: 1fr 1fr; } }
