:root {
  --red: #E23A24;
  --red-dk: #B5281A;
  --mustard: #F4C430;
  --ink: #2B1A12;
  --ink-2: #5A4436;
  --paper: #FBF6EE;
  --paper-2: #F3EADC;
  --card: #FFFDF9;
  --line: #E7DCCB;
  --muted: #8A7666;
  --display: "Bebas Neue", Impact, sans-serif;
  --script: "Caveat Brush", cursive;
  --body: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
.muted { color: var(--muted); }
.script { font-family: var(--script); color: var(--red); font-size: 1.5rem; line-height: 1; margin-bottom: .5rem; }

/* ---------- topbar + nav ---------- */
.topbar {
  background: var(--ink); color: var(--paper);
  display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; padding: .55rem var(--gutter); text-align: center;
}
.topbar b { color: var(--mustard); font-weight: 700; }
.topbar a { color: var(--mustard); font-weight: 700; text-decoration: none; }

.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: .9rem var(--gutter);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; flex-direction: column; align-items: center; text-decoration: none; margin-right: auto; line-height: 1; }
.brand img { width: 168px; }
.brand small { font-size: .62rem; font-weight: 700; letter-spacing: .5em; color: var(--red); margin-top: 4px; padding-left: .5em; text-transform: uppercase; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-weight: 500; font-size: .95rem; text-decoration: none; padding: .3rem 0; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red); transition: right .25s; }
.nav-links a:hover::after { right: 0; }
.cart-btn {
  position: relative; cursor: pointer;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.cart-btn:hover { background: var(--ink); color: var(--paper); }
.cart-count {
  position: absolute; top: -5px; right: -5px;
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--red); color: #fff;
  font: 700 .72rem/22px var(--body);
  transform: scale(0); transition: transform .2s cubic-bezier(.3,1.6,.5,1);
}
.cart-count.on { transform: scale(1); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 7px 0; transition: transform .25s; }
.nav-open .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-open .burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 700 .95rem var(--body);
  padding: .95rem 1.6rem; border-radius: 999px;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s, background .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dk); }
