:root {
  --paper: #f8f6f0;
  --ink: #181612;
  --muted: #756e63;
  --yellow: #ffd51f;
  --pink: #ef3c7d;
  --cream: #fff1bf;
  --line: rgba(24, 22, 18, 0.15);
}

* { box-sizing: border-box; }
html {
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  background: var(--paper);
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
}

@supports (overflow: clip) {
  html,
  body { overflow-x: clip; }
}

main { max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) {
  main { overflow-x: clip; }
}

a { color: inherit; }
button, input { font: inherit; }

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(21, 13, 6, .86), rgba(26, 16, 7, .35) 58%, rgba(18, 10, 4, .68)),
    radial-gradient(circle at 72% 24%, rgba(255, 211, 111, .55), transparent 24%),
    repeating-linear-gradient(100deg, #725034 0 2px, #50351f 2px 6px, #805b3d 6px 8px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: radial-gradient(#fff 0.7px, transparent 0.8px);
  background-size: 7px 7px;
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  padding: 28px 0;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: .75;
  text-decoration: none;
  transform: rotate(-2deg);
}

.logo span {
  color: var(--yellow);
  font: 700 58px/1 "Segoe Print", "Comic Sans MS", cursive;
  letter-spacing: -5px;
}

.logo small {
  align-self: center;
  margin-top: 8px;
  font-weight: 700;
  letter-spacing: 6px;
}

.nav-links { display: flex; gap: 46px; }
.nav-links a {
  position: relative;
  padding: 10px 2px;
  font: 700 18px "Segoe Print", "Comic Sans MS", cursive;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
  transform: rotate(-2deg);
}

.nav-links a:nth-child(2)::after { background: var(--pink); }

