:root {
  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-sans: "Outfit", "Avenir Next", system-ui, sans-serif;
  --color-basil: #146c39;
  --color-basil-deep: #0c4a27;
  --color-ink: #172117;
  --color-cream: #fff6ea;
  --color-paper: #fffdf8;
  --color-muted: #5c655c;
  --color-line: #eadfce;
  --color-berry: #ff5d7a;
  --color-mango: #ffc53d;
  --color-mint: #7ed9a4;
  --color-sky: #8ec8ff;
  --color-blush: #ffd0dc;
}

@layer base {
  button:not(:disabled),
  [role="button"]:not(:disabled) {
    cursor: pointer;
  }

  html {
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body {
    margin: 0;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--color-cream);
    color: var(--color-ink);
    font-family: var(--font-sans);
    line-height: 1.5;
  }

  :focus-visible {
    outline: 3px solid var(--color-basil);
    outline-offset: 3px;
  }
}

.backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background-color: var(--color-cream);
  background-image: url("/shapes/field.png");
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 100% auto;
  background-attachment: scroll;
}

.blobs {
  position: absolute;
  inset: 0;
}

.blob {
  position: absolute;
}

.b1 {
  width: 46vw;
  height: 38vw;
  background: #ff7b98;
  top: -6%;
  left: -14vw;
  border-radius: 58% 42% 62% 38%;
}

.b2 {
  width: 40vw;
  height: 34vw;
  background: #ffc53d;
  top: 2%;
  right: -10vw;
  border-radius: 46% 54% 40% 60%;
}

.b3 {
  width: 34vw;
  height: 30vw;
  background: #8ec8ff;
  top: 18%;
  left: -10vw;
  border-radius: 60% 40% 50% 50%;
}

.b4 {
  width: 38vw;
  height: 32vw;
  background: #7ed9a4;
  top: 28%;
  right: -8vw;
  border-radius: 42% 58% 48% 52%;
}

.b5 {
  width: 24vw;
  height: 22vw;
  background: #ffd0dc;
  top: 40%;
  left: 22vw;
  border-radius: 50% 50% 46% 54%;
}

.b6 {
  width: 32vw;
  height: 28vw;
  background: #ff5d7a;
  top: 52%;
  left: -8vw;
  border-radius: 62% 38% 55% 45%;
  opacity: 0.85;
}

.b7 {
  width: 36vw;
  height: 30vw;
  background: #ffc53d;
  top: 63%;
  right: -12vw;
  border-radius: 48% 52% 40% 60%;
}

.b8 {
  width: 28vw;
  height: 24vw;
  background: #8ec8ff;
  top: 74%;
  left: 18vw;
  border-radius: 55% 45% 60% 40%;
}

.b9 {
  width: 42vw;
  height: 34vw;
  background: #7ed9a4;
  top: 84%;
  left: -14vw;
  border-radius: 40% 60% 48% 52%;
}

.b10 {
  width: 30vw;
  height: 26vw;
  background: #ff7b98;
  top: 92%;
  right: 6vw;
  border-radius: 58% 42% 50% 50%;
}

.blobs.is-hidden {
  opacity: 0;
}

.field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.field.is-on {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .blob {
    animation: drift 28s ease-in-out infinite;
  }

  .b2 { animation-delay: -6s; }
  .b3 { animation-delay: -12s; }
  .b4 { animation-delay: -4s; }
  .b5 { animation-delay: -18s; }
  .b6 { animation-delay: -9s; }

  .field,
  .blobs {
    transition: opacity 0.6s ease;
  }
}

@keyframes drift {
  50% {
    transform: translate3d(2vw, 1.6vw, 0) rotate(8deg);
  }
}

@keyframes turntable {
  to {
    transform: rotate(360deg);
  }
}

.shell {
  position: relative;
  isolation: isolate;
  z-index: 0;
  min-height: 100vh;
}

.topbar,
main,
.site-foot {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: calc(12px + env(safe-area-inset-top)) 16px 28px;
  background: linear-gradient(to bottom, rgb(255 246 234 / 94%), rgb(255 246 234 / 0));
}

.logo {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.logo svg {
  display: block;
  height: 104px;
  width: auto;
}

.hamburger {
  width: 58px;
  height: 58px;
  margin-top: 8px;
  border: 0;
  background: rgb(23 33 23 / 82%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  background: var(--color-cream);
  border-radius: 2px;
}

.hero {
  max-width: 980px;
  padding: 0 22px 8px;
}

.kicker {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.6rem, 9vw, 7.4rem);
  line-height: 0.82;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.lede {
  max-width: 38rem;
  margin: 16px 0 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  line-height: 1.45;
  text-wrap: pretty;
}

.index {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 22px 16px 8px;
  scrollbar-width: none;
}

.index::-webkit-scrollbar {
  display: none;
}

.index a {
  flex: 0 0 auto;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: rgb(255 253 248 / 86%);
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 24px rgb(23 33 23 / 6%);
}

.index a span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-basil);
  letter-spacing: 0.02em;
}

.seasons {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 18px 16px 0;
  scrollbar-width: none;
}

.seasons::-webkit-scrollbar {
  display: none;
}

