:root {
  --ink: #1c140f;
  --cream: #fff4e6;
  --paper: #fffdf9;
  --muted: #6d584c;
  --tomato: #e23b2c;
  --yolk: #ffc21a;
  --basil: #1f8a4d;
  --sea: #0c7c86;
  --berry: #c2185b;
  --paprika: #ef6c00;
  --squash: #f4a259;
  --line: rgba(28, 20, 15, 0.12);
  --shadow: 0 18px 40px rgba(80, 28, 12, 0.12);
  --font: "Figtree", "Avenir Next", sans-serif;
  --display: "Fraunces", "Iowan Old Style", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 194, 26, 0.35), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(226, 59, 44, 0.18), transparent 26%),
    var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
  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;
}
.frame { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.stripes { display: grid; grid-template-columns: repeat(6, 1fr); height: 10px; }
.stripes span:nth-child(1) { background: var(--tomato); }
.stripes span:nth-child(2) { background: var(--yolk); }
.stripes span:nth-child(3) { background: var(--basil); }
.stripes span:nth-child(4) { background: var(--sea); }
.stripes span:nth-child(5) { background: var(--berry); }
.stripes span:nth-child(6) { background: var(--paprika); }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.5rem 0.8rem;
  z-index: 5;
}
.skip:focus { top: 1rem; }

.tone-tomato { --tone: var(--tomato); --on: #fffaf3; }
.tone-yolk { --tone: var(--yolk); --on: var(--ink); }
.tone-basil { --tone: var(--basil); --on: #f3fff6; }
.tone-sea { --tone: var(--sea); --on: #f3fffe; }
.tone-berry { --tone: var(--berry); --on: #fff5f8; }
.tone-paprika { --tone: var(--paprika); --on: #fff8f2; }
.tone-squash { --tone: var(--squash); --on: var(--ink); }
.tone-ink { --tone: var(--ink); --on: var(--cream); }
.fill { background: var(--tone); color: var(--on); }

.bar { position: sticky; top: 0; z-index: 4; background: rgba(255, 244, 230, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar-row { display: flex; align-items: center; gap: 1rem; min-height: 4.6rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tomato);
  color: white;
  font-family: var(--display);
  font-weight: 700;
}
.brand-name { font-family: var(--display); font-size: 1.7rem; font-weight: 700; }
.bar-line { margin: 0; color: var(--muted); flex: 1; font-size: 0.95rem; }
.find { display: flex; background: white; border-radius: 999px; overflow: hidden; border: 2px solid var(--ink); }
.find input { border: 0; padding: 0.55rem 0.9rem; width: 11rem; background: transparent; }
.find button { border: 0; background: var(--yolk); padding: 0.55rem 0.9rem; font-weight: 700; cursor: pointer; }
.menu-btn { display: none; border: 2px solid var(--ink); background: white; border-radius: 999px; padding: 0.45rem 0.8rem; font-weight: 700; }
.menu ul { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0 0 0.9rem; }
.menu-link {
  display: inline-block;
  text-decoration: none;
  background: var(--tone);
  color: var(--on);
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  font-weight: 700;
  font-size: 0.92rem;
}
.menu-link.is-current { outline: 2px solid var(--ink); outline-offset: 2px; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
  margin: 1rem auto 0;
  width: min(1180px, calc(100% - 2rem));
  background: var(--tone);
  color: var(--on);
  border-radius: 36px;
  padding: 2.2rem;
  min-height: 560px;
  box-shadow: var(--shadow);
}
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); max-width: 11ch; }
.kicker, .eyebrow {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.6rem;
}
.hero .dek, .mast .dek, .lane-head p { font-size: 1.15rem; max-width: 42rem; }
.hero-recipe { margin-top: 1.4rem; background: rgba(255, 255, 255, 0.16); border-radius: 22px; padding: 1rem 1.1rem; }
.hero-recipe h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0.2rem 0 0.4rem; }
.hero-recipe a, .go a, .pill { text-decoration: none; }
.hero-cat a { font-weight: 700; }
.plate-ring {
  width: min(440px, 100%);
  margin-inline: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 14px;
  background: var(--yolk);
  box-shadow: 0 20px 0 rgba(28, 20, 15, 0.08);
}
.plate-ring a { display: block; height: 100%; border-radius: 50%; overflow: hidden; }
.plate-ring img, .plate-ring .photo-fallback { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.photo-fallback {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.25);
  color: inherit;
  font-family: var(--display);
  font-size: 3rem;
}
.go { margin-top: 0.8rem; }
.pill, .go a {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
}

.lane { margin: 2.4rem auto; }
.lane-head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1rem; }
.lane-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.tile a {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 100%;
  background: var(--tone);
  color: var(--on);
  text-decoration: none;
  border-radius: 28px;
  padding: 0.8rem;
  height: 100%;
}
.tile .shot, .plate .shot { display: block; overflow: hidden; }
.tile .shot { border-radius: 50% 50% 18px 18px; aspect-ratio: 1.05; background: rgba(255,255,255,.2); }
.tile img, .tile .photo-fallback { width: 100%; height: 100%; object-fit: cover; }
.tile .name, .plate .name { display: block; font-family: var(--display); font-size: 1.35rem; line-height: 1.1; }
.tile .pad, .plate .pad { display: flex; flex-direction: column; gap: 0.25rem; }

.cloth { margin: 1.2rem 0; padding: 2.4rem 0; background: var(--tone); color: var(--on); }
.cloth-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1.4rem; align-items: center; }
.cloth h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); margin-bottom: 0.6rem; }
.stamps { display: grid; gap: 0.7rem; }
.stamps .plate { background: var(--paper); color: var(--ink); border-radius: 22px; }
.stamps .plate a { color: var(--ink); }

