:root {
  --ink: #10211c;
  --pine: #07241f;
  --foam: #fffdf8;
  --paper: #efe7d6;
  --chili: #ff4b2b;
  --yolk: #ffe14a;
  --jade: #14b89a;
  --cobalt: #2f6bff;
  --display: "Unbounded", "Avenir Next", sans-serif;
  --sans: "Manrope", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  background:
    linear-gradient(180deg, #fff8ec 0 280px, var(--paper) 280px);
}
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0 0 0.65rem;
}
p { margin: 0 0 0.9rem; }
a { color: inherit; }
ul { margin: 0; padding: 0; }
::selection { background: var(--yolk); color: var(--pine); }

.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: static;
  width: auto;
  height: auto;
  margin: 14px 0 0;
  clip: auto;
  clip-path: none;
  overflow: visible;
  display: inline-block;
  background: var(--yolk);
  color: var(--pine);
  padding: 8px 12px;
  border-radius: 999px;
}
.tray { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }

.mast { background: var(--pine); color: #f6fff9; }
.ribbon { display: grid; grid-template-columns: repeat(4, 1fr); height: 10px; }
.ribbon span:nth-child(1) { background: var(--chili); }
.ribbon span:nth-child(2) { background: var(--yolk); }
.ribbon span:nth-child(3) { background: var(--jade); }
.ribbon span:nth-child(4) { background: var(--cobalt); }
.mast-brand, .finder, .mast-nav {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}
.mast-brand {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 0 8px;
}
.brand { display: inline-flex; align-items: baseline; gap: 0; text-decoration: none; }
.mark {
  font-family: var(--display); font-weight: 700; font-size: 34px;
  background: var(--yolk); color: var(--pine);
  padding: 2px 8px 4px; border-radius: 12px 0 0 12px;
}
.word {
  font-family: var(--display); font-weight: 700; font-size: 34px;
  background: #f6fff9; color: var(--pine);
  padding: 2px 12px 4px; border-radius: 0 12px 12px 0;
}
.mast-line { margin: 0; color: #c9e7df; font-size: 0.92rem; flex: 1; }
.menu-btn { display: none; }
.mast-nav { padding: 8px 0 16px; }
.mast-nav ul { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; }
.nav-link {
  text-decoration: none; font-weight: 800; font-size: 0.95rem;
  border-bottom: 3px solid transparent; padding-bottom: 2px;
}
.mast-nav li:nth-child(4n+1) .nav-link { border-color: var(--chili); }
.mast-nav li:nth-child(4n+2) .nav-link { border-color: var(--yolk); }
.mast-nav li:nth-child(4n+3) .nav-link { border-color: var(--jade); }
.mast-nav li:nth-child(4n) .nav-link { border-color: var(--cobalt); }
.nav-link.is-current { color: var(--yolk); }
.finder {
  display: flex; width: min(280px, 100%); margin-left: auto;
  background: #f6fff9; color: var(--ink); border-radius: 999px; overflow: hidden;
}
.finder input {
  border: 0; background: transparent; padding: 10px 14px; width: 190px; min-width: 0;
}
.finder button {
  border: 0; background: var(--chili); color: white; font-weight: 800;
  padding: 0 14px; cursor: pointer;
}

.poster {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 22px;
  align-items: stretch; padding: 28px 0 8px;
}
.poster-copy {
  background: var(--pine); color: #f6fff9;
  border-radius: 36px; padding: 42px 32px 36px;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 460px;
  background-image:
    radial-gradient(circle at 90% 12%, var(--jade) 0 42px, transparent 44px),
    radial-gradient(circle at 12% 18%, var(--chili) 0 18px, transparent 20px);
}
.kicker {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75rem;
  font-weight: 800; color: var(--yolk); margin: 0 0 12px;
}
.poster-copy h1, .intro h1, .recipe-banner h1 { font-size: clamp(2.1rem, 3.6vw, 3.5rem); }
.lede { font-size: 1.12rem; max-width: 38ch; }
.poster-copy .lede { color: #d7efe8; }
.poster-card {
  display: grid; grid-template-rows: 1fr auto; text-decoration: none;
  background: var(--foam); border-radius: 36px; overflow: hidden; min-height: 420px;
  outline: 8px solid var(--yolk); outline-offset: -8px;
}
.hero-photo, .card-photo { display: block; overflow: hidden; background: #d9efe8; }
.hero-photo { min-height: 280px; }
.hero-photo img, .card-photo img, .plate { width: 100%; height: 100%; object-fit: cover; }
.plate {
  display: grid; place-items: center; min-height: 180px;
  background: linear-gradient(160deg, var(--jade), var(--cobalt));
  color: white; font-family: var(--display); font-size: 3rem;
}
.hero-card-copy, .card-copy { display: grid; gap: 4px; padding: 16px 18px 18px; }
.hero-title, .card-title { display: block; font-family: var(--display); font-weight: 700; letter-spacing: -0.04em; }
.hero-title { font-size: 1.7rem; }
.hero-dek { color: #3d534c; }
.card-cat, .pill {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #0e7a66;
}
.card-meta, .recipe-meta { color: #4d615b; font-size: 0.92rem; }

.lane { padding: 34px 0 6px; }
.lane-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 16px; }
.lane-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0; }
.lane-head p { margin: 0; max-width: 42ch; }
.text-link { font-weight: 800; color: #0e7a66; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  display: grid; grid-template-rows: auto 1fr; text-decoration: none;
  background: var(--foam); border-radius: 28px; overflow: hidden; min-height: 100%;
  box-shadow: 0 16px 0 rgba(7, 36, 31, 0.06);
}
.card-photo { aspect-ratio: 5 / 4; }
.card-title { font-size: 1.2rem; line-height: 1.15; }
.cards .card:nth-child(3n+1) { box-shadow: inset 0 8px 0 var(--chili); }
.cards .card:nth-child(3n+2) { box-shadow: inset 0 8px 0 var(--yolk); }
.cards .card:nth-child(3n) { box-shadow: inset 0 8px 0 var(--jade); }
.band {
  background: var(--pine); color: #f6fff9;
  border-radius: 36px; padding: 28px 22px 22px; margin-top: 28px;
}
.band .lane-head p, .band .text-link { color: #d7efe8; }
.band .card { color: var(--ink); }

.intro { padding: 36px 0 0; }
.crumbs { font-size: 0.92rem; margin-bottom: 10px; }
.crumb { text-decoration: none; font-weight: 800; color: #0e7a66; }
.recipe-banner { padding-top: 28px; }
.pill { text-decoration: none; }
.sheet { padding-bottom: 20px; }
.still { margin: 8px 0 20px; }
.still img {
  width: 100%; max-height: 640px; object-fit: cover;
  border-radius: 32px; outline: 10px solid var(--jade); outline-offset: 0;
}
.still figcaption { color: #3d534c; padding-top: 10px; }
.prose { font-size: 1.08rem; max-width: 72ch; }
.prose h2 { font-size: 1.8rem; margin: 1.4em 0 0.4em; }
.prose h3 { font-size: 1.3rem; }
.prose img { border-radius: 22px; margin: 12px 0; }
.prose a { color: #0e7a66; font-weight: 800; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: 0.35em 0; }
.prose table { border-collapse: collapse; width: 100%; background: var(--foam); }
.prose th, .prose td { border: 1px solid #d7cbb4; padding: 8px; text-align: left; }
.note { padding-top: 36px; }
.contact-board {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  padding: 32px 0 12px;
  align-items: start;
}
.contact-copy {
  background: var(--pine);
  color: #f6fff9;
  border-radius: 36px;
  padding: 32px 28px;
  min-height: 280px;
}
.contact-copy .lede { color: #d7efe8; }
.contact-copy .crumb { color: var(--yolk); }
.contact-panel {
  background: var(--foam);
  border-radius: 36px;
  padding: 22px;
  outline: 8px solid var(--yolk);
  outline-offset: -8px;
}
.letter { display: grid; gap: 12px; }
.letter label { display: grid; gap: 6px; font-weight: 800; font-size: 0.92rem; }
.letter input, .letter textarea {
  width: 100%;
  border: 0;
  border-radius: 16px;
  background: #f4efe4;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
}
.letter button {
  justify-self: start;
  border: 0;
  background: var(--chili);
  color: white;
  font-weight: 800;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
}
.notice, .errors {
  background: #e7fff6;
  border-radius: 16px;
  padding: 12px 14px;
  margin: 0 0 12px;
}
.errors { background: #ffe8e2; }
.captcha { margin-top: 4px; }
.trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.empty { font-size: 1.1rem; }

.pager { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 10px; }
.page-link {
  text-decoration: none; min-width: 44px; text-align: center;
  padding: 8px 12px; border-radius: 999px; background: var(--foam); font-weight: 800;
}
.page-link.is-current { background: var(--pine); color: var(--yolk); }

.foot { margin-top: 48px; background: var(--pine); color: #f6fff9; padding: 36px 0 18px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 22px; }
.foot h2 { font-size: 1rem; margin: 0 0 10px; color: var(--yolk); }
.foot ul { list-style: none; }
.foot li { margin: 7px 0; }
.foot-link { text-decoration: none; }
.foot .word, .foot .mark { font-size: 28px; }
.legal { margin-top: 22px; border-top: 1px solid rgba(255,255,255,0.16); padding-top: 12px; }
.legal p { margin: 0; color: #c9e7df; }

@media (max-width: 900px) {
  .poster, .foot-grid, .contact-board { grid-template-columns: 1fr; }
  .mast-line { display: none; }
  .finder { width: auto; }
  .poster-copy, .poster-card { min-height: 0; }
}
@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
  .menu-btn {
    display: inline-block; margin-left: auto;
    border: 0; background: var(--yolk); color: var(--pine);
    border-radius: 999px; padding: 8px 14px; font-weight: 800; cursor: pointer;
  }
  .mast-brand { flex-wrap: wrap; }
  .mast-nav { display: none; padding-bottom: 16px; }
  .mast-nav.is-open { display: block; }
  .lane-head { display: grid; }
  .finder { width: 100%; }
  .finder input { flex: 1; width: auto; }
}
