:root {
  --ink: #1c1024;
  --paper: #fff4e4;
  --card: #fffdf8;
  --berry: #ff2f78;
  --lemon: #ffe34a;
  --tangerine: #ff7a1a;
  --mint: #14c8a3;
  --sky: #d7f0ff;
  --grape: #5b35f5;
  --line: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --radius: 26px;
  --wrap: 1180px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Sora", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 8% -10%, #ffe7a3 0 180px, transparent 181px),
    radial-gradient(circle at 110% 8%, #ffd0e2 0 220px, transparent 221px),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.55;
}
img { max-width: 100%; }
button, input { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 14px 0 0;
  padding: 8px 14px;
  overflow: visible;
  clip: auto;
  display: inline-flex;
  background: var(--lemon);
  color: var(--ink);
  border: var(--line);
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--ink);
  text-decoration: none;
}

.ticker {
  background: var(--berry);
  color: var(--lemon);
  overflow: hidden;
  border-bottom: var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.ticker-track span { padding: 8px 0; white-space: nowrap; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255, 244, 228, 0.94); backdrop-filter: blur(8px); }
.top-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--berry);
  color: var(--card);
  border: var(--line);
  font-family: var(--serif);
  font-size: 1.5rem;
  box-shadow: 3px 3px 0 var(--ink);
}
.brand-word {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.finder {
  margin-left: auto;
  display: flex;
  border: var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 3px 3px 0 var(--ink);
  min-width: min(340px, 42vw);
}
.finder input {
  border: 0;
  background: transparent;
  padding: 10px 16px;
  width: 100%;
  outline: none;
  color: var(--ink);
}
.finder button {
  border: 0;
  border-left: var(--line);
  background: var(--lemon);
  padding: 0 16px;
  font-weight: 700;
  cursor: pointer;
}
.finder-wide { margin: 18px 0 0; min-width: 0; max-width: 560px; }
.nav-toggle {
  display: none;
  border: var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}
.pills ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0 0 14px;
}
.pill {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 3px 3px 0 var(--ink);
}
.pills li:nth-child(8n + 1) .pill { background: var(--berry); color: #fff; }
.pills li:nth-child(8n + 2) .pill { background: var(--lemon); }
.pills li:nth-child(8n + 3) .pill { background: var(--mint); }
.pills li:nth-child(8n + 4) .pill { background: var(--sky); }
.pills li:nth-child(8n + 5) .pill { background: var(--tangerine); color: #fff; }
.pills li:nth-child(8n + 6) .pill { background: var(--grape); color: #fff; }
.pills li:nth-child(8n + 7) .pill { background: var(--ink); color: var(--lemon); }
.pills li:nth-child(8n + 8) .pill { background: var(--card); }
.pill.is-current { outline: 3px solid var(--ink); outline-offset: 2px; }

.hero { width: min(var(--wrap), calc(100% - 32px)); margin: 18px auto 8px; }
.hero-slab {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  background: var(--grape);
  color: #fffdf8;
  border: var(--line);
  border-radius: 36px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 42px 40px;
}
.hero-slab::before,
.hero-slab::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: var(--line);
}
.hero-slab::before { width: 210px; height: 210px; background: var(--lemon); right: -48px; top: -78px; }
.hero-slab::after { width: 130px; height: 130px; background: var(--berry); left: 42%; bottom: -58px; }
.hero-copy, .hero-card { position: relative; z-index: 1; }
.kicker {
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 10px;
}
.hero h1 {
  font-size: clamp(3rem, 6vw, 5.3rem);
  max-width: 11ch;
}
.lede { margin-top: 16px; max-width: 42ch; font-size: 1.08rem; }
.hero-card a {
  display: flex;
  flex-direction: column;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  border: var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--tangerine);
  min-height: 100%;
}

.band { padding: 34px 0 40px; margin-top: 22px; }
.band-lemon { background: var(--lemon); }
.band-berry { background: var(--berry); color: #fffdf8; }
.band-mint { background: var(--mint); }
.band-sky { background: var(--sky); }
.band-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}
.band-head h2 { font-size: clamp(2rem, 4vw, 3.3rem); max-width: 16ch; }
.band-head p { max-width: 36ch; }

.tray, .shelf-grid {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tray.n8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tray.n9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shelf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tray > li, .shelf-grid > li { min-width: 0; display: flex; }
.tray a, .shelf-grid a, .hero-card a {
  width: 100%;
}
.tray a, .shelf-grid a {
  display: flex;
  flex-direction: column;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  border: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.frame {
  display: block;
  aspect-ratio: 4 / 3;
  background: #ffe7ef;
  overflow: hidden;
}
.frame img, .photo-stage img, .hero-card .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: var(--lemon);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 3rem;
}
.bite-copy { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 16px; }
.bite-kind {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--berry);
}
.bite-name { font-family: var(--serif); font-size: 1.25rem; line-height: 1.1; }

.catalog { padding: 36px 0 56px; }
.catalog .band-head { align-items: end; }

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 26px;
}
.page-link {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  text-decoration: none;
  border: var(--line);
  border-radius: 999px;
  background: var(--card);
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--ink);
}
.page-link.is-current { background: var(--berry); color: #fff; }

.recipe-head { padding: 28px 0 8px; }
.recipe-head h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 16ch; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.92rem;
  font-weight: 700;
}
.crumbs a { text-decoration: none; }
.crumb {
  background: var(--lemon);
  border: var(--line);
  border-radius: 999px;
  padding: 2px 10px;
}
.stamps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.stamps li {
  background: var(--card);
  border: var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  box-shadow: 3px 3px 0 var(--mint);
}
.stamps span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.photo-stage { margin: 8px auto 10px; }
.photo-stage figure {
  margin: 0;
  border: var(--line);
  border-radius: 32px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 14px 14px 0 var(--lemon);
}
.photo-stage img { aspect-ratio: 16 / 9; }
.reading { max-width: 880px; padding-bottom: 20px; }
.prose > * + * { margin-top: 0.9rem; }
.prose h2, .prose h3 {
  margin-top: 1.4rem;
  display: table;
  background: var(--lemon);
  padding: 0.12em 0.4em;
  border-radius: 12px;
}
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.prose h3 { font-size: 1.35rem; background: var(--sky); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.35rem; }
.prose figure { margin: 16px 0; }
.prose figure img {
  border: var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.cook {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  margin: 28px 0 8px;
}
.pantry, .method {
  border: var(--line);
  border-radius: 28px;
  padding: 18px 18px 10px;
}
.pantry { background: var(--lemon); }
.method { background: var(--card); }
.pantry h2, .method h2, .pantry h3, .method h3 { background: transparent; padding: 0; }
.yield { font-weight: 700; margin: 8px 0 12px; }
.ings, .tools, .method ol { margin: 8px 0 16px; }
.also { padding: 10px 0 56px; }
.also h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 8px; }
.also > p { margin-bottom: 16px; max-width: 46ch; }

