:root {
  --ink: #1a1030;
  --plaster: #fff4e8;
  --persimmon: #ff5a36;
  --mango: #ffc43d;
  --lime: #c6f25b;
  --teal: #127c78;
  --berry: #7a1f5c;
  --indigo: #24145a;
  --card: #fffaf4;
  --line: rgba(26, 16, 48, 0.12);
  --shadow: 0 18px 40px rgba(36, 20, 90, 0.12);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at -10% -10%, rgba(255, 90, 54, 0.18), transparent 60%),
    radial-gradient(700px 380px at 110% 8%, rgba(198, 242, 91, 0.28), transparent 55%),
    var(--plaster);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.wrap { width: min(1180px, calc(100% - 32px)); 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;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.mast {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--indigo);
  color: #fff8ef;
  box-shadow: 0 10px 30px rgba(36, 20, 90, 0.25);
}
.mast-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
}
.brand { color: inherit; text-decoration: none; }
.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 760;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}
.wedge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, #fff4e8 0 46%, transparent 46%),
    var(--persimmon);
  box-shadow: 8px -8px 0 var(--lime);
}
.seek { margin-left: auto; display: flex; background: #fffaf4; border-radius: 999px; overflow: hidden; }
.seek input {
  border: 0;
  background: transparent;
  padding: 10px 16px;
  width: min(280px, 42vw);
  color: var(--ink);
}
.seek button {
  border: 0;
  background: var(--persimmon);
  color: white;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}
.menu-toggle {
  display: none;
  border: 2px solid var(--lime);
  background: transparent;
  color: var(--lime);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
}
.rail { background: var(--mango); color: var(--ink); }
.rail ul {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 10px 0 14px;
  overflow-x: auto;
}
.chip {
  display: inline-block;
  text-decoration: none;
  color: var(--indigo);
  background: #fffaf4;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}
.chip.is-on { background: var(--indigo); color: var(--lime); }

.hero { padding: 28px 0 10px; }
.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
  background: var(--persimmon);
  color: #fff8ef;
  border-radius: 36px;
  padding: 36px 36px 28px;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}
.hero-split:before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--mango);
  right: -60px;
  bottom: -80px;
}
.eyebrow {
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
h1, h2, .tile-name, .orb-name { font-family: var(--serif); letter-spacing: -0.03em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 0.95; margin: 0 0 14px; }
.deck { max-width: 38rem; font-size: 1.15rem; }
.hero-orb { position: relative; z-index: 1; }
.hero-orb a { color: inherit; text-decoration: none; display: grid; justify-items: center; gap: 12px; }
.orb {
  width: min(340px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid var(--lime);
  box-shadow: var(--shadow);
  background: var(--indigo);
}
.orb img, .tile-photo img, .shot img { width: 100%; height: 100%; object-fit: cover; }
.orb-caption { text-align: center; }
.orb-name { display: block; font-size: 1.5rem; line-height: 1.05; }
.tile-kind {
  display: inline-block;
  background: var(--indigo);
  color: var(--lime);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lane { padding: 22px 0; }
.lane-head, .catalog-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 14px;
}
.lane-head h2, .catalog-head h2, .catalog-head h1 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.lane-head p, .catalog-head p { margin: 6px 0 0; }
.lane-more {
  background: var(--lime);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 14px;
  white-space: nowrap;
}
.quad, .quilt, .mosaic-8, .mosaic-9 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  align-items: stretch;
}
.quad > li, .quilt > li, .mosaic-8 > li, .mosaic-9 > li { display: flex; }
.quad, .quilt { grid-template-columns: repeat(4, 1fr); }
.quilt { grid-template-columns: repeat(3, 1fr); }
.mosaic-8 { grid-template-columns: repeat(4, 1fr); }
.mosaic-9 { grid-template-columns: repeat(3, 1fr); }
.quad a, .quilt a, .mosaic-8 a, .mosaic-9 a {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid transparent;
  box-shadow: var(--shadow);
}
.quad li:nth-child(4n+1) a, .quilt li:nth-child(3n+1) a { border-color: var(--persimmon); }
.quad li:nth-child(4n+2) a, .quilt li:nth-child(3n+2) a { border-color: var(--teal); }
.quad li:nth-child(4n+3) a, .quilt li:nth-child(3n+3) a { border-color: var(--berry); }
.quad li:nth-child(4n) a { border-color: var(--indigo); }
.mosaic-8 li:nth-child(4n+1) a, .mosaic-9 li:nth-child(3n+1) a { border-color: var(--persimmon); }
.mosaic-8 li:nth-child(4n+2) a, .mosaic-9 li:nth-child(3n+2) a { border-color: var(--teal); }
.mosaic-8 li:nth-child(4n+3) a, .mosaic-9 li:nth-child(3n) a { border-color: var(--berry); }
.mosaic-8 li:nth-child(4n) a { border-color: var(--indigo); }
.tile-photo {
  display: block;
  aspect-ratio: 4 / 3;
  height: auto;
  background: var(--mango);
  overflow: hidden;
  flex: none;
}
.photo-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: var(--indigo);
  color: var(--lime);
  font-family: var(--serif);
  font-size: 3rem;
}
.tile-copy {
  padding: 12px 12px 16px;
  display: grid;
  gap: 6px;
  align-content: start;
  flex: 1;
}
.tile-name {
  font-size: 1.2rem;
  line-height: 1.15;
  min-height: 2.3em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog { padding: 10px 0 40px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.page-link {
  text-decoration: none;
  color: var(--indigo);
  background: white;
  border: 2px solid var(--indigo);
  border-radius: 999px;
  min-width: 42px;
  text-align: center;
  padding: 8px 12px;
  font-weight: 700;
}
.page-link.is-on { background: var(--indigo); color: var(--lime); }

.recipe-top { padding: 28px 0 8px; }
.recipe-top h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 0.98; max-width: 16ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; font-weight: 700; }
.crumbs a { color: var(--berry); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0 0; list-style: none; }
.facts li {
  background: var(--lime);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
}
.facts span { display: block; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.frame-wrap { margin-top: 8px; }
.frame { margin: 0; }
.shot {
  display: block;
  border-radius: 32px;
  overflow: hidden;
  min-height: 280px;
  background: var(--mango);
  border: 8px solid var(--indigo);
}
.shot img { width: 100%; max-height: 640px; object-fit: cover; }
.reading { padding: 22px 0 10px; }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: 1.8rem; margin: 0 0 10px; }
.cook {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  margin-top: 18px;
}
.pantry, .method {
  background: var(--card);
  border-radius: 28px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.pantry { background: #e7fff4; border: 3px solid var(--teal); }
.method { border: 3px solid var(--persimmon); }
.yield { font-weight: 700; }
.method ol { padding-left: 0; list-style: none; counter-reset: step; }
.method li { counter-increment: step; margin: 0 0 12px; }
.method li p { margin: 0; }
.method li p:before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--persimmon);
  color: white;
  font-weight: 700;
}
.also { padding: 10px 0 48px; }
.also h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 6px; }

