@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/InstrumentSerif-Regular-93698d45.ttf") format("truetype");
}

:root {
  --paper: #f7f5f0;
  --surround: #e9e6e0;
  --ink: #1a1815;
  --muted-ink: #625e58;
  --quiet-ink: #6f6a64;
  --faint-ink: #9a948c;
  --field: #ece8e0;
  --panel: #f1eee7;
  --hairline: rgb(26 24 21 / 12%);
  --display: "Instrument Serif", Georgia, serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --label: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  background: var(--surround);
  color: var(--ink);
  font-family: var(--body);
}

body { margin: 0; }

.page {
  width: min(100%, 48rem);
  min-height: 100vh;
  margin-inline: auto;
  background: var(--paper);
}

a { color: inherit; }

a:focus-visible {
  border-radius: 0.2rem;
  outline: 0.15rem solid currentColor;
  outline-offset: 0.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* One sticky bar on every page. It is the only chrome the site has, so it stays
   quiet: a hairline, a wash of paper, and nothing that moves. */
.bar {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8125rem 1.125rem;
  border-bottom: 1px solid rgb(26 24 21 / 14%);
  background: rgb(247 245 240 / 94%);
}

@supports ((backdrop-filter: blur(1rem)) or (-webkit-backdrop-filter: blur(1rem))) {
  .bar {
    -webkit-backdrop-filter: blur(0.625rem);
    backdrop-filter: blur(0.625rem);
    background: rgb(247 245 240 / 82%);
  }
}

.bar__lockup {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.mark {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.bar__wordmark {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.015em;
}

.bar__status {
  flex: none;
  margin: 0 0 0 auto;
  color: var(--quiet-ink);
  font-family: var(--label);
  font-size: 0.59375rem;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bar__status:empty { display: none; }

.cocktail-index { padding: 1.25rem 1.125rem 3rem; }

.cocktail-card h2,
.cocktail-card h3,
.recipe h1 {
  font-family: var(--display);
  font-weight: 400;
}

.cocktail-index__empty {
  margin: 0;
  padding-top: 1.5rem;
  color: var(--muted-ink);
  font-size: 0.9375rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.filters__clear {
  color: var(--quiet-ink);
  font-family: var(--label);
  font-size: 0.65625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-underline-offset: 0.2em;
}

.filters__group {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 26rem;
}

.filters__group h2 {
  margin: 0 0 0.5625rem;
  color: var(--faint-ink);
  font-family: var(--label);
  font-size: 0.59375rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.facets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.facet {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgb(26 24 21 / 20%);
  border-radius: 0.125rem;
  color: var(--muted-ink);
  font-family: var(--label);
  font-size: 0.65625rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.facet__count,
.facet__release {
  color: var(--quiet-ink);
  font-variant-numeric: tabular-nums;
}

.facet--empty {
  border-style: dashed;
  color: var(--faint-ink);
}

.facet--selected {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.facet--selected .facet__count,
.facet--selected .facet__release { color: rgb(247 245 240 / 62%); }

/* A selected chip's text is paper, so its focus ring must not be. */
.facet:focus-visible { outline-color: var(--ink); }

@media (hover: hover) and (pointer: fine) {
  .facet:hover { border-color: rgb(26 24 21 / 45%); }
  .facet--selected:hover { border-color: var(--ink); }
}

.cocktail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6875rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cocktail-index .cocktail-list { padding-top: 1.25rem; }

.cocktail-card {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.25rem;
  background: #e8e0d3;
  text-decoration: none;
}

.cocktail-card__photograph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cocktail-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgb(18 15 11 / 80%) 0%,
    rgb(18 15 11 / 44%) 30%,
    rgb(18 15 11 / 5%) 58%,
    rgb(18 15 11 / 0%) 100%
  );
  content: "";
}

.cocktail-card__copy {
  position: absolute;
  right: 0.6875rem;
  bottom: 0.625rem;
  left: 0.6875rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.cocktail-card h2,
.cocktail-card h3 {
  margin: 0;
  color: var(--paper);
  font-size: 1.25rem;
  line-height: 1.05;
}

.cocktail-card__description {
  --summary-lines: 3;

  display: -webkit-box;
  min-height: calc(var(--summary-lines) * 1.3em);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--summary-lines);
  line-clamp: var(--summary-lines);
  color: rgb(247 245 240 / 74%);
  font-size: 0.6875rem;
  line-height: 1.3;
  text-wrap: pretty;
}

.cocktail-card:hover h2,
.cocktail-card:focus-visible h2,
.cocktail-card:hover h3,
.cocktail-card:focus-visible h3 {
  text-decoration: underline;
  text-decoration-thickness: 0.04em;
  text-underline-offset: 0.17em;
}

.recipe { position: relative; }

.recipe__photograph {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #e8e0d3;
}

.recipe__photograph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe__body { padding: 2.375rem 1.625rem 3.5rem; }

.recipe__header h1 {
  margin: 0;
  font-size: clamp(2.625rem, 8vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.recipe__header p {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--muted-ink);
  font-size: 0.90625rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.recipe__ingredients {
  display: grid;
  grid-template-areas:
    "label units"
    "list  list";
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  margin-top: 1.875rem;
}

.recipe__ingredients h2 {
  grid-area: label;
  margin: 0;
}

.recipe__ingredients ul {
  grid-area: list;
  margin-top: 0.625rem;
}

.recipe__method { margin-top: 1.875rem; }

.recipe__measurements {
  display: grid;
  grid-area: units;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: end;
  margin: 0;
  padding: 0;
  border: 0;
}

.recipe__measurements[hidden] { display: none; }

.recipe__measurements input {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
}

.recipe__measurement-options {
  display: flex;
  white-space: nowrap;
}

.recipe__measurements label {
  display: grid;
  min-width: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  color: var(--quiet-ink);
  cursor: pointer;
  font-family: var(--label);
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1;
}

.recipe__measurements label:last-of-type {
  justify-items: end;
}

.recipe__measurements label:hover { color: var(--muted-ink); }

.recipe__measurements input:checked + label {
  color: var(--ink);
  font-weight: 600;
}

.recipe__measurements input:focus-visible + label {
  outline: 0.1rem solid currentColor;
  outline-offset: -0.25rem;
}

.recipe__ingredients h2,
.recipe__method h2 {
  margin: 0 0 0.75rem;
  color: var(--quiet-ink);
  font-family: var(--label);
  font-size: 0.625rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.recipe__ingredients ul,
.recipe__details ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.recipe__ingredients ul {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.recipe__ingredients li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1rem;
  align-items: baseline;
  font-size: 1.0625rem;
  line-height: 1.35;
}

.ingredient__measure {
  color: var(--muted-ink);
  font-family: var(--label);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ingredient__name a {
  text-decoration-color: transparent;
  text-underline-offset: 0.15em;
}

.ingredient__name a:hover,
.ingredient__name a:focus-visible {
  text-decoration-color: currentColor;
}

.recipe__ingredients small,
.recipe__details small {
  display: block;
  grid-column: 1 / -1;
  margin-top: 0.25rem;
  color: var(--quiet-ink);
  font-size: 0.78rem;
  line-height: 1.4;
}

.recipe__details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--hairline);
}

.recipe__details div {
  display: block;
}

.recipe__details dt,
.recipe__details dd {
  margin: 0;
}

.recipe__details dt {
  color: var(--quiet-ink);
  font-family: var(--label);
  font-size: 0.625rem;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.recipe__details dd {
  margin-top: 0.5625rem;
  font-size: 1.0625rem;
  line-height: 1.4;
}

.recipe__details dd ul {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.recipe__method ol {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recipe__method li {
  font-size: 1.0625rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.recipe__print-footer { display: none; }

.recipe__related {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--hairline);
}

.recipe__related h2 {
  margin: 0 0 1.5rem;
  color: var(--quiet-ink);
  font-family: var(--label);
  font-size: 0.625rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ingredient { position: relative; }

.ingredient__photograph {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #e8e0d3;
}

.ingredient__photograph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ingredient__body { padding: 2.375rem 1.625rem 4rem; }

.ingredient__parent {
  margin: 0 0 0.75rem;
  color: var(--quiet-ink);
  font-family: var(--label);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ingredient__parent a { text-underline-offset: 0.16em; }

.ingredient__header h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.625rem, 8vw, 3.75rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.ingredient__header h1 + p {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--muted-ink);
  font-size: 0.90625rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.ingredient__facts {
  margin: 2.375rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
}

.ingredient__facts div { display: block; }

.ingredient__facts dt,
.ingredient__relations h2,
.ingredient__cocktails h2 {
  margin: 0;
  color: var(--quiet-ink);
  font-family: var(--label);
  font-size: 0.625rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ingredient__facts dd {
  margin: 0.5625rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.4;
}

.ingredient__relations,
.ingredient__cocktails {
  margin-top: 2.5rem;
}

.ingredient__relations ul,
.ingredient__cocktails ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.ingredient__relations a,
.ingredient__cocktails a {
  font-size: 1.0625rem;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.16em;
}

@media (min-width: 40rem) {
  /* The bar fits on one line. */
  .bar {
    flex-wrap: nowrap;
    gap: 1rem;
    padding: 0.8125rem 2.5rem;
  }

  .bar__lockup { gap: 0.625rem; }
  .mark { width: 1.625rem; height: 1.625rem; }
  .bar__wordmark { font-size: 1.375rem; }

  .cocktail-index { padding: 1.25rem 2.5rem 3.5rem; }
  .cocktail-list { gap: 0.875rem; }
  .cocktail-index .cocktail-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .recipe__related .cocktail-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .cocktail-card h2 { font-size: 1.3125rem; }
  .cocktail-card h3 { font-size: 1.0625rem; }
  .cocktail-card__description { --summary-lines: 2; }

  .cocktail-card__copy {
    right: 0.875rem;
    bottom: 0.8125rem;
    left: 0.875rem;
    gap: 0.1875rem;
  }

  .recipe__photograph { aspect-ratio: 4 / 3; }

  .recipe__body { padding: 3.25rem 4.5rem 5rem; }

  .recipe__ingredients { margin-top: 2.375rem; }
  .recipe__method { margin-top: 2.125rem; }

  .ingredient__photograph { aspect-ratio: 4 / 3; }

  .ingredient__body { padding: 3.25rem 4.5rem 5rem; }
}

/* Wide screens: the collection and the recipe both break the reading column,
   the collection to show more of itself and the recipe to set the photograph
   beside the measure. */
@media (min-width: 70rem) {
  .page--wide { width: min(100%, 70rem); }

  /* An ingredient is still a page to read, so it keeps the reading measure
     inside the wider paper the bar needs. */
  .page--wide .ingredient { width: min(100%, 48rem); margin-inline: auto; }

  .mark { width: 1.75rem; height: 1.75rem; }
  .bar__wordmark { font-size: 1.5rem; }

  .cocktail-list { gap: 1rem; }
  .cocktail-index .cocktail-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .recipe {
    display: grid;
    grid-template-areas:
      "photo   title"
      "photo   measures"
      "photo   facts"
      "photo   ."
      "method  method"
      "related related";
    grid-template-columns: 27.5rem minmax(0, 1fr);
    align-content: start;
    column-gap: 3.25rem;
    padding: 2.75rem 2.5rem 4rem;
  }

  /* The recipe's parts become items of the grid above, so anything added to
     the body needs a grid-area or it lands in the cell beside the plate. */
  .recipe__body { display: contents; }

  .recipe__photograph {
    align-self: start;
    grid-area: photo;
    aspect-ratio: 1;
    border-radius: 0.25rem;
  }

  .recipe__header { grid-area: title; }

  .recipe__header h1 {
    font-size: 4.625rem;
    line-height: 0.92;
    letter-spacing: -0.025em;
  }

  .recipe__header p {
    max-width: 30rem;
    margin-top: 1.125rem;
    font-size: 1.0625rem;
  }

  .recipe__ingredients {
    grid-area: measures;
    margin-top: 2.125rem;
    padding-top: 1.375rem;
    border-top: 1px solid var(--hairline);
  }

  .recipe__details {
    display: flex;
    flex-direction: row;
    gap: 3.25rem;
    grid-area: facts;
    margin-top: 1.875rem;
    padding-top: 1.375rem;
  }

  .recipe__method {
    grid-area: method;
    margin-top: 2.875rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--hairline);
  }

  /* A long method reads better in two columns, filled across then down; a
     two-step drink does not, but still needs a measure it can be read at. */
  .recipe__method ol { max-width: 38rem; }

  .recipe__method ol:has(li:nth-child(3)) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 3.25rem;
    max-width: none;
  }

  .recipe__related {
    grid-area: related;
    margin-top: 2.875rem;
    padding-top: 1.75rem;
  }
}

/* Turn 3: the collection reads first; search and facets appear together only
   when asked for. The same quiet masthead belongs to every page. */
.bar {
  position: sticky;
  padding-block: 1.375rem;
  transition: inset 160ms ease, border-radius 160ms ease, box-shadow 160ms ease;
}

.bar__context {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-left: auto;
}

.bar__filter {
  padding: 0 0 0.125rem;
  border: 0;
  border-bottom: 1px solid rgb(26 24 21 / 35%);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--label);
  font-size: 0.65625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cocktail-index { padding-top: 1.375rem; }
.cocktail-index .cocktail-list { padding-top: 0; }

.filter-menu {
  width: min(51.25rem, calc(100% - 2rem));
  max-height: min(38.75rem, calc(100dvh - 2rem));
  padding: 0;
  overflow: visible;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 1.625rem;
  background: rgb(247 245 240 / 78%);
  box-shadow: 0 1.875rem 5rem rgb(26 24 21 / 28%);
  color: var(--ink);
  margin: 1.125rem auto auto;
  -webkit-backdrop-filter: blur(1.625rem) saturate(1.5);
  backdrop-filter: blur(1.625rem) saturate(1.5);
}

.filter-menu::backdrop { background: rgb(26 24 21 / 2%); }

.filter-menu__sheet {
  display: flex;
  max-height: inherit;
  flex-direction: column;
  padding: 1.5rem 1.75rem 1.25rem;
}

.filter-menu__search {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.875rem;
}

.filter-menu__search > svg { flex: none; width: 1rem; color: var(--muted-ink); }

.filter-menu__search input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 0.125rem 0 0.625rem;
  border: 0;
  border-bottom: 1px solid rgb(26 24 21 / 15%);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.5rem;
}

.filter-menu__close {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgb(26 24 21 / 18%);
  border-radius: 50%;
  background: transparent;
  color: var(--muted-ink);
  cursor: pointer;
  font-size: 1rem;
}

.filter-menu__groups {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.125rem 2.5rem;
  margin-top: 1.5rem;
  overflow-y: auto;
}

.filter-menu__groups .filters__group { width: fit-content; }

.filter-menu__footer {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 0.875rem;
  border-top: 1px solid rgb(26 24 21 / 10%);
}

.filter-menu__footer button {
  padding: 0.625rem 1.375rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-size: 0.8125rem;
}

@media (max-width: 39.999rem) {
  .bar { padding: 1.375rem 1.125rem 0.75rem; border-bottom: 0; }
  .bar__status { display: none; }
  .bar__filter { font-size: 0.625rem; }
  .cocktail-index { padding-top: 0; }

  .filter-menu {
    width: calc(100% - 1.25rem);
    max-width: none;
    height: 72dvh;
    max-height: none;
    margin: auto auto 0.625rem;
  }

  .filter-menu__sheet { height: 100%; padding: 1.125rem 1.125rem 1rem; }
  .filter-menu__search input[type="search"] { font-size: 1.1875rem; }
  .filter-menu__groups { flex: 1; flex-direction: column; flex-wrap: nowrap; gap: 0.875rem; }
  .filter-menu__groups .filters__group { width: auto; max-width: 100%; }

  .recipe__photograph {
    width: calc(100% - 1.75rem);
    margin-inline: auto;
    border-radius: 0.375rem;
  }

  .recipe__body { padding: 1.625rem 1.375rem 2.5rem; }
  .recipe__ingredients { margin-top: 1.625rem; padding-top: 1.125rem; border-top: 1px solid var(--hairline); }
  .recipe__details { flex-direction: row; gap: 2.25rem; margin-top: 1.375rem; padding-top: 1.125rem; }
  .recipe__method,
  .recipe__related { margin-top: 1.625rem; padding-top: 1.125rem; border-top: 1px solid var(--hairline); }
}

@media (min-width: 70rem) {
  .bar { padding-inline: 2.5rem; }
  .cocktail-index { padding: 1.375rem 2.5rem 3.5rem; }
}

.bar--static { position: static; }

.bar--scrolled {
  top: 0.75rem;
  width: fit-content;
  margin-inline: auto;
  padding: 0.8125rem 1.125rem;
  gap: 0.625rem;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 999px;
  background: rgb(247 245 240 / 72%);
  box-shadow: 0 0.625rem 2rem rgb(26 24 21 / 16%);
}

.bar--scrolled .bar__wordmark,
.bar--scrolled .bar__status { display: none; }

.bar--scrolled .bar__filter {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
}

@media (forced-colors: active) {
  .cocktail-card__photograph,
  .recipe__photograph img,
  .ingredient__photograph img { border: 1px solid CanvasText; }

  .recipe__measurements input:checked + label {
    color: HighlightText;
    background: Highlight;
  }
}

@media print {
  @page { margin: 0; }

  html,
  body,
  .page {
    width: 100%;
    min-height: 100%;
    background: white;
  }

  .recipe {
    display: flex;
    width: 100%;
    min-height: 100vh;
    flex-direction: column;
    padding: 17mm;
  }

  /* On paper the measures need no label: the list is plainly the ingredients,
     and the page has to hold one drink. */
  .bar,
  .filter-menu,
  .recipe__ingredients h2,
  .recipe__related,
  .recipe__measurements { display: none; }

  .recipe__photograph {
    width: min(100%, 155mm);
    height: 70mm;
    margin-inline: auto;
    aspect-ratio: auto;
    background: transparent;
    break-inside: avoid;
  }

  .recipe__photograph img {
    object-position: center 60%;
  }

  .recipe--ramos-fizz .recipe__photograph img {
    object-position: center 15%;
  }

  .recipe__body {
    display: flex;
    width: min(100%, 155mm);
    flex: 1;
    flex-direction: column;
    margin-inline: auto;
    padding: 10mm 0 0;
  }

  .recipe__header h1 {
    font-size: 30pt;
  }

  .recipe__header p {
    max-width: 135mm;
    margin-top: 3mm;
    font-size: 11pt;
    line-height: 1.4;
  }

  .recipe__ingredients { margin-top: 8mm; }

  .recipe__ingredients ul { gap: 3mm; margin-top: 0; }

  .recipe__ingredients li,
  .recipe__details dd,
  .recipe__method li {
    font-size: 11pt;
    line-height: 1.35;
  }

  .recipe__ingredients li,
  .recipe__details div,
  .recipe__method li {
    break-inside: avoid;
  }

  .ingredient__name a {
    text-decoration: none;
  }

  .ingredient__measure { font-size: 10pt; }

  .recipe__ingredients small,
  .recipe__details small {
    font-size: 7.5pt;
  }

  .recipe__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12mm;
    margin-top: 6mm;
    padding-top: 5mm;
  }

  .recipe__details dd { margin-top: 2mm; }

  .recipe__method { margin-top: 7mm; }

  .recipe__method h2,
  .recipe__details dt {
    break-after: avoid;
    font-size: 7pt;
  }

  .recipe__method ol { gap: 3mm; }

  .recipe__print-footer {
    display: block;
    margin-top: auto;
    padding-top: 8mm;
    color: var(--quiet-ink);
    font-family: var(--label);
    font-size: 8pt;
    letter-spacing: 0.04em;
  }
}