.language-toggle {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.language-toggle {
  width: 46px;
  height: 42px;
  border-radius: 50%;
  font-weight: 700;
}

.goodbye span, .hand-heart { color: var(--pink); }

.section-shell { width: min(1180px, calc(100% - 48px)); margin: auto; }
.page-tabs {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.page-tabs-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(900px, 100%);
  min-height: 120px;
  margin: auto;
}

.page-tab {
  position: relative;
  display: grid;
  place-items: center;
  font: 700 27px "Segoe Print", "Comic Sans MS", cursive;
  text-decoration: none;
  text-transform: uppercase;
}

.page-tab + .page-tab { border-left: 1px solid var(--line); }

.page-tab::after {
  content: "";
  position: absolute;
  bottom: 28px;
  width: 105px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  transform: rotate(-2deg);
}

.workshops-tab::after {
  background: var(--pink);
  transform: rotate(1deg);
}

.menu-section { padding: 80px 0; }

.section-heading,
.menu-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.section-heading { margin-bottom: 34px; }
.menu-section .section-heading {
  justify-content: flex-start;
  align-items: flex-end;
}
.section-heading h2 {
  margin: 4px 0 0;
  font: 700 clamp(34px, 5vw, 56px) "Segoe Print", "Comic Sans MS", cursive;
  text-transform: uppercase;
}

.scribble-label {
  display: inline-block;
  padding: 2px 12px;
  background: var(--yellow);
  font-weight: 700;
  transform: rotate(-2deg);
}
.scribble-label.pink { background: var(--pink); color: white; }

.category-dots { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.category-dot {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.category-dot.active { background: var(--pink); border-color: var(--pink); }

.menu-layout {
  display: grid;
  grid-template-columns: minmax(400px, .9fr) minmax(0, 1.6fr);
  gap: 38px;
  align-items: stretch;
}

.menu-board {
  container-name: menu-card;
  container-type: inline-size;
  min-height: 0;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.62);
  box-shadow: 8px 9px 0 var(--cream);
  overflow: hidden;
}

.menu-board .category-dots {
  justify-content: center;
  margin: 0 0 18px;
}

.cycle-note { color: var(--muted); font-size: 12px; }
.customer-product-list {
  display: grid;
  margin: 0 0 16px;
  will-change: transform, opacity;
}
.customer-category-panel {
  grid-area: 1 / 1;
  min-width: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.customer-category-panel.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.customer-product {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) minmax(0, 235px);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.customer-product-name {
  min-width: 0;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}
.customer-product-description { grid-column: 1 / -1; margin: -4px 0 2px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.customer-product-prices {
  align-self: start;
  max-width: 235px;
  text-align: center;
  white-space: nowrap;
}
.empty-message { color: var(--muted); }

@container menu-card (max-width: 280px) {
  .customer-product {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 12px 0;
  }

  .customer-product-prices {
    justify-self: stretch;
    max-width: 100%;
    text-align: center;
    white-space: normal;
  }

  .customer-product-description {
    grid-column: 1;
    margin: 2px 0 0;
  }
}

.photo-showcase {
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.carousel-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  height: 100%;
  min-height: 0;
  will-change: transform, opacity;
}
.carousel-photo,
.carousel-placeholder {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #d0ad79, #5a3922);
}
.promotions-section { padding: 70px 0 78px; overflow: hidden; background: var(--cream); }
.hand-heart { font: 70px "Segoe Print", cursive; }
.promotion-track { display: block; }
.promotion-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  width: 100%;
  border: 10px solid white;
  background: white;
  box-shadow: 0 10px 24px rgba(69, 49, 24, .12);
  transform: rotate(-1deg);
}
.promotion-card img { display: block; width: 100%; height: clamp(420px, 55vw, 650px); object-fit: cover; }

.home-story { padding: 0 0 80px; }

.workshop-promo {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(300px, .95fr) minmax(160px, .55fr);
  align-items: center;
  gap: 38px;
  padding: 30px;
  background: var(--cream);
  color: inherit;
}

.workshop-promo-image {
  position: relative;
  overflow: visible;
  aspect-ratio: 337 / 214;
  border: 1px solid var(--line);
  background: #e9ddc4;
}

.workshop-promo-image::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -11px;
  left: -7px;
  width: 48px;
  height: 16px;
  background: var(--pink);
  opacity: .85;
  transform: rotate(-3deg);
}

.workshop-promo-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workshop-promo-copy h2 {
  margin: 0 0 22px;
  font: 700 clamp(28px, 3vw, 39px) "Segoe Print", "Comic Sans MS", cursive;
  text-transform: uppercase;
}

.workshop-promo-copy p {
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.7;
}

.workshop-promo-button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 15px;
  padding: 8px 20px;
  background: var(--pink);
  color: white;
  box-shadow: 4px 4px 0 rgba(239, 60, 125, .18);
  font: 700 16px "Segoe Print", "Comic Sans MS", cursive;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease;
}

.workshop-promo-button:hover {
  box-shadow: 6px 6px 0 rgba(239, 60, 125, .24);
  transform: translateY(-2px);
}

.workshop-promo-doodle {
  display: block;
  justify-self: center;
  width: min(220px, 100%);
  height: auto;
  max-height: 180px;
  fill: none;
}

.workshop-promo-doodle path { fill: none; }

.about-section {
  display: grid;
  grid-template-columns: minmax(250px, .75fr) minmax(0, 1.75fr);
  align-items: center;
  gap: 48px;
  padding: 38px 30px 0;
}

.about-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.about-heading h2 {
  margin: 0;
  font: 700 clamp(30px, 4vw, 46px) "Segoe Print", "Comic Sans MS", cursive;
  text-transform: uppercase;
}

.about-heading span {
  color: var(--pink);
  font: 48px/1 "Segoe Print", "Comic Sans MS", cursive;
}

.about-copy > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.about-gallery {
  width: 100%;
  justify-self: end;
}

.about-photo {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: #eee5d2;
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.goodbye { font: 28px "Segoe Print", cursive; transform: rotate(-4deg); }

.site-footer {
  padding: 34px 24px;
  border-top: 1px solid var(--line);
  background: white;
}

.footer-inner {
  display: grid;
  grid-template-columns: .8fr 1.65fr 1.35fr 1fr;
  align-items: center;
  gap: 44px;
  width: min(1180px, 100%);
  margin: auto;
}

.footer-logo { justify-self: start; }
.footer-logo span { font-size: 54px; }
.footer-logo small { color: var(--ink); font-size: 10px; }
.footer-brand { display: grid; justify-items: start; gap: 10px; }
.footer-policy-link { color: inherit; font-size: 11px; text-underline-offset: 3px; }
.footer-policy-link:hover { color: var(--pink); }
.footer-contact { display: grid; gap: 14px; }
.footer-line { display: flex; align-items: center; gap: 13px; }
.footer-line { color: inherit; text-decoration: none; }
.footer-line:hover { color: var(--pink); }
.footer-line svg {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.footer-line p { margin: 0; line-height: 1.55; }
.footer-address-street { white-space: nowrap; }
.footer-hours strong { display: block; margin-bottom: 7px; }
.footer-hours p {
  display: grid;
  grid-template-columns: 95px auto;
  gap: 10px;
  margin: 5px 0;
}
.footer-goodbye { justify-self: end; text-align: center; white-space: nowrap; }
.footer-goodbye .footer-heart { display: block; font-size: 45px; line-height: .8; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { min-height: 560px; }
  .menu-layout { grid-template-columns: 1fr; }
  .menu-board { height: auto; }
  .menu-board, .photo-showcase { touch-action: pan-y; }
  .carousel-track { height: auto; min-height: 0; }
  .carousel-photo, .carousel-placeholder { height: auto; aspect-ratio: 4 / 5; }
  .workshop-promo { grid-template-columns: minmax(260px, 1fr) minmax(0, 1fr); }
  .workshop-promo-doodle { display: none; }
  .about-section { grid-template-columns: 1fr; gap: 28px; }
  .goodbye { justify-self: center; }
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 34px;
  }
  .footer-goodbye { justify-self: center; }
}

@media (max-width: 620px) {
  .topbar, .section-shell { width: min(100% - 28px, 1180px); }
  .logo span { font-size: 44px; }
  .footer-brand { justify-items: center; }
  .page-tabs-inner { min-height: 92px; }
  .page-tab { font-size: 20px; }
  .page-tab::after { bottom: 20px; width: 78px; height: 5px; }
  .menu-section { padding: 58px 0; }
  .menu-board { height: auto; padding: 18px; }
  .menu-board .category-dots { margin-bottom: 14px; }
  .customer-product {
    grid-template-columns: minmax(0, 28%) minmax(0, 72%);
    align-items: baseline;
    gap: 5px 8px;
    padding: 12px 0;
  }
  .customer-product-prices {
    justify-self: stretch;
    max-width: 100%;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(8px, 2.4vw, 10px);
    line-height: 1.4;
  }
  .customer-product-description {
    grid-column: 1 / -1;
    margin: 2px 0 0;
  }
  .carousel-track { display: block; min-height: 430px; }
  .carousel-photo, .carousel-placeholder { display: none; height: 430px; }
  .carousel-photo:first-child, .carousel-placeholder:first-child { display: block; transform: none; }
  .promotion-card { min-height: 300px; border-width: 6px; }
  .promotion-card img { height: 300px; }
  .home-story { padding-bottom: 58px; }
  .workshop-promo { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .workshop-promo-copy h2 { margin-bottom: 14px; font-size: 29px; }
  .workshop-promo-button { width: 100%; justify-content: center; text-align: center; }
  .about-section { padding: 34px 0 0; }
  .about-heading { margin-bottom: 12px; }
  .about-heading h2 { font-size: 34px; }
  .about-copy > p { font-size: 14px; }
  .about-gallery {
    display: block;
    width: 100%;
    overflow: hidden;
    padding-bottom: 0;
  }
  .about-photo { display: block; width: 100%; aspect-ratio: 4 / 5; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; }
  .footer-logo { justify-self: center; }
}

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