.foot { background: var(--berry); color: #fff4e8; padding: 36px 0 18px; margin-top: 20px; }
.foot a { color: var(--lime); text-decoration: none; font-weight: 700; }
.foot-grid { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 18px; }
.foot h2 { font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 8px; color: var(--mango); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.legal { margin-top: 22px; border-top: 1px solid rgba(255, 244, 232, 0.25); padding-top: 12px; }
.note { padding: 28px 0 48px; }
.note h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.contact { padding: 28px 0 48px; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
}
.contact-intro {
  background: var(--persimmon);
  color: #fff8ef;
  border-radius: 32px;
  padding: 32px;
}
.contact-intro h1 { font-size: clamp(2.4rem, 4vw, 4rem); }
.contact-panel {
  background: var(--card);
  border: 3px solid var(--teal);
  border-radius: 32px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.contact-panel form { display: grid; gap: 12px; }
.contact-panel label { display: grid; gap: 6px; font-weight: 700; }
.contact-panel input, .contact-panel textarea {
  width: 100%;
  border: 2px solid var(--indigo);
  border-radius: 16px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
}
.contact-panel button {
  justify-self: start;
  border: 0;
  background: var(--persimmon);
  color: white;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
}
.hp { position: absolute; left: -9999px; }
.errors { margin: 0 0 12px; color: var(--berry); }
.sent {
  margin: 0;
  background: var(--lime);
  border-radius: 18px;
  padding: 16px;
  font-weight: 700;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .hero-split, .cook, .foot-grid { grid-template-columns: 1fr; }
  .quad, .mosaic-8 { grid-template-columns: repeat(2, 1fr); }
  .quilt, .mosaic-9 { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .rail { display: none; }
  .rail.is-open { display: block; }
  .seek input { width: 34vw; }
}
@media (max-width: 640px) {
  .quilt, .quad, .mosaic-8 { grid-template-columns: 1fr 1fr; }
  .mosaic-9 { grid-template-columns: repeat(3, 1fr); }
  .hero-split { padding: 22px; }
  .mast-row { min-height: 64px; }
}
