:root {
  --ink: #1b1140;
  --paper: #f6f0e6;
  --foam: #fffdf8;
  --chili: #ff3b6b;
  --mango: #ffb703;
  --lime: #d6ff4a;
  --lagoon: #12c4b4;
  --grape: #6c4dff;
  --muted: #5c5378;
  --display: "Syne", "Avenir Next", sans-serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  background:
    radial-gradient(circle at 0 -8%, #ffd0e4 0, transparent 32%),
    radial-gradient(circle at 100% 0, #c9fff6 0, transparent 28%),
    radial-gradient(circle at 78% 18%, #e5dcff 0, transparent 24%),
    var(--paper);
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 0.7rem;
}
p { margin: 0 0 0.9rem; }
a { color: inherit; }
ul { margin: 0; padding: 0; }
::selection { background: var(--lime); color: var(--ink); }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--lime);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 50;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 0.6rem; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}
.shell { width: min(var(--wrap), calc(100% - 2rem)); margin: 0 auto; }

.mast {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--ink);
  color: #fff;
}
.mast-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.6rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  text-decoration: none;
  margin-right: auto;
}
.brand svg { width: 2.6rem; height: 2.6rem; flex: none; }
.brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.05em;
  line-height: 1;
}
.brand small {
  display: block;
  color: var(--lime);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.finder { display: flex; gap: 0.4rem; }
.finder input {
  width: 11rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0.45rem 0.8rem;
}
.finder button, .nav-toggle {
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
}
.nav-toggle { display: none; }
.rail ul {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  overflow-x: auto;
  padding: 0 0 0.85rem;
}
.rail-link {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 2px solid rgba(214, 255, 74, 0.45);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.rail-link.is-current, .rail-link:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }

.splash { padding: 1.4rem 0 0.4rem; }
.splash-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.2rem;
  align-items: stretch;
}
.splash-copy {
  background: var(--mango);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 1.8rem;
  box-shadow: 10px 10px 0 var(--ink);
  padding: 1.6rem 1.5rem 1.4rem;
  position: relative;
  overflow: hidden;
}
.splash-copy h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 12ch; }
.eyebrow, .lane-kicker, .plate-kind {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.sticker {
  display: inline-block;
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  transform: rotate(-6deg);
  margin-bottom: 0.8rem;
}
.dek { font-size: 1.12rem; max-width: 38rem; }
.splash-feature {
  border: 3px solid var(--ink);
  border-radius: 1.8rem;
  overflow: hidden;
  background: var(--foam);
  box-shadow: 10px 10px 0 var(--grape);
  min-height: 100%;
}
.splash-feature { display: flex; }
.splash-feature a {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.splash-feature .frame { flex: 1 1 auto; aspect-ratio: auto; min-height: 16rem; }
.splash-feature .plate-copy { padding: 0.9rem 1rem 1.1rem; }
.splash-feature .plate-name { font-family: var(--display); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.04em; display: block; }

.frame {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #efe7ff;
}
.frame img, .photo-fallback { width: 100%; height: 100%; object-fit: cover; }
.photo-fallback {
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 2.4rem;
  background: linear-gradient(145deg, var(--chili), var(--grape));
  color: #fff;
}

.band { padding: 1.3rem 0; }
.band-dinner { background: var(--chili); color: #fff; }
.band-morning { background: var(--lagoon); color: var(--ink); }
.band-sweet { background: var(--grape); color: #fff; }
.band-head, .shelf-head, .lane-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 0.9rem;
}
.band-head h2, .shelf-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0; }
.band-head p, .lane-head p { max-width: 28rem; margin: 0; }

.quad, .shelf, .kin {
  display: grid;
  gap: 0.9rem;
  list-style: none;
}
.quad, .shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kin.n8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kin.n9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plate {
  background: var(--foam);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--ink);
  min-width: 0;
}
.plate:nth-child(4n + 1) { box-shadow: 6px 6px 0 var(--chili); }
.plate:nth-child(4n + 2) { box-shadow: 6px 6px 0 var(--mango); }
.plate:nth-child(4n + 3) { box-shadow: 6px 6px 0 var(--lagoon); }
.plate:nth-child(4n + 4) { box-shadow: 6px 6px 0 var(--grape); }
.plate > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.plate-copy { padding: 0.75rem 0.8rem 0.9rem; display: flex; flex-direction: column; gap: 0.25rem; }
.plate-kind { color: var(--grape); }
.plate-name { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-size: 1.12rem; line-height: 1.05; }

.library { padding: 1.6rem 0 2rem; }
.shelf-head h2 { max-width: 16ch; }
.section-note { color: var(--muted); max-width: 36rem; }

.banner {
  padding: 1.6rem 0 0.4rem;
}
.banner h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 16ch; }
.lede { font-size: 1.15rem; max-width: 40rem; }
.archive { padding-bottom: 2.2rem; }

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