.base {
  background: var(--ink);
  color: #fff6ea;
  padding: 36px 0 18px;
  margin-top: 10px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(5, 1fr);
  gap: 22px;
}
.foot-brand .brand-word, .foot-brand .brand-mark { color: var(--lemon); }
.foot-brand .brand-mark { background: var(--berry); color: #fff; }
.foot-brand p { margin-top: 12px; max-width: 32ch; }
.base h2 { color: var(--lemon); font-size: 1.2rem; margin-bottom: 8px; }
.base ul { list-style: none; margin: 0; padding: 0; }
.base li + li { margin-top: 6px; }
.foot-link { text-decoration: none; }
.foot-link:hover { text-decoration: underline; }
.legal { margin-top: 22px; padding-top: 12px; border-top: 1px solid rgba(255, 246, 234, 0.2); font-size: 0.9rem; }
.missing { padding: 64px 0 80px; }
.missing h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 12ch; }
.missing p { margin-top: 12px; }
.text-link {
  display: inline-flex;
  margin-top: 8px;
  background: var(--lemon);
  border: var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--ink);
}
.empty { padding: 12px 0 24px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
  padding: 28px 0 64px;
}
.contact-intro h1 { font-size: clamp(3rem, 6vw, 5rem); max-width: 8ch; }
.contact-panel {
  background: var(--card);
  border: var(--line);
  border-radius: 32px;
  box-shadow: 10px 10px 0 var(--berry);
  padding: 22px 22px 26px;
}
.note-form label {
  display: block;
  margin: 14px 0 6px;
  font-weight: 700;
  font-size: 0.92rem;
}
.note-form input,
.note-form textarea {
  width: 100%;
  border: var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  background: var(--paper);
  color: var(--ink);
}
.note-form textarea { resize: vertical; min-height: 140px; }
.note-form button {
  margin-top: 16px;
  background: var(--berry);
  color: #fff;
  border: var(--line);
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
}
.captcha { margin-top: 16px; }
.sent {
  background: var(--lemon);
  border: var(--line);
  border-radius: 16px;
  padding: 10px 14px;
  font-weight: 700;
}
.form-errors {
  margin: 0 0 8px;
  padding-left: 1.1rem;
}
.trap {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

:focus-visible {
  outline: 3px solid var(--grape);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .hero-slab, .cook, .foot-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .tray.n8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .pills { display: none; }
  .pills.is-open { display: block; }
  .top-row { flex-wrap: wrap; }
  .finder { order: 3; margin-left: 0; min-width: 100%; }
  .hero-slab, .cook, .foot-grid, .contact-grid, .shelf-grid, .tray.n8, .tray.n9 {
    grid-template-columns: 1fr;
  }
  .shelf-grid, .tray.n8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tray.n9 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tray.n9 > li:last-child { grid-column: 1 / -1; }
  .tray.n9 > li:last-child > a { flex-direction: row; align-items: stretch; }
  .tray.n9 > li:last-child .frame { width: 46%; flex: none; aspect-ratio: auto; }
  .tray.n9 > li:last-child .bite-copy { justify-content: center; }
  .hero-slab { padding: 24px 18px; }
  .hero h1 { max-width: none; }
  .band-head { flex-direction: column; align-items: start; }
  .photo-stage figure { box-shadow: 8px 8px 0 var(--lemon); }
}
