:root {
  --cream: #f6f0e4;
  --cream-2: #ede4d2;
  --ink: #15120f;
  --muted: #6c645a;
  --forest: #0f3b2a;
  --green: #17893b;
  --hot: #ff5a2a;
  --sun: #ffc83d;
  --line: rgba(21, 18, 15, .12);
  --display: "Bebas Neue", "Impact", sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .9, .25, 1.15);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure, fieldset { margin: 0; padding: 0; }
ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
em { font-style: normal; color: var(--hot); }
::selection { background: var(--sun); }
:focus-visible { outline: 3px solid var(--hot); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(23, 137, 59, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(23, 137, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(23, 137, 59, 0); } }
.muted { color: var(--muted); }

h2 { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 7vw, 104px); line-height: .92; letter-spacing: .005em; margin-top: 10px; }
.section-head { margin-bottom: clamp(32px, 5vw, 64px); max-width: 900px; }
.section-head .muted { margin-top: 14px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 700; font-size: 15px; line-height: 1;
  border: 2px solid var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .2s, color .2s;
  cursor: pointer;
}
.btn-hot { background: var(--hot); color: #fff; border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.btn-hot:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.btn-hot:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-lg { padding: 17px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--gutter);
  transition: background .3s, box-shadow .3s, padding .3s;
}
.nav.scrolled { background: rgba(246, 240, 228, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); padding-block: 10px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 26px; letter-spacing: .02em; }
.nav-logo img { width: 44px; height: 44px; border-radius: 50%; transition: transform .6s var(--ease); }
.nav-logo:hover img { transform: rotate(-20deg) scale(1.08); }
.nav ul { display: flex; gap: 28px; font-weight: 500; font-size: 15px; }
.nav ul a { position: relative; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--hot); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav ul a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.lang button { border: 0; background: transparent; font: 700 13px var(--sans); padding: 7px 10px; cursor: pointer; color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
@media (max-width: 900px) { .nav ul { display: none; } }
@media (max-width: 520px) { .nav-logo span { display: none; } .nav-right .btn { display: none; } }

/* hero */
.hero {
  min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 4vw, 64px);
  padding: 110px var(--gutter) 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  /* hand-drawn feel: subtle dotted texture */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(21, 18, 15, .07) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(64px, 10.5vw, 168px); line-height: .86; letter-spacing: .005em;
  margin: 18px 0 24px;
}
.hero-title .ln { display: block; overflow: hidden; }
.hero-title .ln > * { display: inline-block; transform: translateY(105%) rotate(4deg); transition: transform 1s var(--ease-out); }
.hero-title .ln:nth-child(2) > * { transition-delay: .08s; }
.hero-title .ln:nth-child(2) > em { transition-delay: .16s; }
.hero-title .ln:nth-child(3) > * { transition-delay: .24s; }
.loaded .hero-title .ln > * { transform: none; }
.hero-title em { color: var(--hot); position: relative; }
.hero-title em::after {
  /* marker underline */
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .14em; z-index: -1;
  background: var(--sun); border-radius: 4px; transform: scaleX(0) rotate(-1.5deg); transform-origin: left;
  transition: transform .8s var(--ease-out) .9s;
}
.loaded .hero-title em::after { transform: scaleX(1) rotate(-1.5deg); }
.hero-lead { max-width: 500px; font-size: clamp(17px, 1.4vw, 20px); color: #3d3731; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-facts { display: flex; gap: clamp(20px, 3vw, 44px); margin-top: 44px; flex-wrap: wrap; }
.hero-facts li { display: flex; flex-direction: column; max-width: 150px; }
.hero-facts b { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; color: var(--green); }
.hero-facts span { font-size: 13px; color: var(--muted); line-height: 1.35; }

.hero-visual { position: relative; aspect-ratio: 1; width: min(100%, 640px); justify-self: center; }
.hero-plate {
  position: absolute; inset: 4%; border-radius: 50%;
  background: var(--sun);
  transform: scale(.4); opacity: 0;
  transition: transform 1.1s var(--ease) .1s, opacity .5s .1s;
}
.hero-food {
  position: absolute; inset: 9%; width: 82%; height: 82%;
  object-fit: cover; border-radius: 50%;
  border: 3px solid var(--ink);
  box-shadow: 10px 12px 0 var(--ink);
  transform: scale(.6) rotate(-40deg); opacity: 0;
  transition: transform 1.2s var(--ease) .25s, opacity .5s .25s;
  will-change: transform;
}
.loaded .hero-plate { transform: none; opacity: 1; }
.loaded .hero-food { transform: rotate(var(--spin, 0deg)); opacity: 1; transition: transform 1.2s var(--ease) .25s, opacity .5s .25s; }
.loaded .hero-food.live { transition: none; }
.stamp { position: absolute; width: 34%; right: -2%; top: -2%; animation: spin 18s linear infinite; }
.stamp circle { fill: var(--green); stroke: var(--ink); stroke-width: 3; }
.stamp text { fill: #fff; font: 17px var(--display); letter-spacing: 3.2px; }
.stamp .stamp-mid { font-size: 34px; letter-spacing: 1px; }
@keyframes spin { to { transform: rotate(360deg); } }
.tag {
  position: absolute; z-index: 2;
  background: #fff; border: 2px solid var(--ink); border-radius: 999px;
  padding: 10px 16px; font-weight: 700; font-size: 14px; white-space: nowrap;
  box-shadow: 3px 3px 0 var(--ink);
  animation: bob 4s ease-in-out infinite;
}
.tag-1 { left: -4%; bottom: 14%; rotate: -6deg; }
.tag-2 { right: 6%; bottom: 4%; background: var(--hot); color: #fff; font-family: var(--display); font-size: 26px; font-weight: 400; padding: 6px 16px; rotate: 5deg; animation-delay: -2s; }
@keyframes bob { 50% { translate: 0 -10px; } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 96px; gap: 8px; }
  .hero-visual { order: -1; width: min(66vw, 320px); margin-bottom: 4px; }
  .hero-title { margin-top: 12px; }
  .tag { font-size: 12px; padding: 7px 12px; }
  .tag-2 { font-size: 20px; }
  .preview-img { aspect-ratio: 16 / 9; }
  .preview-name { font-size: 28px; }
  .preview-price { font-size: 36px; }
  .hero-facts { margin-top: 32px; }
  .tag-1 { left: -2%; }
}

/* marquee */
.marquee { background: var(--forest); color: var(--cream); overflow: hidden; padding: 18px 0; border-block: 3px solid var(--ink); rotate: -1.2deg; margin: 10px -10px; }
.marquee-track { display: flex; align-items: center; gap: 32px; width: max-content; animation: marquee 26s linear infinite; }
.marquee span { font-family: var(--display); font-size: clamp(30px, 4vw, 54px); line-height: 1; }
.marquee i { font-style: normal; color: var(--sun); font-size: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* builder */
.builder { padding: clamp(90px, 14vh, 160px) var(--gutter); }
.builder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.builder-steps { display: grid; gap: 28px; }
.step legend { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 30px; margin-bottom: 14px; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--cream); font-size: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 2px solid var(--ink); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 11px 18px; font: 700 15px var(--sans); cursor: pointer;
  transition: transform .3s var(--ease), background .2s, box-shadow .3s var(--ease);
}
.chip:hover { transform: translateY(-3px); box-shadow: 0 3px 0 var(--ink); }
.chip[aria-pressed="true"] { background: var(--green); color: #fff; box-shadow: 3px 3px 0 var(--ink); }
.chip:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }
.chip small { font-weight: 500; opacity: .75; }
.step-note { color: var(--muted); max-width: 480px; }
.gf { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-weight: 700; cursor: pointer; }
.gf input { width: 22px; height: 22px; accent-color: var(--green); }

.builder-preview {
  position: sticky; top: 90px;
  background: #fff; border: 3px solid var(--ink); border-radius: 28px;
  padding: 18px; box-shadow: 8px 8px 0 var(--ink);
}
.preview-img { border-radius: 18px; overflow: hidden; background: #fff; aspect-ratio: 16 / 10; }
.preview-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .25s; }
.preview-img img.swap { opacity: 0; transform: scale(.9) rotate(-6deg); }
.preview-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 6px 18px; }
.preview-name { font-family: var(--display); font-size: 34px; line-height: 1; }
.preview-meta { color: var(--muted); font-size: 14px; margin-top: 6px; }
.preview-price { font-family: var(--display); font-size: 44px; line-height: 1; color: var(--hot); white-space: nowrap; }
@media (max-width: 860px) {
  .builder-grid { grid-template-columns: 1fr; }
  .builder-preview { position: static; order: -1; box-shadow: 5px 5px 0 var(--ink); }
}

/* menu */
.menu { padding: clamp(90px, 14vh, 160px) var(--gutter); background: var(--forest); color: var(--cream); border-block: 3px solid var(--ink); }
.menu .kicker { color: var(--sun); }
.menu .muted { color: #b5c4b9; }
.menu-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 32px; scrollbar-width: none; }
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tabs button {
  flex-shrink: 0; border: 2px solid var(--cream); background: transparent; color: var(--cream);
  border-radius: 999px; padding: 10px 18px; font: 700 15px var(--sans); cursor: pointer; transition: background .2s, color .2s;
}
.menu-tabs button[aria-selected="true"], .menu-tabs button:hover { background: var(--cream); color: var(--forest); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.dish {
  position: relative; display: flex; flex-direction: column;
  background: var(--cream); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 22px; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.dish:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 6px 8px 0 var(--sun); }
.dish.hide { display: none; }
.dish.pop { animation: pop .5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.96); } }
.dish-img { background: #fff; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 3px solid var(--ink); }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.dish:hover .dish-img img { transform: scale(1.08) rotate(2deg); }
.dish-body { padding: 16px 18px 20px; flex: 1; }
.dish h3 { font-family: var(--display); font-weight: 400; font-size: 27px; line-height: 1; margin-bottom: 8px; padding-right: 70px; }
.dish p { font-size: 14px; color: var(--muted); }
.dish-price {
  position: absolute; top: 12px; right: 12px;
  background: var(--hot); color: #fff; border: 2px solid var(--ink); border-radius: 999px;
  padding: 6px 12px; font-family: var(--display); font-size: 22px; line-height: 1;
  box-shadow: 2px 2px 0 var(--ink);
}
.badge { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 5px; border-radius: 6px; font: 700 11px var(--sans); vertical-align: middle; margin-left: 4px; border: 1.5px solid var(--ink); }
.badge-gf { background: var(--sun); color: var(--ink); }
.badge-veg { background: var(--green); color: #fff; }
.legend { margin-top: 28px; font-size: 14px; color: #b5c4b9; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.legend .badge { border-color: var(--cream); }

/* locations */
.locations { padding: clamp(90px, 14vh, 160px) var(--gutter); }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.loc {
  background: #fff; border: 3px solid var(--ink); border-radius: 24px; padding: 22px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.loc:hover { transform: translateY(-6px); box-shadow: 6px 8px 0 var(--green); }
.loc h3 { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; margin-top: 12px; }
.loc-area { color: var(--muted); font-size: 14px; }
.loc-rating { display: inline-block; margin-left: 4px; font-weight: 700; color: var(--ink); }
.loc address { font-style: normal; font-weight: 500; }
.loc-status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--cream-2); }
.loc-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.loc-status.open { background: #dff3e4; color: #0d6b2b; }
.loc-status.open::before { background: var(--green); animation: pulse 2s infinite; }
.loc-status.closed { background: #fde3da; color: #a5310d; }
.loc-status.closed::before { background: var(--hot); }
.hours { font-size: 14px; border-top: 2px dashed var(--line); padding-top: 12px; }
.hours li { display: flex; justify-content: space-between; padding: 3px 8px; border-radius: 8px; }
.hours li.today { background: var(--sun); font-weight: 700; }
.hours i { font-style: normal; color: var(--muted); }
.loc-actions { display: flex; gap: 8px; margin-top: auto; }
.loc-actions .btn { padding: 11px 14px; font-size: 14px; }
.loc-actions .btn-hot { flex: 1; }

/* catering */
.catering { padding: 0 var(--gutter) clamp(90px, 14vh, 160px); }
.catering-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px);
  background: var(--sun); border: 3px solid var(--ink); border-radius: 32px;
  padding: clamp(24px, 4vw, 56px); box-shadow: 10px 10px 0 var(--ink);
}
.catering .kicker { color: var(--ink); }
.catering-text p { font-size: 18px; margin-top: 14px; max-width: 460px; }
.catering-text img { margin-top: 28px; border-radius: 20px; border: 3px solid var(--ink); aspect-ratio: 16 / 10; object-fit: cover; rotate: -2deg; }
.catering-form { display: grid; gap: 14px; align-content: start; background: var(--cream); border: 3px solid var(--ink); border-radius: 24px; padding: clamp(18px, 3vw, 32px); }
.catering-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.catering-form input, .catering-form select, .catering-form textarea {
  font: 16px var(--sans); color: var(--ink); background: #fff;
  border: 2px solid var(--ink); border-radius: 12px; padding: 12px 14px; width: 100%;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-ok { font-weight: 700; color: var(--green); }
@media (max-width: 860px) {
  .catering-card { grid-template-columns: 1fr; box-shadow: 6px 6px 0 var(--ink); }
}

/* footer */
.footer { background: var(--ink); color: var(--cream); padding: 64px var(--gutter) 28px; }
.footer-top { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-top img { border-radius: 50%; width: 96px; }
.footer-big { font-family: var(--display); font-size: clamp(56px, 10vw, 150px); line-height: .9; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 14px; color: #a9a196; }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--sun); }

/* mobile bottom bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px;
    padding: 8px; border-radius: 999px; background: var(--cream); border: 2px solid var(--ink);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    transform: translateY(150%); transition: transform .5s var(--ease);
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar .btn { padding: 13px 10px; }
  .footer { padding-bottom: 100px; }
}

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-title .ln > *, .hero-plate, .hero-food { transform: none !important; opacity: 1 !important; }
  .hero-title em::after { transform: scaleX(1) rotate(-1.5deg); }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
