:root {
  --ink: #161616;
  --paper: #fff6ea;
  --card: #fffdf8;
  --mango: #ff5a36;
  --lemon: #ffd23f;
  --teal: #147a68;
  --grape: #5b4bdb;
  --line: #161616;
  --shadow: 6px 6px 0 #161616;
  --font: "Newsreader", "Iowan Old Style", Georgia, serif;
  --display: "Anybody", "Arial Narrow", Impact, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, #ffe08a 0 18%, transparent 19%),
    radial-gradient(circle at 90% 0%, #ffb4a2 0 14%, transparent 15%),
    var(--paper);
  font-family: var(--font);
  font-size: 1.08rem;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  left: 16px;
  bottom: 16px;
  top: auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 12px;
  overflow: visible;
  clip: auto;
  clip-path: none;
  background: var(--lemon);
  color: var(--ink);
  z-index: 30;
  border: 3px solid var(--ink);
}

.stripe {
  height: 14px;
  background: repeating-linear-gradient(90deg, var(--mango) 0 28px, var(--lemon) 28px 56px, var(--teal) 56px 84px, var(--grape) 84px 112px);
}

.topbar { background: var(--ink); color: #fffaf3; }
.top-row { display: flex; align-items: center; gap: 16px; padding: 16px 0 10px; }
.brand { text-decoration: none; }
.mark {
  display: inline-block;
  background: var(--lemon);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 760;
  letter-spacing: -0.04em;
  font-size: 1.7rem;
  line-height: 1;
  padding: 8px 12px 6px;
  transform: rotate(-2deg);
  box-shadow: 4px 4px 0 var(--mango);
}
.mark span { color: var(--mango); }
.seek { margin-left: auto; display: flex; gap: 0; }
.seek input {
  border: 2px solid #fffaf3;
  background: transparent;
  color: #fffaf3;
  padding: 8px 12px;
  min-width: 180px;
}
.seek input::placeholder { color: #d9d0c4; }
.seek button, .menu-toggle, .contact button, .page-link {
  border: 2px solid var(--ink);
  background: var(--lemon);
  color: var(--ink);
  padding: 8px 12px;
  cursor: pointer;
  text-decoration: none;
}
.topbar .seek button { border-color: #fffaf3; background: var(--mango); color: #fff; }
.menu-toggle { display: none; background: #fffaf3; }

.chips ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 8px 0 16px; }
.chip {
  display: inline-block;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 560;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border: 2px solid #fffaf3;
}
.chips li:nth-child(4n+1) .chip { background: var(--mango); color: #fff; }
.chips li:nth-child(4n+2) .chip { background: var(--lemon); color: var(--ink); }
.chips li:nth-child(4n+3) .chip { background: var(--teal); color: #fff; }
.chips li:nth-child(4n) .chip { background: var(--grape); color: #fff; }
.chip.is-on { outline: 3px solid #fffaf3; outline-offset: 2px; }

.hero { padding: 36px 0 10px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: end; }
.eyebrow {
  margin: 0 0 8px;
  font-family: var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--teal);
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 0.95; font-weight: 760; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); margin: 0 0 12px; }
.deck { font-size: 1.2rem; max-width: 38rem; }
.hero-card { text-decoration: none; display: block; }
.hero-card a, .hero-card { color: inherit; }
.hero-photo, .tile-photo, .shot {
  display: block;
  background: var(--lemon);
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
}
.hero-photo img, .tile-photo img, .shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption, .tile-copy { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; }
.tile-kind { font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mango); }
.hero-name, .tile-name { font-family: var(--display); font-size: 1.35rem; line-height: 1; }
.photo-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: conic-gradient(from 20deg, var(--mango), var(--lemon), var(--teal), var(--grape), var(--mango));
  color: var(--ink);
  font-family: var(--display);
  font-size: 3rem;
}

.lanes { display: grid; gap: 8px; }
.lane { padding: 18px 0; }
.lane:nth-child(odd) { background: #fff; }
.lane:nth-child(even) { background: #e7f6f1; }
.lane-head, .catalog-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 14px; }
.lane h2, .catalog h2, .also h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.lane-more { font-family: var(--display); text-decoration: none; background: var(--ink); color: var(--lemon); padding: 8px 12px; }

.board, .row-3, .shelf-8, .shelf-9 { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.board, .row-3, .shelf-9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shelf-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.board a, .row-3 a, .shelf-8 a, .shelf-9 a { display: block; text-decoration: none; height: 100%; }
.board li, .row-3 li, .shelf-8 li, .shelf-9 li { background: var(--card); border: 3px solid var(--ink); box-shadow: var(--shadow); }
.board li:nth-child(4n+2), .shelf-8 li:nth-child(4n+2) { box-shadow: 6px 6px 0 var(--mango); }
.board li:nth-child(4n+3), .shelf-9 li:nth-child(3n) { box-shadow: 6px 6px 0 var(--teal); }
.board li:nth-child(4n), .shelf-8 li:nth-child(4n) { box-shadow: 6px 6px 0 var(--grape); }
.tile-copy { padding: 10px 12px 14px; }
.tile-photo { border: 0; box-shadow: none; aspect-ratio: 5/4; }

.catalog { padding: 28px 0 48px; }
.catalog-head p, .lane p { margin: 6px 0 0; max-width: 40rem; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.page-link.is-on { background: var(--ink); color: var(--lemon); }

.recipe-top { padding: 28px 0 8px; }
.recipe-top h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin: 10px 0; max-width: 16ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--display); font-size: 0.85rem; }
.crumbs a { text-decoration: none; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.facts li { background: var(--ink); color: #fffaf3; padding: 8px 12px; }
.facts span { color: var(--lemon); font-family: var(--display); margin-right: 6px; }
.frame-wrap { padding-bottom: 10px; }
.frame { margin: 0; }
.shot { aspect-ratio: 16/8; }
.reading { display: grid; grid-template-columns: minmax(0, 760px); }
.prose h2 { font-size: 2rem; margin: 1.4rem 0 0.4rem; }
.prose a { color: var(--teal); }
.cook { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 18px; margin-top: 18px; }
.pantry, .method { border: 3px solid var(--ink); padding: 16px 18px 8px; }
.pantry { background: #123c36; color: #f3ffe8; }
.pantry h2, .method h2 { margin-top: 0; }
.method { background: #fff; box-shadow: var(--shadow); }
.method ol { padding-left: 1.2rem; }
.method li { margin: 0 0 0.8rem; }
.also { background: #fff; border-top: 3px solid var(--ink); padding: 28px 0 48px; }

.note { padding: 28px 0 60px; }
.contact { padding: 36px 0 72px; }
.contact-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 28px; align-items: start; }
.contact h1 { font-size: clamp(3rem, 7vw, 5rem); margin: 0 0 12px; }
.contact-copy { font-size: 1.15rem; max-width: 28rem; }
.contact form, .sent {
  display: grid;
  gap: 14px;
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--mango);
  padding: 22px;
}
.contact label { display: grid; gap: 6px; font-family: var(--display); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.contact input, .contact textarea {
  width: 100%;
  border: 3px solid var(--ink);
  background: var(--paper);
  padding: 12px;
  color: var(--ink);
}
.contact button {
  justify-self: start;
  font-family: var(--display);
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--mango);
  color: #fff;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 12px 18px;
}
.captcha { background: var(--lemon); border: 3px solid var(--ink); padding: 12px; }
.hp { position: absolute; left: -9999px; }
.errors { color: #8d1d12; margin: 0 0 12px; padding-left: 1.1rem; }

.foot { background: var(--ink); color: #fffaf3; padding: 28px 0 10px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 18px; }
.foot h2 { font-size: 1rem; color: var(--lemon); margin: 0 0 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--lemon); }
.legal { padding: 18px 0 8px; color: #d9d0c4; }

@media (max-width: 900px) {
  .hero-grid, .cook, .contact-grid, .foot-grid { grid-template-columns: 1fr; }
  .board, .row-3, .shelf-9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shelf-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-toggle { display: inline-block; }
  .seek { display: none; }
  .chips { display: none; }
  .chips.is-open { display: block; }
  .shot { aspect-ratio: 4/3; }
  .lane-head, .catalog-head { flex-direction: column; align-items: start; }
}
@media (max-width: 640px) {
  .board, .row-3 { grid-template-columns: 1fr 1fr; }
  .shelf-9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile-name, .hero-name { font-size: 1rem; }
}
