:root {
  color-scheme: light;
  --paper: #fffaf2;
  --ink: #27221d;
  --muted: #6d6258;
  --line: #e5d9ca;
  --accent: #8d2f1f;
  --accent-soft: #f4dfd6;
  --soft: #f6eee4;
  --white: #fffefd;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.58;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-header,
.site-footer,
.page {
  width: min(1000px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--line);
  font-family: Arial, sans-serif;
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0;
}

.nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
}

.nav a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.page {
  padding: 28px 0 48px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font: 13px/1.3 Arial, sans-serif;
}

.intro {
  max-width: 760px;
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font: 700 12px/1.2 Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(40px, 8vw, 70px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.15;
}

.lede {
  max-width: 700px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 19px;
}

.byline {
  margin-bottom: 18px;
  color: var(--muted);
  font: 13px/1.45 Arial, sans-serif;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.facts span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

figure {
  margin: 0 0 28px;
}

.hero {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

figcaption {
  margin-top: 8px;
  color: var(--muted);
  font: 13px/1.4 Arial, sans-serif;
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}

.summary p {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  padding-top: 8px;
}

section,
article {
  min-width: 0;
}

ul,
ol {
  margin: 0;
  padding-left: 22px;
}

li + li {
  margin-top: 8px;
}

.note {
  max-width: 760px;
  margin-top: 34px;
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  background: var(--accent-soft);
}

.note p:last-child {
  margin-bottom: 0;
}

.extra {
  margin-top: 34px;
}

.nutrition {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.nutrition div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

dt {
  color: var(--muted);
  font: 12px/1.3 Arial, sans-serif;
  text-transform: uppercase;
}

dd {
  margin: 2px 0 0;
  font-size: 20px;
  font-weight: 700;
}

details {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin: 8px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 14px/1.5 Arial, sans-serif;
}

.site-footer p {
  max-width: 420px;
  margin: 5px 0 0;
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .page,
  .site-header,
  .site-footer {
    width: min(100% - 24px, 1000px);
  }

  .summary,
  .grid {
    grid-template-columns: 1fr;
  }

  .page {
    padding-top: 22px;
  }
}
