:root {
  --ink: #1c140f;
  --muted: #5c4a3a;
  --paper: #fff6ea;
  --card: #fffdf8;
  --line: #f0d7bf;
  --tomato: #e23b2f;
  --saffron: #f0b429;
  --basil: #1f8a4c;
  --sea: #1769c4;
  --grape: #6d28d9;
  --coral: #ff7a59;
  --shadow: 0 18px 40px rgba(88, 28, 12, 0.12);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% -10%, #ffe1c4 0, transparent 32%),
    radial-gradient(circle at 100% 0, #d7f3e4 0, transparent 26%),
    var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.08; letter-spacing: -0.03em; }
p { margin: 0 0 0.8rem; }
.wrap { width: min(1180px, calc(100% - 2rem)); 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;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  clip-path: none;
  overflow: visible;
  z-index: 30;
  background: var(--ink);
  color: white;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
}

.awning {
  height: 14px;
  background: repeating-linear-gradient(
    90deg,
    var(--tomato) 0 28px,
    var(--saffron) 28px 56px,
    var(--basil) 56px 84px,
    var(--sea) 84px 112px,
    var(--grape) 112px 140px,
    var(--coral) 140px 168px
  );
}
.mast { position: sticky; top: 0; z-index: 20; background: rgba(255, 246, 234, 0.94); backdrop-filter: blur(10px); }
.mast-row { display: flex; align-items: center; gap: 1rem; padding: 0.85rem 0 0.4rem; }
.brand { text-decoration: none; }
.brand-mark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.05em;
  color: var(--tomato);
}
.seek { margin-left: auto; display: flex; background: white; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.seek input { border: 0; padding: 0.55rem 0.9rem; font: inherit; width: 14rem; background: transparent; }
.seek button { border: 0; background: var(--sea); color: white; font: inherit; font-weight: 580; padding: 0 0.9rem; cursor: pointer; }
.menu-toggle {
  display: none;
  border: 2px solid var(--ink);
  background: var(--saffron);
  font: inherit;
  font-weight: 720;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
}
.pills ul { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0.35rem 0 0.9rem; }
.pill {
  display: inline-block;
  text-decoration: none;
  font-weight: 580;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  border: 2px solid var(--ink);
}
.pills li:nth-child(6n+1) .pill { background: #ffd0c8; }
.pills li:nth-child(6n+2) .pill { background: #ffe7a3; }
.pills li:nth-child(6n+3) .pill { background: #c8f0d6; }
.pills li:nth-child(6n+4) .pill { background: #d5e7ff; }
.pills li:nth-child(6n+5) .pill { background: #eadcff; }
.pills li:nth-child(6n+6) .pill { background: #ffd8c2; }
.pill.is-current { background: var(--ink); color: white; }

.splash { padding: 1.4rem 0 0.4rem; }
.splash-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: center; }
.kicker {
  margin: 0 0 0.4rem;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--basil);
}
.splash h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); margin: 0 0 0.7rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 38rem; }
.splash-card a { text-decoration: none; display: block; }
.splash-photo {
  display: block;
  border-radius: 28px 28px 8px 28px;
  overflow: hidden;
  border: 4px solid var(--ink);
  box-shadow: 14px 14px 0 var(--saffron);
  background: #ffd7a8;
  aspect-ratio: 4 / 3;
}
.splash-photo img, .tile-photo img, .shot img { width: 100%; height: 100%; object-fit: cover; }
.splash-caption { display: block; margin-top: 0.9rem; }
.splash-name { display: block; font-family: var(--serif); font-size: 1.55rem; font-weight: 700; }
.tile-kind {
  display: inline-block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tomato);
}

.lane, .catalog, .also { padding: 1.4rem 0; }
.lane-head, .catalog-head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1rem; }
.lane-head h2, .catalog-head h2, .also h2 { margin: 0 0 0.3rem; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.lane-more {
  text-decoration: none;
  background: var(--tomato);
  color: white;
  font-weight: 720;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  white-space: nowrap;
}
.row-6, .board, .mosaic-8, .mosaic-9 { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.row-6, .board, .mosaic-9 { grid-template-columns: repeat(3, 1fr); }
.mosaic-8 { grid-template-columns: repeat(4, 1fr); }
.row-6 a, .board a, .mosaic-8 a, .mosaic-9 a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}
.tile-photo { display: block; aspect-ratio: 4 / 3; background: #ffe7c4; overflow: hidden; }
.tile-copy { display: block; padding: 0.75rem 0.85rem 0.95rem; }
.tile-name { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; }
.row-6 li:nth-child(6n+1) a, .board li:nth-child(6n+1) a { box-shadow: 6px 6px 0 #ffb4a8; }
.row-6 li:nth-child(6n+2) a, .board li:nth-child(6n+2) a { box-shadow: 6px 6px 0 #ffe08a; }
.row-6 li:nth-child(6n+3) a, .board li:nth-child(6n+3) a { box-shadow: 6px 6px 0 #9ee0b4; }
.row-6 li:nth-child(6n+4) a, .board li:nth-child(6n+4) a { box-shadow: 6px 6px 0 #a9ccff; }
.row-6 li:nth-child(6n+5) a, .board li:nth-child(6n+5) a { box-shadow: 6px 6px 0 #d4b8ff; }
.row-6 li:nth-child(6n+6) a, .board li:nth-child(6n+6) a { box-shadow: 6px 6px 0 #ffc2a8; }
.photo-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--tomato), var(--saffron));
  color: white;
  font-family: var(--serif);
  font-size: 2.4rem;
}

.pager { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.2rem; }
.page-link {
  text-decoration: none;
  min-width: 2.4rem;
  text-align: center;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 0.35rem 0.6rem;
  background: white;
  font-weight: 580;
}
.page-link.is-current { background: var(--ink); color: white; }

.recipe-top { padding: 1.2rem 0 0.4rem; }
.recipe-top h1 { font-size: clamp(2.2rem, 4vw, 3.8rem); margin: 0.4rem 0 0.8rem; max-width: 18ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; color: var(--muted); font-size: 0.92rem; }
.crumbs a { color: var(--sea); }
.facts { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.facts li { background: white; border: 2px solid var(--ink); border-radius: 999px; padding: 0.3rem 0.75rem; }
.facts span { font-weight: 720; color: var(--tomato); margin-right: 0.25rem; }
.frame-wrap { margin-bottom: 1rem; }
.shot { display: block; border-radius: 24px; overflow: hidden; border: 4px solid var(--ink); box-shadow: 12px 12px 0 var(--basil); background: #ffe7c4; aspect-ratio: 16 / 9; }
.reading { width: min(820px, calc(100% - 2rem)); }
.prose h2 { font-size: 1.8rem; margin: 1.6rem 0 0.5rem; }
.prose h3 { font-size: 1.3rem; margin: 1.2rem 0 0.4rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: 0.25rem 0; }
.prose figure { margin: 1rem 0; }
.prose img { border-radius: 16px; border: 2px solid var(--ink); }
.cook { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1rem; margin-top: 1.4rem; }
.pantry, .method { background: var(--card); border: 2px solid var(--ink); border-radius: 20px; padding: 1rem 1rem 1.2rem; }
.pantry { background: #e9f8ee; box-shadow: 8px 8px 0 #9ee0b4; }
.method { background: #fff4d4; box-shadow: 8px 8px 0 #ffe08a; }
.yield { font-weight: 720; }

.foot { margin-top: 2rem; background: var(--ink); color: #fff6ea; padding: 2rem 0 1rem; }
.foot a { color: inherit; }
.foot-grid { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 1.2rem; }
.foot h2 { font-size: 1.05rem; margin: 0 0 0.5rem; color: var(--saffron); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0.25rem 0; }
.foot-link { text-decoration: none; }
.foot-link:hover { text-decoration: underline; }
.legal { margin-top: 1.4rem; padding-top: 0.8rem; border-top: 1px solid rgba(255,246,234,0.2); color: #f0d7bf; }
.missing { padding: 3rem 0 4rem; }
.empty { color: var(--muted); }

.contact { padding: 1.6rem 0 2.4rem; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.4rem; align-items: start; }
.contact h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); margin: 0.2rem 0 0.7rem; }
.letter {
  display: grid;
  gap: 0.75rem;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 22px;
  padding: 1.1rem;
  box-shadow: 10px 10px 0 var(--saffron);
}
.letter label { display: grid; gap: 0.3rem; font-weight: 580; }
.letter input, .letter textarea {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.letter button {
  justify-self: start;
  border: 2px solid var(--ink);
  background: var(--tomato);
  color: white;
  font: inherit;
  font-weight: 720;
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  cursor: pointer;
}
.notice, .errors { background: #e9f8ee; border: 2px solid var(--ink); border-radius: 16px; padding: 0.75rem 0.9rem; }
.errors { background: #ffe4dc; }
.trap { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.captcha { min-height: 78px; }
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .splash-grid, .cook, .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .mosaic-8 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-block; }
  .pills { display: none; }
  .pills.is-open { display: block; }
  .seek { display: none; }
  .splash-grid, .cook, .row-6, .board { grid-template-columns: 1fr; }
  .mosaic-8 { grid-template-columns: repeat(2, 1fr); }
  .mosaic-9 { grid-template-columns: repeat(3, 1fr); }
  .lane-head, .catalog-head { flex-direction: column; align-items: start; }
  .foot-grid { grid-template-columns: 1fr; }
  .shot { aspect-ratio: 4 / 3; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .row-6, .board { grid-template-columns: repeat(3, 1fr); }
  .mosaic-8 { grid-template-columns: repeat(4, 1fr); }
}
