/* ============ boarders cafe — cartoon skate theme ============ */
:root {
  --ink: #141414;
  --paper: #fff8ec;
  --teal: #3bbcd3;      /* exact logo colour */
  --teal-dark: #1f8aa0;
  --red: #e8414b;
  --yellow: #f5e52a;     /* menu cover yellow */
  --pink: #e61e6e;       /* "free to ride" magenta */
  --orange: #ff8c42;
  --green: #7ed957;
  --purple: #9b6bff;
  --line: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --radius: 22px;
  --font-display: "Bungee", "Lilita One", system-ui, sans-serif;
  --font-body: "Rubik", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(20,20,20,.09) 1.5px, transparent 1.6px);
  background-size: 22px 22px;

}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; margin: 0 0 .5em; letter-spacing: .5px; }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }

/* ---------- buttons & stickers ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display); font-size: 1.05rem; text-decoration: none;
  padding: .8em 1.4em; border: var(--line); border-radius: 999px;
  background: var(--yellow); box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s; cursor: pointer;
}
.btn:hover { transform: translate(-2px, -2px) rotate(-1.5deg); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn--teal { background: var(--teal); }
.btn--pink { background: var(--pink); color: #fff; }
.btn--white { background: #fff; }

.sticker {
  display: inline-block; font-family: var(--font-display); font-size: .85rem;
  padding: .35em .8em; border: var(--line); border-radius: 12px;
  background: var(--pink); color: #fff; box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-4deg);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); border-bottom: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: .6em; text-decoration: none; }
.logo__badge {
  width: 50px; height: 50px; border-radius: 50%; background: var(--ink);
  display: grid; place-items: center; border: var(--line);
  box-shadow: 3px 3px 0 var(--teal);
}
.logo__badge span { font-family: var(--font-display); color: var(--teal); font-size: .62rem; line-height: .9; text-align: right; }
.logo__badge small { display: block; font-size: .5rem; }
.logo__word { font-family: var(--font-display); font-size: 1.35rem; }
.logo__word em { font-style: normal; color: var(--teal-dark); }
.nav__links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; text-decoration: none; font-weight: 700; padding: .45em .95em;
  border: 3px solid transparent; border-radius: 999px; transition: .15s;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { border-color: var(--ink); background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); }
.nav__toggle { display: none; background: var(--yellow); border: var(--line); border-radius: 12px; width: 48px; height: 44px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; font-size: 1.3rem; }

@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--yellow); border-bottom: var(--line); padding: 10px 16px 18px;
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { font-family: var(--font-display); font-size: 1.3rem; padding: .5em .2em; }
  .nav__links a:hover, .nav__links a[aria-current="page"] { background: transparent; box-shadow: none; border-color: transparent; color: var(--pink); }
  .logo__word { display: none; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(70px, 9vw, 120px); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero__kicker { margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(3.2rem, 10vw, 7.2rem); margin-bottom: .25em;
  color: var(--teal); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  text-shadow: 6px 6px 0 var(--ink);
}
.hero h1 .cafe { display: block; color: var(--yellow); font-size: .55em; margin-left: 1.2em; transform: rotate(-3deg); transform-origin: left; }
.hero__lead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 34ch; margin: 0 0 28px; }
.hero__lead strong { background: var(--yellow); padding: 0 .25em; border-radius: 6px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; filter: drop-shadow(8px 8px 0 rgba(20,20,20,.9)); animation: float 4s ease-in-out infinite; }
.hero__star { position: absolute; font-size: 2.4rem; animation: spin 8s linear infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
.blob { position: absolute; border-radius: 50%; border: var(--line); z-index: -1; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 380px; margin: 10px auto 0; }
}

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--yellow); border-block: var(--line); overflow: hidden; transform: rotate(-1.5deg); margin: -10px -20px; }
.marquee--alt { background: var(--pink); color: #fff; transform: rotate(1.2deg); }
.marquee__track { display: flex; width: max-content; animation: scroll 22s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: clamp(1.1rem, 2.6vw, 1.7rem); padding: 14px 22px; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about__text p { font-size: 1.1rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.stat { background: #fff; border: var(--line); border-radius: 18px; padding: 16px 10px; text-align: center; box-shadow: var(--shadow-sm); }
.stat:nth-child(1) { background: var(--teal); transform: rotate(-2deg); }
.stat:nth-child(2) { background: var(--yellow); transform: rotate(1.5deg); }
.stat:nth-child(3) { background: var(--green); transform: rotate(-1deg); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.2rem); }
.stat span { font-size: .85rem; font-weight: 600; }
.deck {
  background: var(--purple); border: var(--line); border-radius: 999px; box-shadow: var(--shadow);
  aspect-ratio: 3.2 / 1; display: grid; place-items: center; transform: rotate(-8deg); position: relative;
  background-image: repeating-linear-gradient(90deg, transparent 0 38px, rgba(255,255,255,.18) 38px 60px);
}
.deck p { margin: 0; font-family: var(--font-display); color: #fff; font-size: clamp(1.1rem, 3vw, 1.8rem); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; text-align: center; padding: 0 12%; }
.deck::before, .deck::after { content: ""; position: absolute; bottom: -26px; width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); border: var(--line); }
.deck::before { left: 18%; } .deck::after { right: 18%; }
.quote-card { background: #fff; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-top: 60px; transform: rotate(1.5deg); }
.quote-card p { margin: 0 0 6px; font-size: 1.15rem; font-weight: 600; }
.quote-card small { color: #555; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }

/* ---------- menu highlights ---------- */
.section--teal { background: var(--teal); border-block: var(--line); }
.section__head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; margin-bottom: 40px; }
.section__head p { margin: 0; max-width: 42ch; font-size: 1.1rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.card {
  background: #fff; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 22px; text-decoration: none; display: flex; flex-direction: column; gap: 6px;
  transition: transform .2s, box-shadow .2s; position: relative;
}
.card:nth-child(odd) { transform: rotate(-1.5deg); }
.card:nth-child(even) { transform: rotate(1.5deg); }
.card:hover { transform: translateY(-8px) rotate(0); box-shadow: 10px 12px 0 var(--ink); }
.card__icon { width: 74px; height: 74px; border: var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 2.2rem; margin-bottom: 8px; box-shadow: 3px 3px 0 var(--ink); }
.card h3 { font-size: 1.35rem; margin: 0; }
.card p { margin: 0; color: #333; }
.card__more { margin-top: auto; padding-top: 12px; font-weight: 800; }
.bg-teal { background: var(--teal); } .bg-yellow { background: var(--yellow); } .bg-pink { background: var(--pink); }
.bg-orange { background: var(--orange); } .bg-green { background: var(--green); } .bg-purple { background: var(--purple); } .bg-red { background: var(--red); }

/* ---------- vibe tiles ---------- */
.vibes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vibe {
  aspect-ratio: 1; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; justify-content: end; padding: 18px; position: relative; overflow: hidden;
}
.vibe__emoji { position: absolute; top: 14px; right: 16px; font-size: clamp(2.4rem, 6vw, 3.6rem); transform: rotate(12deg); }
.vibe b { font-family: var(--font-display); font-size: clamp(1rem, 2vw, 1.3rem); line-height: 1.1; }
.vibe--wide { grid-column: span 2; aspect-ratio: auto; min-height: 150px; }
@media (max-width: 760px) { .vibes { grid-template-columns: repeat(2, 1fr); } }
.insta-cta { text-align: center; margin-top: 36px; }

/* ---------- visit ---------- */
.visit { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: stretch; }
.info-card { background: var(--yellow); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.info-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
.info-card li { display: flex; gap: 14px; align-items: start; font-size: 1.08rem; }
.info-card li i { font-style: normal; width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: #fff; border: var(--line); border-radius: 12px; font-size: 1.3rem; }
.info-card small { display: block; font-weight: 700; text-transform: uppercase; font-size: .72rem; letter-spacing: 1px; }
.info-card a { font-weight: 700; }
.map { border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; min-height: 360px; background: var(--teal); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: saturate(1.2); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 60px 0 30px; border-top: var(--line); }
.footer__grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; align-items: center; }
.footer__big { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3.6rem); color: var(--teal); line-height: 1; }
.footer__big span { color: var(--yellow); }
.socials { display: flex; gap: 12px; }
.socials a { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; border: 3px solid var(--paper); text-decoration: none; font-weight: 800; transition: .15s; }
.socials a:hover { background: var(--pink); transform: rotate(-10deg) scale(1.08); }
.socials svg { width: 24px; height: 24px; fill: currentColor; }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 2px dashed #444; font-size: .9rem; color: #aaa; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ================= MENU PAGE ================= */
.menu-hero { padding: 60px 0 40px; text-align: center; }
.menu-hero h1 { font-size: clamp(3rem, 9vw, 6rem); color: var(--pink); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 6px 6px 0 var(--ink); }
.menu-hero p { font-size: 1.15rem; max-width: 46ch; margin: 0 auto; }
.tabs { position: sticky; top: 72px; z-index: 40; background: var(--paper); border-bottom: var(--line); padding: 14px 0; }
.tabs__row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 4px 8px; }
.tabs__row::-webkit-scrollbar { display: none; }
.tab {
  flex: none; font-family: var(--font-display); font-size: .95rem; padding: .6em 1.1em;
  border: var(--line); border-radius: 999px; background: #fff; box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer; text-decoration: none; transition: .15s; color: var(--ink);
}
.tab:hover { transform: translateY(-2px); }
.tab.active { background: var(--ink); color: var(--yellow); }
.menu-cat { padding: 60px 0 20px; scroll-margin-top: 150px; }
.menu-cat__head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.menu-cat__head .card__icon { margin: 0; width: 84px; height: 84px; font-size: 2.6rem; transform: rotate(-8deg); }
.menu-cat__head h2 { margin: 0; }
.menu-cat__head p { margin: 4px 0 0; font-size: 1.05rem; }
.menu-list { background: #fff; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 26px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 18px 0; border-bottom: 2px dashed #ccc; align-items: baseline; }
.menu-item h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.12rem; margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.menu-item p { margin: 0; color: #555; font-size: .95rem; grid-column: 1; }
.menu-item .sticker { font-size: .68rem; padding: .2em .55em; border-width: 2px; box-shadow: 2px 2px 0 var(--ink); }
.price { font-family: var(--font-display); font-size: 1.15rem; background: var(--yellow); border: 2px solid var(--ink); border-radius: 10px; padding: .1em .5em; white-space: nowrap; grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.price small { font-family: var(--font-body); font-weight: 700; font-size: .7em; }
@media (max-width: 760px) { .menu-list { grid-template-columns: 1fr; padding: 4px 18px; } }
.menu-note { text-align: center; margin: 50px auto 0; max-width: 60ch; font-size: .95rem; color: #555; }
.cat-teal .menu-list { box-shadow: 6px 6px 0 var(--teal-dark); }
.cat-yellow .menu-list { box-shadow: 6px 6px 0 #d9a800; }
.cat-pink .menu-list { box-shadow: 6px 6px 0 #d63a6c; }
.cat-orange .menu-list { box-shadow: 6px 6px 0 #d86a20; }
.cat-green .menu-list { box-shadow: 6px 6px 0 #4ea52d; }

/* reveal on scroll */
.reveal { opacity: 0; translate: 0 30px; transition: opacity .6s, translate .6s, transform .2s, box-shadow .2s; }
.reveal.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: none; }
}

/* ---------- menu: groups, multi-price, extra categories ---------- */
.cat-purple .menu-list { box-shadow: 6px 6px 0 #6b3fd6; }
.cat-red .menu-list { box-shadow: 6px 6px 0 #a8222b; }
.menu-group { margin-bottom: 30px; }
.menu-group__title {
  display: inline-block; font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 -12px 18px;
  position: relative; z-index: 2; background: var(--ink); color: var(--paper); padding: .35em .9em;
  border-radius: 10px; transform: rotate(-2deg);
}
.menu-group .menu-list { padding-top: 18px; }
.prices { grid-row: 1 / span 2; grid-column: 2; align-self: center; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.prices .price { grid-row: auto; grid-column: auto; display: inline-flex; flex-direction: column; align-items: center; line-height: 1.05; padding: .2em .5em; }
.prices .price b { font-weight: 400; }
.prices .price small { font-size: .6em; font-weight: 700; opacity: .75; margin-top: 2px; }
.menu-item h3 small { font-weight: 600; color: #777; font-size: .8em; }
.logo img { height: 46px; width: auto; border: var(--line); border-radius: 10px; box-shadow: 3px 3px 0 var(--teal); }
.menu-cover { max-width: 260px; border: var(--line); border-radius: 18px; box-shadow: var(--shadow); transform: rotate(4deg); margin: 30px auto 0; }