.recipe-top {
  background: var(--ink);
  color: #fff;
  padding: 1.5rem 0 4.5rem;
}
.recipe-top h1 { font-size: clamp(2.3rem, 5vw, 4.3rem); max-width: 18ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; margin-bottom: 0.8rem; font-weight: 700; }
.crumbs a { text-decoration: none; }
.crumb { text-decoration: underline; text-underline-offset: 0.15em; }
.hero-shot {
  width: min(var(--wrap), calc(100% - 2rem));
  margin: -3.2rem auto 1.2rem;
  border: 3px solid var(--ink);
  border-radius: 1.6rem;
  overflow: hidden;
  background: var(--foam);
  box-shadow: 12px 12px 0 var(--lime);
}
.hero-shot .frame { aspect-ratio: 16 / 9; }
.sheet-wrap { padding-bottom: 1rem; }
.sheet {
  background: var(--foam);
  border: 3px solid var(--ink);
  border-radius: 1.4rem;
  padding: 1.2rem 1.2rem 0.4rem;
  box-shadow: 8px 8px 0 var(--ink);
}
.prose h2 { font-size: 1.8rem; margin-top: 1.4rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1rem; }
.prose a { text-decoration: underline; text-underline-offset: 0.16em; text-decoration-thickness: 2px; }
.prose ul, .prose ol { margin: 0 0 1rem 1.1rem; }
.prose li { margin: 0.25rem 0; }
.prose figure { margin: 0 0 1rem; }
.prose img { border-radius: 1rem; border: 3px solid var(--ink); }
.method {
  margin: 1.2rem 0 0.4rem;
  background: var(--lime);
  border: 3px solid var(--ink);
  border-radius: 1.2rem;
  padding: 1rem 1rem 0.4rem;
}
.facts { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.facts span {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
}
.method ul { columns: 2; gap: 1.4rem; }
.method li { break-inside: avoid; }

.also { padding: 0.4rem 0 2rem; }
.also h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }

.base { background: var(--ink); color: #fff; margin-top: 1rem; padding: 2rem 0 1rem; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 1.2rem;
}
.foot-brand p { color: #ddd6ff; }
.base h2 { font-size: 1rem; color: var(--lime); margin-bottom: 0.45rem; }
.base ul { list-style: none; }
.base li { margin: 0.2rem 0; }
.foot-link { color: #fff; text-decoration: none; }
.foot-link:hover { color: var(--lime); }
.legal { margin-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, 0.16); padding: 0.8rem 0 0.4rem; color: #c9c0ea; }
.faq { padding-bottom: 1rem; }
.faq h3 { font-size: 1.2rem; margin-top: 1rem; }
.missing { padding: 3rem 0; }
.text-link { font-weight: 700; }

.contact-wrap { padding: 0 0 2.4rem; }
.contact-card {
  max-width: 40rem;
  background: var(--foam);
  border: 3px solid var(--ink);
  border-radius: 1.5rem;
  box-shadow: 10px 10px 0 var(--lime);
  padding: 1.3rem 1.2rem 1.4rem;
}
.note-form { display: grid; gap: 0.35rem; }
.note-form label { font-weight: 700; margin-top: 0.45rem; }
.note-form input, .note-form textarea {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 0.9rem;
  background: #fff;
  padding: 0.65rem 0.8rem;
}
.note-form textarea { resize: vertical; min-height: 8rem; }
.note-form button {
  justify-self: start;
  margin-top: 0.7rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  padding: 0.65rem 1.2rem;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
}
.note-form button:hover { transform: translate(-1px, -1px); }
.captcha { margin-top: 0.7rem; overflow: auto; }
.sent {
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 0.9rem;
  padding: 0.7rem 0.85rem;
  font-weight: 700;
}
.form-errors {
  margin: 0 0 0.8rem;
  padding-left: 1.1rem;
  color: var(--chili);
  font-weight: 700;
}
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 980px) {
  .splash-grid, .foot-grid { grid-template-columns: 1fr 1fr; }
  .quad, .shelf, .kin.n8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kin.n9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .mast .finder { display: none; }
  .banner .finder { display: flex; }
  .rail { display: none; padding-bottom: 0.8rem; }
  .rail.is-open { display: block; }
  .rail ul { flex-wrap: wrap; }
  .splash-grid, .foot-grid, .quad, .shelf { grid-template-columns: 1fr; }
  .kin.n8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kin.n9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .method ul { columns: 1; }
  .band-head, .shelf-head { display: block; }
  .splash-feature .plate-name { font-size: 1.4rem; }
}
@media (max-width: 520px) {
  .kin.n8, .kin.n9 { grid-template-columns: 1fr; }
}