.btn-line { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-wa { background: #1FA855; color: #fff; width: 100%; }
.btn-wa:hover { background: #178A45; }
.btn-wa:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(3.5rem, 7vw, 6rem);
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(3.4rem, 7.6vw, 6.6rem);
  line-height: .9; letter-spacing: .005em;
  margin-bottom: 1.4rem;
}
.hero h1 span { color: var(--red); }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 40ch; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 2.2rem; flex-wrap: wrap; margin: 2.6rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero-facts dt { font-family: var(--display); font-size: 2rem; line-height: 1; letter-spacing: .02em; }
.hero-facts dd { margin: .2rem 0 0; font-size: .85rem; color: var(--muted); }

.hero-visual { position: relative; padding: 2.5rem 0 2.5rem 1.5rem; }
.hero-photo {
  position: relative; margin: 0;
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 40px 70px -40px rgba(43,26,18,.6);
}
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 45% 50%; }
.hero-condiments { position: absolute; top: -10px; right: -40px; width: 52%; opacity: .9; z-index: 0; }
.hero-photo { z-index: 1; }
.hero-stamp {
  position: absolute; left: -12px; bottom: 0; z-index: 2;
  width: 38%;
  filter: drop-shadow(0 0 0 var(--paper)) drop-shadow(4px 4px 0 var(--paper)) drop-shadow(-4px -4px 0 var(--paper)) drop-shadow(4px -4px 0 var(--paper)) drop-shadow(-4px 4px 0 var(--paper));
  transform: rotate(-8deg);
}

/* ---------- band ---------- */
.band { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.band-ink {
  position: absolute; right: -6%; top: 50%; translate: 0 -50%;
  width: min(760px, 70%); aspect-ratio: 1100 / 364;
  background: #fff; opacity: .14;
  -webkit-mask: url(../img/ink-sandwich.png) center / contain no-repeat;
          mask: url(../img/ink-sandwich.png) center / contain no-repeat;
}
.band-list {
  position: relative; list-style: none; margin: 0 auto; max-width: var(--max);
  padding: clamp(2.8rem, 6vw, 4.5rem) var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem);
}
.band-list b { font-family: var(--display); font-size: 1.1rem; letter-spacing: .1em; color: var(--mustard); font-weight: 400; }
.band-list h3 { font-family: var(--display); font-size: 2.2rem; line-height: 1; margin: .3rem 0 .6rem; letter-spacing: .01em; }
.band-list p { color: rgba(255,255,255,.85); font-size: .98rem; max-width: 32ch; }

/* ---------- section heads ---------- */
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2, .story h2, .loc h2 { font-family: var(--display); font-size: clamp(3.2rem, 7vw, 5.4rem); line-height: .9; }
.section-head.light h2 { color: var(--paper); }
.section-head.light .script { color: var(--mustard); }

/* ---------- menu ---------- */
.menu { max-width: var(--max); margin: 0 auto; padding: clamp(4.5rem, 9vw, 7rem) var(--gutter); }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 900px; margin: 0 auto; }
.tabs button {
  display: grid; grid-template-columns: 76px 1fr; grid-template-rows: auto auto; align-items: center;
  column-gap: 1rem; text-align: left;
  padding: .7rem 1.1rem .7rem .7rem; border-radius: 20px; cursor: pointer;
  background: var(--card); border: 1.5px solid var(--line); color: var(--ink);
  font-family: var(--body);
  transition: border-color .2s, background .2s, transform .2s;
}
.tabs button:hover { transform: translateY(-2px); border-color: var(--ink); }
.tab-img { grid-row: span 2; width: 76px; height: 76px; border-radius: 14px; overflow: hidden; background: var(--paper-2); }
.tab-img img { width: 100%; height: 100%; object-fit: cover; }
.tab-img.ink img { object-fit: contain; padding: 8px; }
.tab-title { font-family: var(--display); font-size: 1.75rem; line-height: 1; align-self: end; letter-spacing: .01em; }
.tab-count { font-size: .8rem; color: var(--muted); align-self: start; }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tabs button[aria-selected="true"] .tab-count { color: var(--mustard); }
.cat-note { text-align: center; color: var(--muted); margin: 2rem 0 1.5rem; font-size: .95rem; }
.cat-note::before, .cat-note::after { content: "—"; color: var(--red); margin: 0 .6rem; }

.menu-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.4rem; }
.item {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  animation: rise .45s both; animation-delay: var(--d);
  transition: transform .25s, box-shadow .25s;
}
.item:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(43,26,18,.55); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.item-img { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.item:hover .item-img img { transform: scale(1.05); }
.item-badge, .item-tag {
  position: absolute; top: 12px;
  font: 700 .68rem var(--body); text-transform: uppercase; letter-spacing: .1em;
  padding: .35rem .65rem; border-radius: 999px;
}
.item-badge { left: 12px; background: var(--mustard); color: var(--ink); }
.item-tag { right: 12px; background: rgba(251,246,238,.92); color: var(--ink); backdrop-filter: blur(6px); }
.item-body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.3rem 1.3rem; }
.item h3 { font-family: var(--display); font-size: 1.9rem; line-height: 1; color: var(--red); letter-spacing: .01em; }
.item p { color: var(--ink-2); font-size: .92rem; margin: .55rem 0 .7rem; flex: 1; }
.allergen { font-size: .74rem; color: var(--muted); margin-bottom: 1rem; }
.allergen::before { content: "Alerjen: "; font-weight: 700; color: var(--ink-2); }
.item-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.price { font-family: var(--display); font-size: 1.9rem; line-height: 1; white-space: nowrap; letter-spacing: .02em; }
.add {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: .4rem;
  font: 700 .82rem var(--body);
  background: var(--ink); color: var(--paper); cursor: pointer;
  border: 0; border-radius: 999px;
  padding: .65rem 1.05rem;
  transition: background .2s, transform .15s;
}
.add span { font-size: 1.1rem; line-height: 1; }
.add:hover { background: var(--red); }
.add.pop { animation: pop .3s; }
@keyframes pop { 50% { transform: scale(1.12); } }
.menu-foot { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 2.5rem; }
.menu-foot a { color: var(--red); font-weight: 700; margin-left: .3rem; }