.plates { display: grid; gap: 0.8rem; }
.plate a {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
  background: var(--paper);
  color: var(--ink);
  border-radius: 24px;
  overflow: hidden;
  border-left: 12px solid var(--tone);
  min-height: 140px;
}
.plate .shot { height: 140px; }
.plate img, .plate .photo-fallback { width: 100%; height: 100%; object-fit: cover; }
.plate .pad { padding-right: 1rem; }

.mast { padding: 2.6rem 0 2rem; }
.mast-copy h1, .sheet h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 16ch; }
.sheet { width: min(860px, calc(100% - 2rem)); margin: 0 auto 2rem; }
.recipe-wrap { margin-top: -2.4rem; }
.still {
  margin: 0 auto 1.4rem;
  width: min(860px, calc(100% - 2rem));
  background: white;
  padding: 0.7rem;
  border-radius: 28px;
  transform: rotate(-1.1deg);
  box-shadow: var(--shadow);
}
.still img { width: 100%; border-radius: 20px; max-height: 640px; object-fit: cover; }
.still figcaption { padding: 0.5rem 0.4rem 0.2rem; color: var(--muted); font-size: 0.92rem; }
.crumbs { margin-bottom: 0.8rem; font-size: 0.92rem; }
.crumbs a { text-decoration: none; font-weight: 700; }
.prose { font-size: 1.08rem; }
.prose > * + * { margin-top: 1rem; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.6rem; }
.prose h2 { font-size: 2rem; }
.prose h3 { font-size: 1.5rem; }
.prose a { text-decoration: underline; text-underline-offset: 0.15em; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.35rem; }
.prose img { border-radius: 18px; margin: 0.6rem 0; }
.prose blockquote {
  margin: 0;
  padding: 0.8rem 1rem;
  border-left: 8px solid var(--tomato);
  background: white;
  border-radius: 0 16px 16px 0;
}
.prose table { width: 100%; border-collapse: collapse; background: white; }
.prose th, .prose td { border-bottom: 1px solid var(--line); text-align: left; padding: 0.45rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 1.2rem 0 0; }
.tags a {
  display: inline-block;
  text-decoration: none;
  background: var(--yolk);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.pager { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.2rem; }
.page-link {
  display: inline-grid;
  place-items: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  text-decoration: none;
  background: white;
  border: 2px solid var(--ink);
  font-weight: 700;
}
.page-link.is-current { background: var(--tomato); color: white; border-color: var(--tomato); }

.colophon { background: var(--ink); color: var(--cream); margin-top: 2rem; padding: 2.2rem 0 1rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 1.2rem; }
.colophon h2 { font-size: 1.15rem; color: var(--yolk); margin-bottom: 0.45rem; }
.colophon ul { list-style: none; margin: 0; padding: 0; }
.colophon li + li { margin-top: 0.25rem; }
.foot-link { text-decoration: none; }
.foot-link:hover { text-decoration: underline; }
.colophon .brand { color: white; margin-bottom: 0.5rem; }
.legal { margin-top: 1.4rem; padding-top: 0.8rem; border-top: 1px solid rgba(255,244,230,.2); color: rgba(255,244,230,.75); font-size: 0.92rem; }

.contact-board {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.3rem;
  align-items: start;
  margin: -1.2rem auto 2.4rem;
}
.contact-board .prose { background: transparent; }
.contact-card {
  background: var(--paper);
  border-radius: 28px;
  padding: 1.3rem 1.3rem 1.4rem;
  border-top: 12px solid var(--tomato);
  box-shadow: var(--shadow);
}
.contact-card h2 { font-size: 2.2rem; margin: 0.2rem 0 0.4rem; }
.contact-lede { color: var(--muted); margin-bottom: 0.8rem; }
.note-form { display: grid; gap: 0.75rem; margin-top: 0.6rem; }
.note-form label { display: grid; gap: 0.3rem; font-weight: 700; }
.note-form input, .note-form textarea {
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 0.75rem 0.85rem;
  background: #fff;
}
.note-form input:focus, .note-form textarea:focus {
  outline: 3px solid var(--yolk);
  border-color: var(--tomato);
}
.note-form button {
  justify-self: start;
  background: var(--yolk);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
}
.note-form button:hover { background: var(--tomato); color: #fff; }
.hp { position: absolute; left: -9999px; }
.notice, .form-errors { background: white; border-radius: 16px; padding: 0.8rem 1rem; }
.form-errors { color: var(--tomato); }
.index-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin-top: 1rem; }
.index-card { background: white; border-radius: 20px; padding: 1rem; border-top: 8px solid var(--basil); }
.index-card h2 { font-size: 1.6rem; }
.index-card a { text-decoration: none; }
.captcha { margin: 0.2rem 0; }

@media (max-width: 980px) {
  .hero, .cloth-grid, .foot-grid, .contact-board { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .bar-line { display: none; }
  .menu-btn { display: inline-block; }
  .menu { display: none; }
  .menu.is-open { display: block; }
  .find input { width: 7.5rem; }
}
@media (max-width: 640px) {
  .plate a { grid-template-columns: 108px 1fr; }
  .plate .shot { height: 108px; }
  .hero { padding: 1.3rem; border-radius: 24px; }
  .mosaic, .index-grid { grid-template-columns: 1fr; }
  .lane-head { display: block; }
}
