* {
  box-sizing: border-box;
}
:root {
  font:
    17px/1.45 ui-rounded,
    "Trebuchet MS",
    system-ui,
    sans-serif;
  color: #382d28;
  background: #fbf4e3;
  --ink: #463427;
  --green: #28614a;
  --cream: #fffaf0;
  --red: #a43b29;
  --line: #dbcbb0;
}
body {
  margin: 0;
}
header,
main {
  max-width: 1120px;
  margin: auto;
  padding: 16px clamp(14px, 4vw, 48px);
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 10px;
}
header img {
  display: block;
  object-fit: contain;
  max-width: 28vw;
  height: auto;
}
nav {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
a {
  color: var(--green);
  font-weight: 750;
  text-underline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2rem, 4.8vw, 4rem);
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
button,
.button {
  font: inherit;
  font-weight: 750;
  background: var(--cream);
  border: 1.5px solid #aa987b;
  border-radius: 13px;
  color: var(--ink);
  padding: 0.56em 0.85em;
  min-height: 44px;
  cursor: pointer;
  touch-action: manipulation;
}
.button {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #14749d;
  outline-offset: 3px;
}
button:hover,
.button:hover {
  border-color: var(--green);
  box-shadow: 0 2px 0 #64513433;
}
button[aria-pressed="true"],
button.selected {
  background: #ffdf91;
  outline: 3px solid #835922;
  outline-offset: -3px;
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
.hero {
  background: #eadcc0 url(./invitation-small.webp) center right/cover no-repeat;
  min-height: 240px;
  border-radius: 26px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin: 12px 0 24px;
}
.hero > div {
  align-self: stretch;
  width: min(78%, 600px);
  padding: clamp(20px, 4vw, 55px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(90deg, #fff8e9 42%, #fff8e9df 75%, transparent);
}
.hero p {
  max-width: 34ch;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(224px, 100%), 1fr));
  gap: 15px;
}
.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--cream);
  gap: 9px;
}
.card:hover {
  border-color: var(--green);
}
.card h2 {
  font-size: 1.45rem;
}
.card p {
  font-size: 0.92rem;
  font-weight: 450;
}
.sample {
  height: 94px;
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: var(--wash, #f6dfc7);
  border-radius: 12px;
  font-size: 2.4rem;
}
.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 28%);
  gap: 16px;
  align-items: start;
}
.mast {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 14px 0;
}
.mast h1 {
  font-size: clamp(1.65rem, 3.8vw, 3rem);
}
.mast img {
  width: 64px;
  height: 68px;
  object-fit: contain;
}
.bench,
.ticket,
.finish {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 21px;
  padding: clamp(14px, 2.5vw, 25px);
}
.bench {
  min-width: 0;
  background: linear-gradient(155deg, #fffcf0, #f6e8ce);
}
.ticket {
  display: grid;
  gap: 12px;
}
.ticket h2 {
  font-size: 1.28rem;
}
.ticket p {
  font-size: 0.96rem;
}
.toolbar,
.choices,
.tray {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.toolbar {
  margin: 15px 0;
}
.readout {
  min-height: 1.5em;
  margin-top: 12px;
  text-align: center;
  font-weight: 650;
  color: var(--green);
}
.progress {
  font-size: 0.85rem;
  font-weight: 750;
  color: #6b594b;
  margin-bottom: 3px;
}
.work {
  display: grid;
  gap: 14px;
  align-content: center;
  min-height: 260px;
}
.instruction {
  text-align: center;
}
.illustration {
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  line-height: 1.15;
}
.grid {
  display: grid;
  gap: 5px;
  max-width: 460px;
  margin: auto;
  width: 100%;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
}
.cell {
  border-radius: 12px;
  min-width: 0;
  aspect-ratio: 1;
  padding: 2px;
  display: grid;
  place-items: center;
  align-content: center;
  position: relative;
  font-size: clamp(1.2rem, 4vw, 2rem);
}
.cell small {
  font-size: 0.8rem;
  color: var(--ink);
}
.cell.empty {
  background: #f1dfbd;
}
.cell.wall {
  background: #d2c2a5;
}
.finish {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 30px;
}
.finish img {
  height: 120px;
  max-width: 80%;
  object-fit: contain;
}
.tubes {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(6px, 2vw, 18px);
  padding: 15px 0;
}
.tube {
  width: clamp(47px, 12vw, 87px);
  height: 156px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  border: 3px solid #859b99;
  border-top: 2px dashed #9aa8a6;
  border-radius: 5px 5px 23px 23px;
  background: linear-gradient(90deg, #dceee877, #ffffffb3, #cfe3da77);
  padding: 8px 3px;
}
.ring {
  --glaze: #fb9998;
  position: relative;
  display: inline-block;
  width: 90%;
  max-width: 64px;
  height: 24px;
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse at 50% 45%,
      #654a35 0 12%,
      #f0c482 15% 23%,
      transparent 25%
    ),
    radial-gradient(ellipse at 34% 30%, #fff9 0 5%, transparent 7%),
    linear-gradient(165deg, var(--glaze) 52%, #ce8c45 76%, #ac6b34);
  border: 1px solid #9a6d43;
  flex-shrink: 0;
}
.ring.b,
.swirl.b {
  --glaze: #93623e;
}
.ring.c,
.swirl.c {
  --glaze: #93c696;
}
.ring.d,
.swirl.d {
  --glaze: #a89ad5;
}
.ring.e,
.swirl.e {
  --glaze: #f3c477;
}
.cones {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 6vw, 65px);
  text-align: center;
}
.cone-art {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: flex-start;
  min-height: 150px;
  min-width: 75px;
}
.wafer {
  width: 64px;
  height: 61px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background:
    repeating-linear-gradient(45deg, transparent 0 8px, #aa733d88 9px 10px),
    repeating-linear-gradient(-45deg, #e7b578 0 8px, #bd874a 9px 10px);
}
.swirl {
  --glaze: #fb9998;
  display: block;
  width: 75px;
  height: 15px;
  border-radius: 45% 60% 48% 48%;
  background: linear-gradient(5deg, #0002, var(--glaze) 42%, #fff9);
  background-color: var(--glaze);
  border: 1px solid #8e7155;
  margin-bottom: -2px;
  position: relative;
}
.flavor {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  display: grid;
  justify-items: center;
  gap: 6px;
}
.flavor .swirl {
  width: 42px;
}
.packet {
  padding: 9px;
  min-height: 42px;
  background: #fff3d4;
  border: 1px dashed #bb9765;
  border-radius: 14px;
  text-align: center;
}
.portion {
  font-size: 0.85rem;
}
.food {
  font-size: 1.75rem;
}
.kettle {
  padding: 15px;
  border: 8px solid #697e74;
  border-radius: 35%;
  background: radial-gradient(#edb960, #c77d33);
  max-width: 360px;
}
.shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  border-bottom: 8px solid #b28452;
  padding: 6px;
  background: #f3e3c9;
  border-radius: 5px;
}
.shelf button {
  padding: 0;
  min-width: 0;
  font-size: 1.65rem;
}
.shelves {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px;
}
.chip {
  font-size: 1.5rem;
  padding: 3px 6px;
  border-radius: 9px;
  background: #fff7e2;
  border: 1px solid var(--line);
}
.meter {
  height: 12px;
  background: #e4d3b5;
  border-radius: 20px;
  overflow: hidden;
}
.meter i {
  height: 100%;
  display: block;
  background: var(--green);
}
.covered {
  opacity: 0.6;
  background: #d8cab5;
}
.idle-note {
  font-size: 0.88rem;
  text-align: center;
  color: #665548;
}
@media (max-width: 680px) {
  header,
  main {
    padding: 10px 12px;
  }
  .stage {
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
  }
  .stage > * {
    width: 100%;
  }
  .ticket {
    gap: 4px;
    padding: 10px 14px;
  }
  .ticket h2 {
    font-size: 1rem;
  }
  .ticket p {
    font-size: 0.9rem;
  }
  .mast {
    margin: 8px 0;
  }
  .mast img {
    height: 49px;
    width: 47px;
  }
  .work {
    min-height: 220px;
  }
  .hero {
    min-height: 200px;
  }
  .hero > div {
    width: 92%;
  }
  .hero h1 {
    max-width: 9ch;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .card {
    padding: 10px;
    gap: 6px;
  }
  .card h2 {
    font-size: 1.18rem;
  }
  .sample {
    height: 70px;
    font-size: 1.8rem;
  }
  .card p {
    font-size: 0.82rem;
  }
  .grid {
    max-width: 320px;
  }
  .card .sample {
    gap: 0;
  }
}
@font-face {
  font-family: Nunito;
  src: url(/fonts/nunito.woff2) format("woff2");
  font-display: swap;
  font-weight: 200 900;
}
body,
button {
  font-family: Nunito, system-ui, sans-serif;
}
.food-pic {
  display: inline-block;
  width: 1.75em;
  height: 1.75em;
  max-width: 100%;
  vertical-align: middle;
  background-image: url(./pantry-art.webp);
  background-size: 400% 400%;
  background-position: var(--x) var(--y);
  background-repeat: no-repeat;
}
.cell .food-pic {
  width: min(2em, 90%);
}
.shelf .food-pic {
  width: 1.45em;
  height: 1.45em;
}
.ring.a,
.ring.b,
.ring.c {
  border: 0;
  background-image: url(./pantry-art.webp);
  background-size: 400% 400%;
  background-position: 66.6667% 66.6667%;
  border-radius: 0;
}
.ring.b {
  background-position: 100% 66.6667%;
}
.ring.c {
  background-position: 0 100%;
}
.wafer {
  width: 62px;
  height: 66px;
  background: transparent url(./pantry-art.webp) 33.333% 100%/400% 400%;
  clip-path: none;
}
.memory-work {
  text-align: center;
}
.memory-work h2 {
  margin: 0.5rem 0;
}
.memory-work .choices {
  margin-block: 12px;
}
.sundae-picture {
  position: relative;
  width: 140px;
  height: 176px;
  margin: 8px auto;
  background: radial-gradient(
    ellipse at 50% 94%,
    #926a3f35 0 17%,
    transparent 19%
  );
}
.sundae-part {
  position: absolute;
  display: block;
}
.sundae-picture .component-0 {
  left: 36px;
  bottom: 14px;
  width: 68px;
  height: 79px;
  background:
    repeating-linear-gradient(45deg, transparent 0 9px, #0002 9px 11px),
    repeating-linear-gradient(-45deg, #d19855 0 9px, #f5c984 9px 11px);
  clip-path: polygon(0 0, 100% 0, 54% 100%, 46% 100%);
}
.sundae-picture .component-0.style-1 {
  filter: brightness(0.58);
}
.sundae-picture .component-0.style-2,
.sundae-picture .component-0.style-3 {
  border-radius: 8px 8px 20px 20px;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%);
  background: repeating-linear-gradient(
    90deg,
    #f6df92 0 9px,
    #d8bb6b 10px 12px
  );
}
.sundae-picture .component-0.style-3 {
  background: repeating-linear-gradient(
    90deg,
    #eca1a4 0 9px,
    #d97d85 10px 12px
  );
}
.sundae-picture .component-1 {
  left: 23px;
  top: 44px;
  width: 94px;
  height: 63px;
  background: #ed97ad;
  border: 3px solid #774f40;
  border-radius: 52% 56% 22% 24%;
  box-shadow: inset -8px -7px #0001;
}
.sundae-picture .component-1.style-1 {
  background: #a67357;
}
.sundae-picture .component-1.style-2 {
  background: #99cc99;
}
.sundae-picture .component-1.style-3 {
  background: #928ac6;
}
.sundae-picture .component-2 {
  left: 37px;
  top: 55px;
  width: 65px;
  height: 39px;
  border-radius: 60% 50% 29% 42%;
}
.sundae-picture .component-2.style-0 {
  background: radial-gradient(circle, #792b42 0 2px, transparent 3px) 2px
    3px/13px 15px;
}
.sundae-picture .component-2.style-1 {
  background: repeating-linear-gradient(
    18deg,
    transparent 0 6px,
    #663d30 7px 10px,
    transparent 11px 15px
  );
}
.sundae-picture .component-2.style-2 {
  background:
    repeating-linear-gradient(
      133deg,
      transparent 0 6px,
      #e6aa30 7px 10px,
      transparent 11px 15px
    ),
    repeating-linear-gradient(
      48deg,
      transparent 0 15px,
      #006879 16px 19px,
      transparent 20px 26px
    );
}
.sundae-picture .component-2.style-3 {
  background: radial-gradient(
      circle,
      #fffbe9 0 3px,
      #755b50 3px 4px,
      transparent 4px
    )
    0 0/20px 16px;
}
.sundae-picture .component-3 {
  left: 61px;
  top: 26px;
  width: 23px;
  height: 23px;
}
.sundae-picture .component-3.style-0 {
  background: #c64645;
  border: 2px solid #763e39;
  border-radius: 50%;
  box-shadow: 13px -4px 0 -3px #ab3e42;
}
.sundae-picture .component-3.style-1 {
  background: repeating-linear-gradient(45deg, #9b6039 0 4px, #f3cb8b 4px 11px);
  width: 13px;
  height: 41px;
  border-radius: 5px;
  transform: rotate(22deg);
  top: 10px;
  left: 79px;
}
.sundae-picture .component-3.style-2 {
  background: #527d47;
  border-radius: 80% 6% 80% 6%;
  transform: rotate(8deg);
  width: 30px;
}
.sundae-picture .component-3.style-3 {
  background: #daa12f;
  clip-path: polygon(
    50% 0,
    62% 34%,
    100% 36%,
    70% 59%,
    81% 100%,
    50% 76%,
    17% 100%,
    28% 60%,
    0 36%,
    37% 34%
  );
  width: 33px;
  height: 32px;
  top: 18px;
}
.food-ingredients {
  background-image: url(./recipe-art.webp);
}
.food-foods {
  background-image: url(./kitchen-foods.webp);
  background-size: 600% 600%;
}
.hero {
  background-color: #fff8e9;
  background-size: auto 100%;
  background-position: right center;
}
.hero > div {
  background: linear-gradient(90deg, #fff8e9 74%, #fff8e9e5 90%, transparent);
}
.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin: 1.2rem 0;
}
.catalog-controls label {
  display: grid;
  gap: 3px;
  font-size: 0.88rem;
  font-weight: 750;
}
.catalog-controls input,
.catalog-controls select {
  font: inherit;
  border: 1px solid #a79881;
  border-radius: 10px;
  padding: 8px 11px;
  background: var(--cream);
  color: var(--ink);
  height: 44px;
}
.catalog-controls output {
  font-size: 0.9rem;
}
.card[hidden] {
  display: none;
}
@media (max-width: 680px) {
  .hero {
    background-size: auto 90%;
  }
  .hero > div {
    width: 63%;
    padding: 16px 10px 16px 16px;
    background: linear-gradient(90deg, #fff8e9 62%, #fff8e9d8 84%, transparent);
  }
  .hero h1 {
    font-size: clamp(1.7rem, 6.6vw, 2.4rem);
  }
  .hero p {
    font-size: 0.9rem;
  }
  .catalog-controls {
    gap: 7px;
  }
  .catalog-controls input {
    width: 160px;
  }
  .catalog-controls select {
    max-width: 155px;
  }
}

.card h2,
.card p {
  overflow-wrap: anywhere;
  hyphens: auto;
}
@media (max-width: 410px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    background-size: 100% auto;
    background-position: center bottom;
  }
  .hero > div {
    width: 100%;
    padding: 14px 16px;
    gap: 5px;
    background: #fff8e9;
  }
  .hero h1 {
    max-width: none;
  }
  .hero::after {
    content: "";
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .card {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 5px 10px;
    align-content: start;
  }
  .card .sample {
    grid-row: span 2;
    align-self: center;
    font-size: 1.4rem;
  }
  .card .sample > img {
    width: 44px;
    height: 55px;
    object-fit: contain;
  }
}
.work .wc-wheel-field b {
  z-index: 1;
  background: var(--cream);
  color: var(--ink);
  line-height: 1;
  text-align: center;
  min-width: 1em;
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
}

.card .card-food img {
  display: block;
  width: clamp(42px, 6vw, 64px);
  height: auto;
}

.food-extra {
  background-image: url(./extra-foods.webp);
}