/* ---------- story ---------- */
.story {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter) clamp(4.5rem, 9vw, 7rem);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.story-photos { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
.story-photos img { border-radius: 18px; width: 100%; height: 100%; object-fit: cover; }
.story-photos img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.story-photos img:nth-child(2) { aspect-ratio: 1; }
.story-photos img:nth-child(3) { aspect-ratio: 1; }
.story h2 { margin-bottom: 1.2rem; }
.story-text p:not(.script) { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 1rem; max-width: 52ch; }
.story-text .btn { margin-top: .8rem; }

/* ---------- order ---------- */
.order { background: var(--ink); color: var(--paper); padding: clamp(4.5rem, 9vw, 7rem) var(--gutter); }
.order-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 1100px; margin: 0 auto; }
.order-card {
  display: flex; flex-direction: column;
  padding: 1.6rem 1.6rem 1.4rem; border-radius: 22px; text-decoration: none;
  min-height: 190px;
  transition: transform .25s;
}
.order-card:hover { transform: translateY(-4px); }
.order-card strong { font-family: var(--display); font-size: 2.8rem; line-height: .95; font-weight: 400; letter-spacing: .01em; margin-top: .3rem; }
.oc-kicker { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; opacity: .8; }
.oc-go { margin-top: auto; padding-top: 1.2rem; font-weight: 700; font-size: .92rem; display: flex; justify-content: space-between; }
.oc-go i { font-style: normal; transition: translate .2s; }
.order-card:hover .oc-go i { translate: 4px 0; }
.tg { background: #F27A1A; color: #fff; }
.ue { background: #06C167; color: #0B1F14; }
.wa { background: var(--mustard); color: var(--ink); }
.notice { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 1100px; margin: 1rem auto 0; }
.notice-item { display: flex; gap: 1.1rem; align-items: flex-start; border: 1px solid rgba(251,246,238,.16); border-radius: 22px; padding: 1.4rem 1.5rem; }
.notice-item svg { width: 40px; height: 40px; flex-shrink: 0; color: var(--paper); }
.notice-item h3 { font-family: var(--display); font-size: 1.6rem; line-height: 1.1; letter-spacing: .02em; }
.notice-item p { margin-top: .3rem; color: rgba(251,246,238,.72); font-size: .93rem; }
.tel { color: var(--mustard); font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ---------- location ---------- */
.loc {
  max-width: var(--max); margin: 0 auto; padding: clamp(4.5rem, 9vw, 7rem) var(--gutter);
  display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.loc h2 { margin-bottom: 1.2rem; }
.loc .addr { font-size: 1.1rem; font-weight: 500; margin-bottom: .8rem; max-width: 28ch; }
.tel.big { display: inline-block; font-family: var(--display); font-size: 2.4rem; font-weight: 400; letter-spacing: .03em; color: var(--red); }
.loc .muted { margin: .3rem 0 1.6rem; font-size: .92rem; }
.loc-map { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.loc-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: sepia(.15) saturate(.9); }

/* ---------- footer ---------- */
.foot { background: var(--red); color: #fff; text-align: center; padding: 3.5rem var(--gutter) 3rem; }
.foot-mark {
  width: min(420px, 80%); aspect-ratio: 1000 / 194; margin: 0 auto 1rem;
  background: var(--paper);
  -webkit-mask: url(../img/wordmark.png) center / contain no-repeat;
          mask: url(../img/wordmark.png) center / contain no-repeat;
}
.foot p { font-size: .95rem; }
.foot-small { opacity: .75; font-size: .82rem !important; margin-top: .4rem; }

/* ---------- cart ---------- */
.cart-backdrop { position: fixed; inset: 0; background: rgba(43,26,18,.5); z-index: 80; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(420px, 100%); background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  visibility: hidden;
}
.cart.open { transform: none; visibility: visible; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-family: var(--display); font-size: 2rem; }
.cart-close { background: none; border: 0; font-size: 2rem; cursor: pointer; color: var(--ink); line-height: 1; width: 44px; height: 44px; }
.cart-items { flex: 1; overflow-y: auto; padding: .5rem 1.5rem; }
.ci { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px dashed var(--line); }
.ci strong { display: block; font-size: .95rem; font-weight: 700; }
.ci span { font-size: .85rem; color: var(--muted); }
.qty { display: flex; align-items: center; gap: .5rem; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; cursor: pointer; font-size: 1.05rem; color: var(--ink); }
.qty b { min-width: 1.4em; text-align: center; }
.empty { text-align: center; color: var(--muted); padding: 3rem 0; }
.cart-foot { padding: 1.2rem 1.5rem 1.5rem; border-top: 1px solid var(--line); display: grid; gap: .9rem; }
.cart-note { font-size: .82rem; font-weight: 700; display: grid; gap: .35rem; }
.cart-note textarea { font: inherit; font-weight: 400; border: 1px solid var(--line); border-radius: 12px; padding: .6rem .75rem; resize: vertical; background: #fff; color: var(--ink); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; }
.cart-total strong { font-family: var(--display); font-size: 2.1rem; font-weight: 400; }
.cart-hint { font-size: .8rem; color: var(--muted); text-align: center; }

.cart-bar {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  justify-content: space-between; align-items: center;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 999px;
  padding: 1rem 1.4rem; font: 500 .95rem var(--body); cursor: pointer;
  box-shadow: 0 16px 30px -12px rgba(0,0,0,.5);
}
.cart-bar b { color: var(--mustard); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 160%); background: var(--ink); color: var(--paper); padding: .75rem 1.3rem; border-radius: 999px; font-size: .9rem; transition: transform .3s, visibility .3s; max-width: calc(100% - 32px); visibility: hidden; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero, .story, .loc { grid-template-columns: 1fr; }
  .hero-visual { order: -1; padding: 1.5rem 0 2rem; }
  .hero-condiments { right: -20px; top: -20px; width: 46%; }
  .band-list { grid-template-columns: 1fr; gap: 2rem; }
  .order-grid, .notice { grid-template-columns: 1fr; }
  .order-card { min-height: 0; }
  .nav { gap: .6rem; }
  .nav-links {
    position: fixed; inset: 0 0 auto 0; top: var(--nav-h, 72px);
    flex-direction: column; gap: 0;
    background: var(--paper); padding: .5rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%); visibility: hidden; transition: transform .3s, visibility .3s; z-index: -1;
  }
  .nav-links a { font-family: var(--display); font-size: 2rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
  .nav-open .nav-links { transform: none; visibility: visible; }
  .burger { display: block; }
  .cart-bar:not([hidden]) { display: flex; }
  .toast { bottom: 84px; }
}
@media (max-width: 720px) {
  .tabs { gap: .5rem; }
  .tabs button { grid-template-columns: 1fr; padding: .45rem .45rem .7rem; text-align: center; row-gap: .5rem; border-radius: 16px; }
  .tab-img { grid-row: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 11px; }
  .tab-title { font-size: 1.35rem; align-self: auto; }
  .tab-count { display: none; }
  .cat-note::before, .cat-note::after { content: none; }
}
@media (max-width: 520px) {
  .topbar { font-size: .78rem; gap: .3rem 1rem; }
  .brand img { width: 136px; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 1rem; }
  .hero-facts dt { font-size: 1.6rem; }
  .item h3 { font-size: 1.75rem; }
  .story-photos { gap: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
