@font-face { font-family: Inter; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
:root {
  --ink: #111111;
  --paper: #fbfaf7;
  --card: #ffffff;
  --red: #d21e1e;
  --yellow: #f5c400;
  --blue: #1f4fbf;
  --muted: #5a5a5a;
  --line: #111111;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3f1ea;
    --paper: #141414;
    --card: #1d1d1d;
    --red: #ff5a4f;
    --blue: #7ea2ff;
    --muted: #b9b6ad;
    --line: #f3f1ea;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 Inter, system-ui, sans-serif; }
a { color: var(--blue); }
a:hover { color: var(--ink); }
.bar { background: #111111; color: #ffffff; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bar a { color: #ffffff; text-decoration: none; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 26px; letter-spacing: 0.04em; }
.bar a span { color: var(--yellow); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 24px 20px 64px; }
h1, h2, h3, .title { font-family: "Barlow Condensed", sans-serif; font-weight: 800; line-height: 1; margin: 0; }
h1 { font-size: clamp(44px, 9vw, 84px); text-transform: uppercase; }
h2 { font-size: 28px; text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 3px solid var(--line); padding-bottom: 6px; margin: 32px 0 14px; }
h3 { font-size: 20px; letter-spacing: 0.04em; margin: 18px 0 8px; color: var(--red); }
.lede { font-size: 19px; color: var(--muted); margin: 10px 0 0; }
.search { width: 100%; font: inherit; padding: 12px 14px; border: 3px solid var(--line); background: var(--card); color: var(--ink); margin: 8px 0 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--card); color: var(--ink); text-decoration: none; border: 3px solid var(--line); }
.card a:hover { border-color: var(--red); }
.card img, .card .swatch { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.card .swatch { background: var(--red); color: #ffffff; display: flex; align-items: center; justify-content: center; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 72px; }
.card .tone-1 { background: var(--blue); }
.card .tone-2 { background: #1e8c3a; }
.card .tone-3 { background: var(--yellow); color: #111111; }
.card .title { font-size: 24px; padding: 10px 12px 4px; text-transform: uppercase; }
.card p { margin: 0; padding: 0 12px 12px; color: var(--muted); font-size: 14px; }
.hero { width: 100%; max-height: 440px; object-fit: cover; display: block; border: 3px solid var(--line); margin-top: 20px; }
.recipe { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 40px; }
@media (min-width: 860px) {
  .recipe.both { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
  .recipe.both .ingredients { position: sticky; top: 16px; align-self: start; }
}
.ingredients ul { list-style: none; padding: 0; margin: 0; }
.ingredients li label { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; cursor: pointer; }
.ingredients input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--red); flex-shrink: 0; }
.ingredients input:checked + span { text-decoration: line-through; color: var(--muted); }
.method { counter-reset: step; }
.method ol { list-style: none; padding: 0; margin: 0; }
.method li { counter-increment: step; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 20%, transparent); font-size: 18px; }
.method li::before { content: counter(step); font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 40px; line-height: 0.9; color: var(--red); }
.notes p { margin: 0 0 12px; }
.wake { font: 600 14px Inter, sans-serif; background: var(--yellow); color: #111111; border: 0; padding: 10px 14px; cursor: pointer; }
.wake[aria-pressed="true"] { background: #ffffff; outline: 3px solid var(--yellow); }
footer { color: var(--muted); font-size: 13px; margin-top: 48px; }
