:root {
  color-scheme: light;
  --bg: #f6f3ee;
  --ink: #1c1917;
  --muted: #57534e;
  --line: #d9d0c6;
  --rule: #1c1917;
  --accent: #8f3d2b;
  --paper: #fff;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: Raleway, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
  background: var(--bg);
  font-size: 1.125rem;
  line-height: 1.7;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 2;
  background: var(--paper);
  padding: 0.4rem 0.6rem;
  font-family: var(--sans);
}

.mast {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 0;
}

.mast-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 2rem;
  height: 2rem;
  display: block;
}

.mast nav {
  font-family: var(--sans);
  font-size: 0.875rem;
}

.nameplate {
  margin: 0.85rem 0 0;
  padding: 0.55rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 3px double var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--sans);
}

.nameplate a {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.78rem;
}

.nameplate span {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

article,
.issue {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.85rem 1.25rem 2.5rem;
}

.kicker {
  margin: 0 0 0.55rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2, h3, .deck, .pull, .features h2, .piece strong {
  font-family: var(--serif);
}

h1 {
  margin: 0 0 0.75rem;
  font-size: 2.7rem;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.deck {
  margin: 0 0 0.9rem;
  font-size: 1.3rem;
  line-height: 1.4;
  font-style: italic;
  font-weight: 400;
}

.byline,
.refer,
figcaption,
.toc,
.facts span,
.recipe-meta,
.colophon,
.product-cards span,
.sources {
  font-family: var(--sans);
}

.byline {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.refer {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

.refer a { color: inherit; }

.share {
  font-family: var(--sans);
  font-size: inherit;
  color: var(--accent);
  background: none;
  border: 0;
  padding: 0;
  margin-left: 0.65rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.pull {
  margin: 0 0 1.5rem;
  padding: 0.1rem 0 0.1rem 1rem;
  border-left: 2px solid var(--accent);
  font-size: 1.55rem;
  line-height: 1.28;
  font-weight: 600;
  font-style: italic;
}

.pull p { margin: 0; }

.facts {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.facts li {
  padding: 0.75rem 0.85rem 0.85rem 0;
}

.facts li + li {
  padding-left: 0.85rem;
  border-left: 1px solid var(--line);
}

.facts span {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
}

.facts strong {
  display: block;
  margin: 0.15rem 0 0.1rem;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: none;
}

figure.hero {
  margin: 0 0 1.6rem;
}

figure.hero img {
  width: 100%;
  height: auto;
  display: block;
}

figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.toc {
  margin: 0 0 0.25rem;
  padding: 0;
  font-size: 0.95rem;
}

.toc p {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.toc ol {
  margin: 0;
  padding-left: 1.15rem;
}

.toc li { margin: 0.12rem 0; }

h2 {
  margin: 2.15rem 0 0.55rem;
  font-size: 1.55rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h3 {
  margin: 1.25rem 0 0.35rem;
  font-size: 1.12rem;
  font-weight: 600;
}

p { margin: 0 0 1rem; }

a {
  color: var(--ink);
  text-underline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
  font-size: 1rem;
}

th, td {
  text-align: left;
  padding: 0.45rem 0.75rem 0.45rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.recipe {
  margin: 1.35rem 0 0.5rem;
  padding: 0.2rem 0 0.2rem 1.1rem;
  border-left: 2px solid var(--rule);
}

.recipe h2 { margin-top: 0; }

.recipe-meta {
  margin-top: -0.2rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.sources {
  margin-top: 2.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.sources h2 {
  margin-top: 0;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.also {
  margin-top: 2.2rem;
  padding-top: 1rem;
  border-top: 3px double var(--rule);
}

.piece {
  display: block;
  margin-top: 0.35rem;
  color: inherit;
  text-decoration: none;
}

.piece .kicker { margin-bottom: 0.2rem; }

.piece strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.35rem;
}

.piece .blurb {
  display: block;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.4;
}

.features {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.features > li { border-bottom: 1px solid var(--rule); }

.features a {
  display: grid;
  grid-template-columns: 10.5rem 1fr;
  gap: 1.15rem;
  align-items: center;
  padding: 1.2rem 0;
  color: inherit;
  text-decoration: none;
}

.features img {
  width: 10.5rem;
  height: 10.5rem;
  object-fit: cover;
  display: block;
}

.features h2 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.7rem;
}

.features .deck {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.features .refer { margin: 0; }

.product-cards {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 0.75rem;
}

.product-cards a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
}

.product-cards img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--paper);
}

.product-cards span {
  display: block;
  padding: 0.55rem 0.65rem 0.7rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.colophon {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0.2rem 1.25rem 2.2rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

@media (max-width: 640px) {
  h1 { font-size: 2.05rem; }
  .deck { font-size: 1.12rem; }
  .pull { font-size: 1.28rem; }
  .facts { grid-template-columns: 1fr; }
  .facts li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }
  .mast-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .features a,
  .features img {
    width: 100%;
  }
  .features a {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .features img {
    height: 12rem;
  }
}

@media print {
  body { background: #fff; }
  .share, .product-cards, .mast nav { display: none; }
}