.seasons a {
  flex: 0 0 auto;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: var(--color-basil);
  color: white;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.seasons a:hover {
  background: var(--color-basil-deep);
}

.season-block {
  padding: 36px 0 0;
}

.season-block > h2,
.season-block > p {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}

.season-block > h2 {
  margin-top: 0;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 5.4rem);
  line-height: 0.84;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.season-block > p {
  margin-top: 8px;
  margin-bottom: 0;
  max-width: 40rem;
  font-size: 1.12rem;
  font-weight: 500;
}

.recipe {
  display: grid;
  grid-template-columns: minmax(240px, 440px) minmax(0, 1fr);
  gap: 28px 36px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 18px 18px;
}

.plate-wrap {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.plate {
  width: min(100%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, #fff 62%, #f3eadc 70%, #e7dcc8 78%);
  box-shadow:
    0 0 0 10px #fff,
    0 0 0 14px #efe4d2,
    0 24px 50px rgb(23 33 23 / 16%);
}

.plate img,
.plate video,
.plate-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.food {
  transform-box: view-box;
  transform-origin: center;
}

.plate.is-spin .food {
  animation: turntable 6s linear infinite;
}

.plate-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, #f7f1e4 0 46%, transparent 47%),
    radial-gradient(circle at 50% 48%, #146c39 0 28%, transparent 29%);
}

.plate-fallback span {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-cream);
  font-size: 1.4rem;
  text-align: center;
  padding: 0 16px;
}

.spin-btn {
  min-height: 52px;
  min-width: 168px;
  border: 0;
  background: var(--color-basil);
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 18px;
}

.spin-btn:hover {
  background: var(--color-basil-deep);
}

.spin-btn:disabled {
  opacity: 0.55;
}

.card {
  background: rgb(255 253 248 / 90%);
  padding: 22px 22px 18px;
  box-shadow: 0 16px 40px rgb(23 33 23 / 8%);
}

.count-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.origin {
  margin: 0;
  font-weight: 600;
  color: var(--color-muted);
}

.count {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.card h2 {
  margin: 6px 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.86;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.blurb {
  margin: 0 0 14px;
  font-size: 1.08rem;
  text-wrap: pretty;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.meta span {
  background: var(--color-cream);
  padding: 6px 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.card h3 {
  margin: 18px 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.ings {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
}

.ings li {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-weight: 500;
}

.ings li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45em;
  background: var(--color-basil);
  flex: 0 0 auto;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 8px;
  padding: 10px 8px;
  border-top: 1px solid var(--color-line);
  font-weight: 500;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--color-basil);
  line-height: 1;
}

.steps li.is-reading {
  background: #e7f6ec;
  box-shadow: inset 4px 0 0 var(--color-basil);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.btn {
  min-height: 52px;
  border: 0;
  background: var(--color-basil);
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 16px;
}

.btn:hover {
  background: var(--color-basil-deep);
}

.btn.ghost {
  background: transparent;
  color: var(--color-ink);
  box-shadow: inset 0 0 0 3px var(--color-ink);
}

.btn.ghost:hover {
  background: var(--color-ink);
  color: white;
}

.btn:disabled {
  opacity: 0.6;
}

.voice-note,
.clip-note {
  margin: 10px 0 0;
  font-weight: 600;
}

.voice-note {
  color: var(--color-basil-deep);
}

.clip-note {
  color: var(--color-muted);
  text-align: center;
}

.site-foot {
  margin-top: 28px;
  background: var(--color-ink);
  color: var(--color-paper);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 22px;
  padding: 22px 22px calc(22px + env(safe-area-inset-bottom));
  font-size: 1.15rem;
  font-weight: 500;
}

.site-foot p {
  margin: 0;
}

.site-foot a {
  color: white;
  font-weight: 700;
  text-underline-offset: 3px;
}

.now-playing {
  position: fixed;
  z-index: 40;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  background: var(--color-ink);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  box-shadow: 0 12px 30px rgb(0 0 0 / 25%);
}

.now-playing p {
  margin: 0;
  font-weight: 600;
}

.now-playing button {
  min-height: 44px;
  border: 0;
  background: var(--color-basil);
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.3rem;
  padding: 0 14px;
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--color-basil);
  color: white;
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

.menu.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.menu :focus-visible {
  outline-color: white;
}

.menu-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: flex;
  width: 64px;
  height: 64px;
  margin-top: calc(12px + env(safe-area-inset-top));
  margin-right: 12px;
  border: 0;
  background: transparent;
  color: white;
  align-items: center;
  justify-content: center;
}

.menu-close span,
.menu-close span::before {
  display: block;
  width: 34px;
  height: 4px;
  background: white;
  border-radius: 2px;
}

.menu-close span {
  transform: rotate(45deg);
}

.menu-close span::before {
  content: "";
  transform: rotate(-90deg);
}

.menu-body {
  padding: 8px 28px calc(48px + env(safe-area-inset-bottom));
  max-width: 920px;
}

.menu h1 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 9vw, 6.6rem);
  line-height: 0.84;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.menu h2 {
  margin: 28px 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.menu p {
  margin: 0 0 16px;
  max-width: 40rem;
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  line-height: 1.4;
  font-weight: 500;
}

.menu a {
  color: white;
  font-weight: 700;
}

.x-widget {
  margin-top: 8px;
  min-height: 40px;
}

@media (max-width: 860px) {
  .recipe {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .ings {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .logo svg {
    height: 74px;
  }

  .hamburger {
    width: 52px;
    height: 52px;
  }

  .menu-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .card {
    padding: 18px 14px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .blob,
  .field,
  .blobs,
  .menu,
  .food {
    animation: none;
    transition: none;
  }
}

.dish-title {
  margin: 6px 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.86;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
