/* ==========================================================================
   ФУДЗИЯМА — landing prototype
   ========================================================================== */

:root {
  /* brand accent — orange */
  --red: #ff751f;
  --red-dark: #ce4f00;
  --red-deep: #722c00;

  /* fixed "always dark" palette — used by hero/header/cta/marquee/fab,
     sections that keep their dramatic dark-photo look in both themes */
  --ink: #120e0c;
  --ink-soft: #1b1512;
  --ink-card: #221a16;
  --cream: #fbf3ea;
  --white: #ffffff;
  --gold: #d9a94e;
  --green: #4c8c2b;
  --muted: #a89b8f;

  /* theme-aware chrome tokens — about/menu/location/footer/body switch with these.
     Dark theme is now "orange main, white elements, dark text" — inverted from the
     original black-bg/orange-accent scheme, per brand direction. */
  --surface-0: #ff751f;
  --surface-1: #e35f0c;
  --surface-2: #ffffff;
  --text: #1c1006;
  --text-muted: rgba(28,16,6,.62);
  --line: rgba(28,16,6,.16);
  --line-strong: rgba(28,16,6,.24);
  --scrim-soft: rgba(255,117,31,.92);

  --font-display: "Unbounded", sans-serif;
  --font-body: "Manrope", sans-serif;

  --container: 1240px;
  --radius: 22px;
  --ease: cubic-bezier(.16,.84,.36,1);
}

html[data-theme="light"] {
  --surface-0: #faf5ee;
  --surface-1: #f1e6d7;
  --surface-2: #ffffff;
  --text: #1d150e;
  --text-muted: #7a6c5f;
  --line: rgba(29,21,14,.1);
  --line-strong: rgba(29,21,14,.16);
  --scrim-soft: rgba(250,245,238,.92);
  --fab-glow: rgba(255,117,31,.8);
  --fab-glow-mid: rgba(255,117,31,1);
  --fab-glow-ring: rgba(255,117,31,.12);
}

/* Dark theme = orange main surface, white "elements" (was orange), dark text (was white) —
   inverted from the original black-bg/orange-accent scheme. Hero/header/cta/mobile-nav stay
   on their own fixed dark-photo palette (untouched) since they need drama, not flat color. */
html[data-theme="dark"] {
  --fab-glow: rgba(28,16,6,.35);
  --fab-glow-mid: rgba(28,16,6,.45);
  --fab-glow-ring: rgba(28,16,6,.1);
}
html[data-theme="dark"] .btn--primary {
  background: var(--white); color: var(--text);
  box-shadow: 0 10px 30px -8px rgba(28,16,6,.3);
}
html[data-theme="dark"] .btn--primary:hover { box-shadow: 0 16px 36px -8px rgba(28,16,6,.4); }
html[data-theme="dark"] .loader__bar span { background: var(--white); }
html[data-theme="dark"] .marquee { background: var(--white); }
html[data-theme="dark"] .marquee__track { color: var(--text); }
html[data-theme="dark"] .eyebrow { color: var(--text); }
html[data-theme="dark"] .feature__icon {
  background: rgba(255,255,255,.85); color: var(--text); border-color: var(--line-strong);
}
html[data-theme="dark"] .about__badge { background: var(--white); color: var(--text); }
html[data-theme="dark"] .dish-tile__price { color: var(--text); }
html[data-theme="dark"] .location__list svg { color: var(--text); }
html[data-theme="dark"] .footer__col a:hover { color: var(--white); }
html[data-theme="dark"] .footer__social a:hover { border-color: var(--white); color: var(--white); }
html[data-theme="dark"] .fab { background: var(--white); color: var(--text); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface-0);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background .4s var(--ease), color .4s var(--ease);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

::selection { background: var(--red); color: var(--white); }

/* film grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed; top: 0; left: 0; width: 420px; height: 420px;
  border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(255,117,31,.14), transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity .3s;
  display: none;
}
@media (hover:hover) and (pointer:fine) { .cursor-glow { display: block; } }

/* ---------------- Loader ---------------- */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--surface-0);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px;
  transition: background .3s;
}
.loader__mark { width: 84px; height: 84px; }
/* one full turn of the logo on load (main.js keeps the loader up until it finishes),
   then a soft pulse if the page is still loading on a slow connection */
.loader__mark img { animation: logo-turn 1.3s cubic-bezier(.65,0,.35,1) .15s both, logo-pulse 1.6s ease-in-out 1.45s infinite; }
@keyframes logo-turn { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes logo-pulse { 50% { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .loader__mark img { animation: none; } }
.loader__mark img { width: 100%; height: 100%; }
.loader__word {
  font-family: var(--font-display); font-weight: 800; letter-spacing: .08em;
  font-size: 15px; color: var(--text-muted);
}
.loader__bar { width: 160px; height: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0%; background: var(--red); }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ---------------- Buttons ---------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 30px -8px rgba(255,117,31,.65);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -8px rgba(255,117,31,.8); }
.btn--ghost {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--cream);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.btn--lg { padding: 18px 34px; font-size: 15px; }
.btn--sm { padding: 11px 20px; font-size: 13px; }

/* ---------------- Header ---------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding-top: max(22px, env(safe-area-inset-top));
  padding-bottom: 22px;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.header.is-scrolled {
  padding-top: max(12px, env(safe-area-inset-top));
  padding-bottom: 12px;
  background: rgba(18,14,12,.78);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.7);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 48px; height: 48px; border-radius: 50%; }
.brand__word {
  font-family: var(--font-display); font-weight: 800; font-size: 17px;
  letter-spacing: .06em; color: var(--text);
}
/* header sits over the always-dark hero photo, so its brand text stays fixed white */
.header .brand__word, .mobile-nav .brand__word { color: var(--white); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link {
  font-size: 14px; font-weight: 600; color: var(--muted);
  position: relative; padding: 4px 0; transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: var(--red); transition: right .3s var(--ease);
}
.nav__link:hover { color: var(--cream); }
.nav__link:hover::after { right: 0; }

.header__actions { display: flex; align-items: center; gap: 16px; }

.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  color: var(--cream); transition: background .3s, transform .3s, border-color .3s;
  cursor: pointer; touch-action: manipulation;
}
.theme-toggle:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.theme-toggle svg { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.header__phone {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--cream);
}
.header__phone svg { color: var(--red); }

.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px;
  cursor: pointer; touch-action: manipulation;
}
.burger span { width: 22px; height: 2px; background: var(--cream); transition: all .3s; }
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  padding: 20px 28px 26px;
  background: var(--ink);
  color: var(--cream);
  border-top: 1px solid rgba(255,255,255,.08);
  position: fixed;
  top: var(--header-h, 74px);
  left: 0; right: 0; bottom: 0;
  overflow-y: auto;
  z-index: 499;
}
.mobile-nav__link { padding: 12px 0; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-nav__phone {
  margin-top: 14px; text-align: center; padding: 14px; border-radius: 100px;
  background: var(--red); color: var(--white); font-weight: 700;
}
.mobile-nav.is-open { display: flex; }
body.nav-open { overflow: hidden; }

@media (max-width: 920px) {
  .nav { display: none; }
  .header__phone { display: none; }
  .burger { display: flex; }
}

@media (max-width: 560px) {
  .header__row { gap: 10px; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__word { font-size: 14px; letter-spacing: .03em; }
  .header__actions { gap: 10px; }
  .header__actions .btn--sm { display: none; }
}
@media (max-width: 380px) {
  .header__actions { gap: 6px; }
  .brand { gap: 8px; }
  .brand__word { font-size: 12px; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 60px;
}
.hero__bg {
  position: absolute; inset: -6% -2%;
  background-size: cover; background-position: center 30%;
  will-change: transform;
  filter: saturate(1.05);
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 18% 20%, rgba(18,14,12,.35), transparent 55%),
    linear-gradient(180deg, rgba(18,14,12,.55) 0%, rgba(18,14,12,.72) 46%, rgba(18,14,12,.96) 100%),
    linear-gradient(100deg, rgba(18,14,12,.94) 0%, rgba(18,14,12,.55) 42%, rgba(114,44,0,.28) 100%);
}
.hero__grid {
  position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 60% at 30% 40%, black, transparent);
}
.hero__canvas {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(720px, 62vw);
  height: min(720px, 62vw);
  pointer-events: none;
  opacity: .95;
}

.hero__content { position: relative; z-index: 2; max-width: 720px; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cream); background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  padding: 9px 18px; border-radius: 100px; backdrop-filter: blur(8px);
  margin-bottom: 26px;
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px 2px rgba(255,117,31,.9); }

.hero__title {
  font-size: clamp(36px, 6.2vw, 78px);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.01em;
  color: var(--white);
  margin-bottom: 32px;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
}
.hero__title-line { display: block; }
.hero__title-line--accent {
  background: linear-gradient(100deg, var(--red) 10%, var(--gold) 55%, var(--red) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 220% 100%;
  animation: shine 7s linear infinite;
}
.hero__title-line--soft {
  background: linear-gradient(100deg, var(--white) 12%, var(--red) 70%, var(--gold) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 220% 100%;
  animation: shine 7s linear infinite;
  animation-delay: -3s;
}
@keyframes shine { to { background-position: -220% 0; } }

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat__num {
  font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--white);
  line-height: 1; white-space: nowrap;
}
.stat__label { font-size: 12.5px; color: var(--muted); margin-top: 8px; max-width: 120px; }

@media (max-width: 720px) {
  .hero { padding-bottom: 110px; }
  .hero__canvas { opacity: .22; width: 100vw; height: 100vw; right: -10%; top: auto; bottom: -8%; transform: none; z-index: 0; }
  .hero__content { position: relative; z-index: 2; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__stats { gap: 26px; row-gap: 20px; }
}

/* ---------------- Marquee ---------------- */
.marquee {
  background: var(--red);
  overflow: hidden;
  padding: 16px 0;
  transform: rotate(-1.2deg) scale(1.02);
  border-top: 1px solid rgba(0,0,0,.15);
  border-bottom: 1px solid rgba(0,0,0,.15);
}
.marquee__track {
  display: flex; gap: 18px; white-space: nowrap; width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: .04em; color: var(--white);
}
.marquee__track span { opacity: .95; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- Section basics ---------------- */
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--red); margin-bottom: 18px;
}
.eyebrow--light { color: var(--gold); }
.section-title {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 800; line-height: 1.05; color: var(--text); margin-bottom: 22px;
  letter-spacing: -.01em;
}
.section-title--light { color: var(--white); }

/* ---------------- About ---------------- */
.about { position: relative; padding: 140px 0; overflow: hidden; }
.about__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .5;
}
.about::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--surface-0) 0%, var(--scrim-soft) 20%, var(--scrim-soft) 80%, var(--surface-0) 100%);
}
.about__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center;
}
.about__lead { font-size: 17px; color: var(--text-muted); max-width: 520px; margin-bottom: 44px; }

.about__features { display: flex; flex-direction: column; gap: 26px; }
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature__icon {
  flex: none; width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,117,31,.12); color: var(--red);
  border: 1px solid rgba(255,117,31,.25);
}
.feature h3 { font-size: 16px; color: var(--text); margin-bottom: 6px; font-family: var(--font-body); font-weight: 700; }
.feature p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

.about__visual { position: relative; height: 560px; }
.about__card {
  position: absolute; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  border: 1px solid var(--line);
}
.about__card img { width: 100%; height: 100%; object-fit: cover; }
.about__card--1 { width: 68%; height: 68%; top: 0; left: 0; z-index: 2; }
.about__card--2 { width: 55%; height: 48%; bottom: 0; right: 0; z-index: 3; }
.about__badge {
  position: absolute; top: 8%; right: 4%; z-index: 4;
  background: var(--red); color: var(--white); border-radius: 20px;
  padding: 16px 20px; text-align: center;
  box-shadow: 0 20px 40px -14px rgba(255,117,31,.7);
  display: flex; flex-direction: column; gap: 2px;
  animation: float 5s ease-in-out infinite;
}
.about__badge-num { font-family: var(--font-display); font-weight: 900; font-size: 22px; }
.about__badge-text { font-size: 10.5px; max-width: 100px; opacity: .9; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

@media (max-width: 980px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { height: 420px; margin-top: 20px; }
}

/* ---------------- Menu ---------------- */
.menu { position: relative; padding: 120px 0 140px; }
.menu__texture {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .06; filter: blur(2px);
}
.menu__head { max-width: 620px; margin-bottom: 50px; position: relative; z-index: 2; }
.menu__lead { color: var(--text-muted); font-size: 15px; }
.menu__disclaimer {
  position: relative; z-index: 2;
  margin-top: 46px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--text-muted); opacity: .75;
}

/* ---------------- Category nav: sticky strip of round photo chips + scroll-spy ----------------
   All categories are rendered one after another; the strip only jumps/highlights. */
.menu-nav {
  position: sticky; top: var(--header-h, 84px); z-index: 6;
  display: flex; align-items: center; gap: 6px;
  margin: 0 -28px 34px; padding: 12px 28px 10px;
  background: var(--surface-0);
  transition: box-shadow .3s, border-radius .3s, background .4s var(--ease);
}
.menu-nav.is-stuck { box-shadow: 0 14px 24px -18px rgba(28,16,6,.45); border-radius: 0 0 22px 22px; }
.menu-nav__track {
  flex: 1; min-width: 0;
  display: flex; gap: 4px;
  overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  scroll-padding-inline: 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 36px), transparent);
          mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 36px), transparent);
}
.menu-nav__track::-webkit-scrollbar { display: none; }
.menu-nav__item {
  flex: none; min-width: 88px; max-width: 120px;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 4px 6px 6px; border-radius: 16px;
  text-decoration: none; color: var(--text-muted);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: color .25s;
}
.menu-nav__img {
  position: relative; display: block; width: 58px; height: 58px; border-radius: 50%;
  padding: 3px; background: var(--line);
  transition: background .3s, transform .35s var(--ease);
}
.menu-nav__img img {
  display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  border: 2px solid var(--surface-0);
}
.menu-nav__label {
  font-family: var(--font-display); font-weight: 600; font-size: 12px; line-height: 1.2;
  text-align: center; white-space: normal;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.4em;
}
.menu-nav__item:hover .menu-nav__img { transform: translateY(-2px); }
.menu-nav__item:hover { color: var(--text); }
.menu-nav__item.is-active { color: var(--text); }
.menu-nav__item.is-active .menu-nav__label { font-weight: 800; }
.menu-nav__item.is-active .menu-nav__img {
  background: var(--red);
  transform: scale(1.06);
}
html[data-theme="dark"] .menu-nav__item.is-active .menu-nav__img { background: var(--white); }
.menu-nav__item:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.menu-nav__arrow {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 22px;
  background: var(--surface-1); color: var(--text); border: 1px solid var(--line);
  cursor: pointer; transition: opacity .25s, transform .25s;
}
.menu-nav__arrow:hover { transform: scale(1.08); }
.menu-nav__arrow:disabled { opacity: .3; cursor: default; transform: none; }
.menu-nav__arrow[hidden] { display: none; }

.menu__cat { position: relative; z-index: 2; scroll-margin-top: calc(var(--header-h, 84px) + var(--menu-nav-h, 110px) + 8px); }
.menu__cat + .menu__cat { margin-top: 56px; }
.menu__cat-title {
  display: flex; align-items: baseline; gap: 10px;
  margin: 0 0 20px;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 30px);
  color: var(--text); letter-spacing: -.01em;
}
.menu__cat-title span {
  font-size: 13px; font-weight: 700; color: var(--text-muted);
  padding: 3px 9px; border-radius: 100px; background: var(--surface-1); border: 1px solid var(--line);
}
.menu__cat .wok-builder { margin-bottom: 18px; }

.dish-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.dish-tile {
  display: flex; flex-direction: column;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.dish-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -22px rgba(0,0,0,.4);
  border-color: rgba(255,117,31,.35);
}
.dish-tile__img { aspect-ratio: 4 / 3; overflow: hidden; }
.dish-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dish-tile:hover .dish-tile__img img { transform: scale(1.07); }
.dish-tile--cutout .dish-tile__img { background: #fff; }
.dish-tile--cutout .dish-tile__img img { object-fit: contain; }
.dish-tile--cutout:hover .dish-tile__img img { transform: scale(1.04) rotate(-1deg); }
.dish-tile__body {
  flex: 1; display: flex; flex-direction: column; gap: 6px;
  padding: 14px 16px 16px;
}
.dish-tile__body h3 { font-size: 14.5px; color: var(--text); font-weight: 700; font-family: var(--font-body); line-height: 1.28; }
.dish-tile__body p {
  flex: 1; font-size: 12px; color: var(--text-muted); line-height: 1.45;
  overflow-wrap: anywhere;
}
.dish-tile__foot {
  margin-top: auto; padding-top: 8px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.dish-tile__pricebox { display: flex; flex-direction: column; min-width: 0; }
.dish-tile__price {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--text); white-space: nowrap;
}
.dish-tile__meta { font-size: 11.5px; color: var(--text-muted); white-space: nowrap; }
.dish-tile__meta:empty { display: none; }

/* add-to-cart button → turns into a −/qty/+ stepper once the dish is in the cart */
.qty { flex: none; }
.add-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 14px 0 11px; border-radius: 100px;
  background: var(--red); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px;
  box-shadow: 0 8px 18px -8px rgba(255,117,31,.8);
  transition: transform .2s var(--ease), background .2s;
  touch-action: manipulation;
}
.add-btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.add-btn:active { transform: scale(.95); }
.stepper {
  display: inline-flex; align-items: center; height: 36px; border-radius: 100px;
  border: 1.5px solid var(--red); color: var(--text);
}
.stepper button {
  width: 32px; height: 100%; display: grid; place-items: center;
  color: var(--red); font-size: 18px; font-weight: 700; line-height: 1;
  touch-action: manipulation;
}
.stepper span { min-width: 20px; text-align: center; font-weight: 800; font-size: 14px; font-family: var(--font-display); }

.size-toggle {
  display: inline-flex; align-self: flex-start; padding: 3px; gap: 2px; margin-top: 4px;
  border-radius: 100px; background: rgba(28,16,6,.07);
}
.size-toggle button {
  padding: 5px 11px; border-radius: 100px; font-size: 12px; font-weight: 700; color: var(--text-muted);
  transition: background .2s, color .2s;
}
.size-toggle button.is-active { background: var(--red); color: #fff; }

/* ---------------- WOK constructor ---------------- */
.wok-builder {
  margin-bottom: 26px; padding: 28px 30px; border-radius: var(--radius);
  background: var(--surface-2); border: 1px solid var(--line);
}
.wok-builder__head h3 { font-size: 22px; color: var(--text); margin-top: -6px; }
.wok-builder__head p { color: var(--text-muted); font-size: 14px; margin-top: 6px; }
.wok-builder__head p strong { color: var(--red); }
.wok-builder__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 34px; margin-top: 22px; }
.wok-builder fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.wok-builder legend {
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); margin-bottom: 10px; padding: 0;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 100px; border: 1.5px solid var(--line-strong);
  font-size: 13.5px; font-weight: 600; color: var(--text);
  transition: background .2s, border-color .2s, color .2s;
}
.chip em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--red); }
.chip:hover span { border-color: var(--red); }
.chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.chip input:checked + span em { color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.wok-builder__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line);
}
.wok-builder__summary { display: flex; flex-direction: column; }
.wok-builder__label { font-size: 12px; color: var(--text-muted); }
.wok-builder__total { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--text); }

@media (max-width: 1080px) {
  .dish-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .wok-builder { padding: 20px 18px; }
  .wok-builder__grid { grid-template-columns: 1fr; gap: 18px; }
  .wok-builder__foot .btn { flex: 1; }
  .dish-tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .dish-tile__body { padding: 11px 12px 13px; gap: 4px; }
  .dish-tile__body h3 { font-size: 13px; }
  .dish-tile__body p { font-size: 11px; }
  .dish-tile__price { font-size: 13.5px; }
  .add-btn { width: 36px; padding: 0; justify-content: center; }
  .add-btn span { display: none; }
  .stepper button { width: 28px; }
  .size-toggle button { padding: 4px 9px; font-size: 11px; }
  .menu-nav { margin: 0 -28px 24px; padding: 10px 0 8px 12px; }
  .menu-nav__item { min-width: 70px; padding: 4px 4px 6px; gap: 5px; }
  .menu-nav__img { width: 50px; height: 50px; padding: 2.5px; }
  .menu-nav__label { font-size: 11px; }
  .menu__cat + .menu__cat { margin-top: 40px; }
  .menu__cat-title { margin-bottom: 14px; }
}

/* ---------------- Cart: header button, bottom bar, drawer ---------------- */
.cart-btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  color: var(--cream); cursor: pointer; touch-action: manipulation;
  transition: background .3s, transform .3s;
}
.cart-btn:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.cart-btn__count {
  position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 100px; background: var(--red); color: #fff;
  font-size: 11px; font-weight: 800; line-height: 19px; text-align: center;
  box-shadow: 0 0 0 2px var(--ink);
}
.cart-btn.is-bump { animation: cart-bump .45s var(--ease); }
@keyframes cart-bump { 40% { transform: scale(1.22); } }

.cart-bar {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 450;
  transform: translate(-50%, 140%); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 12px 10px 20px; border-radius: 100px; min-width: 320px;
  background: var(--ink); color: #fff;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.55);
  transition: transform .45s var(--ease), opacity .3s;
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
}
.cart-bar.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.cart-bar__info { flex: 1; white-space: nowrap; }
.cart-bar__info b { color: var(--red); }
.cart-bar__go {
  padding: 10px 18px; border-radius: 100px; background: var(--red); color: #fff;
  font-weight: 700; white-space: nowrap;
}
body.has-cart .fab { bottom: calc(92px + env(safe-area-inset-bottom)); }

.cart-overlay {
  position: fixed; inset: 0; z-index: 590; background: rgba(10,6,3,.55);
  opacity: 0; pointer-events: none; transition: opacity .3s;
  backdrop-filter: blur(2px);
}
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 600;
  width: min(460px, 100vw); display: flex; flex-direction: column;
  background: #fff; color: #1c1006;
  transform: translateX(105%); transition: transform .45s var(--ease);
  box-shadow: -24px 0 60px -20px rgba(0,0,0,.45);
  --c-muted: rgba(28,16,6,.58); --c-line: rgba(28,16,6,.12);
}
.cart-drawer.is-open { transform: translateX(0); }
body.cart-open { overflow: hidden; }
.cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(18px + env(safe-area-inset-top)) 22px 16px; border-bottom: 1px solid var(--c-line);
}
.cart-drawer__head h2 { font-size: 20px; }
.cart-drawer__close { width: 38px; height: 38px; border-radius: 50%; font-size: 24px; line-height: 1; color: #1c1006; background: rgba(28,16,6,.06); }
.cart-drawer__body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 8px 22px 24px; }
.cart-drawer__foot {
  padding: 14px 22px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--c-line); background: #fff;
}

.cart-empty { text-align: center; padding: 60px 10px; color: var(--c-muted); }
.cart-empty strong { display: block; font-family: var(--font-display); font-size: 18px; color: #1c1006; margin-bottom: 8px; }

.cart-line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.cart-line__img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; flex: none; }
.cart-line__main { flex: 1; min-width: 0; }
.cart-line__name { font-weight: 700; font-size: 14px; line-height: 1.3; }
.cart-line__opts { font-size: 12px; color: var(--c-muted); margin-top: 2px; line-height: 1.4; }
.cart-line__row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.cart-line__sum { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.cart-line .stepper { height: 32px; color: #1c1006; }
.cart-line .stepper span { color: #1c1006; }

.checkout { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.checkout h3 { font-size: 15px; font-family: var(--font-display); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(28,16,6,.06); }
.seg button {
  padding: 11px 8px; border-radius: 11px; font-weight: 700; font-size: 13.5px; color: var(--c-muted);
  transition: background .2s, color .2s, box-shadow .2s;
}
.seg button.is-active { background: #fff; color: #1c1006; box-shadow: 0 4px 12px -4px rgba(0,0,0,.2); }
.seg button:disabled { opacity: .45; cursor: not-allowed; }
.seg button small { display: block; font-size: 10.5px; font-weight: 600; margin-top: 1px; }

/* below the delivery minimum: explain + one-tap suggestions to reach it */
.upsell {
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px; border-radius: 14px; background: rgba(255,117,31,.09); border: 1.5px dashed rgba(255,117,31,.55);
}
.upsell__title { font-family: var(--font-display); font-weight: 800; font-size: 14.5px; color: #1c1006; }
.upsell p { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--c-muted); }
.upsell p b { color: #1c1006; }
.upsell__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.upsell__item {
  display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0;
  padding: 8px 6px 9px; border-radius: 12px; background: #fff; border: 1px solid var(--c-line);
  text-align: center; cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.upsell__item:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -10px rgba(0,0,0,.35); }
.upsell__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 8px; background: #fff; }
.upsell__name {
  font-size: 11.5px; font-weight: 700; line-height: 1.25; color: #1c1006;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em;
}
.upsell__price {
  display: inline-flex; align-items: center; gap: 3px; padding: 4px 9px; border-radius: 100px;
  background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 12px;
}
.upsell__price svg { width: 12px; height: 12px; }
.upsell__more { align-self: flex-start; font-weight: 700; font-size: 13px; color: var(--red-dark, #d85a0c); padding: 2px 0; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--c-muted); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--c-line);
  font: inherit; font-size: 15px; color: #1c1006; background: #fff;
  transition: border-color .2s;
}
.field textarea { min-height: 70px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #d93025; }
.field__err { font-size: 12px; color: #d93025; display: none; }
.field.is-invalid .field__err { display: block; }
.field-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.checkout__note {
  font-size: 12.5px; line-height: 1.45; color: var(--c-muted);
  padding: 12px 14px; border-radius: 12px; background: rgba(255,117,31,.09);
}
.checkout__note b { color: #1c1006; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.cart-totals { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; font-size: 13.5px; }
.cart-totals div { display: flex; justify-content: space-between; color: var(--c-muted); }
.cart-totals .cart-totals__sum { color: #1c1006; font-family: var(--font-display); font-weight: 800; font-size: 19px; margin-top: 4px; }
.cart-submit { width: 100%; }
.cart-submit[disabled] { opacity: .6; pointer-events: none; }
.cart-consent { margin-top: 10px; font-size: 11px; line-height: 1.4; color: var(--c-muted); text-align: center; }
.cart-consent a { text-decoration: underline; }
.cart-error { margin-bottom: 10px; padding: 10px 12px; border-radius: 10px; background: #fdecea; color: #b3261e; font-size: 13px; display: none; }
.cart-error.is-visible { display: block; }

.cart-done { text-align: center; padding: 50px 6px 30px; }
.cart-done__icon {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff;
}
.cart-done h3 { font-size: 22px; margin-bottom: 10px; }
.cart-done p { color: var(--c-muted); font-size: 14.5px; line-height: 1.5; }
.cart-done .btn { margin-top: 22px; }

.toast {
  position: fixed; left: 50%; top: calc(var(--header-h, 70px) + 12px); z-index: 700;
  transform: translate(-50%, -20px); opacity: 0; pointer-events: none;
  padding: 11px 18px; border-radius: 100px; background: var(--ink); color: #fff;
  font-size: 13.5px; font-weight: 600; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5);
  transition: transform .35s var(--ease), opacity .3s;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* dark theme turns primary buttons white — inside the white WOK card / cart drawer they must stay orange */
html[data-theme] .wok-builder .btn--primary,
html[data-theme] .cart-drawer .btn--primary {
  background: var(--red); color: #fff; box-shadow: 0 10px 24px -8px rgba(255,117,31,.7);
}
html[data-theme] .wok-builder .btn--primary:hover,
html[data-theme] .cart-drawer .btn--primary:hover { background: var(--red-dark); }

@media (max-width: 720px) {
  /* the cart bar takes over the bottom of the screen; the call button would cover tile "+" buttons */
  body.has-cart .fab { display: none; }
}
@media (max-width: 560px) {
  .cart-bar { left: 12px; right: 12px; min-width: 0; transform: translateY(140%); }
  .cart-bar.is-visible { transform: translateY(0); }
  .field-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}

/* ---------------- CTA / Delivery ---------------- */
.cta { position: relative; padding: 160px 0; overflow: hidden; }
.cta__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 30%;
  will-change: transform;
}
.cta__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,14,12,.55), rgba(18,14,12,.88) 60%, var(--ink) 100%),
              linear-gradient(100deg, rgba(18,14,12,.9), rgba(114,44,0,.35));
}
.cta__content { position: relative; z-index: 2; max-width: 640px; }
.cta__lead { font-size: 16px; color: var(--muted); max-width: 480px; margin-bottom: 40px; }
.cta__row { display: flex; gap: 16px; margin-bottom: 44px; flex-wrap: wrap; }
.cta__chip {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  border-radius: 16px; padding: 16px 20px; min-width: 150px;
}
.cta__chip strong { display: block; font-family: var(--font-display); font-size: 18px; color: var(--white); margin-bottom: 4px; }
.cta__chip span { font-size: 12px; color: var(--muted); }

/* ---------------- Location ---------------- */
.location { padding: 130px 0 150px; }
.location__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: center; }
.location__list { margin: 30px 0 40px; display: flex; flex-direction: column; gap: 20px; }
.location__list li { display: flex; gap: 16px; align-items: flex-start; }
.location__list svg { flex: none; color: var(--red); margin-top: 3px; }
.location__list strong { display: block; color: var(--text); font-size: 16px; margin-bottom: 2px; }
.location__list span { font-size: 13.5px; color: var(--text-muted); }
.location__map {
  height: 460px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  filter: grayscale(.3) contrast(1.05);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.7);
}
.location__map iframe { width: 100%; height: 100%; }

@media (max-width: 980px) {
  .location__grid { grid-template-columns: 1fr; }
  .location__map { height: 360px; }
}

/* ---------------- Footer ---------------- */
.footer { background: var(--surface-1); border-top: 1px solid var(--line); padding: 80px 0 0; transition: background .4s var(--ease); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer__brand p { margin-top: 16px; font-size: 13.5px; color: var(--text-muted); max-width: 260px; line-height: 1.6; }
.footer__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 18px; }
.footer__col { display: flex; flex-direction: column; gap: 11px; font-size: 14px; color: var(--text); }
.footer__col a:hover { color: var(--red); }
.footer__social { display: flex; gap: 12px; color: var(--text); }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); transition: border-color .3s, color .3s, transform .3s;
}
.footer__social a:hover { border-color: var(--red); color: var(--red); transform: translateY(-3px); }
.footer__bottom {
  display: flex; justify-content: space-between; padding: 24px 28px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--text-muted); flex-wrap: wrap; gap: 8px;
}
.footer__bottom a { color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.footer__bottom a:hover { color: var(--red); }
html[data-theme="dark"] .footer__bottom a:hover { color: var(--white); }

@media (max-width: 820px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------------- Floating action button ---------------- */
.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 400;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px var(--fab-glow);
  animation: pulse-fab 2.6s ease-in-out infinite;
  transition: background .3s, color .3s;
}
@keyframes pulse-fab {
  0%,100% { box-shadow: 0 14px 30px -10px var(--fab-glow); }
  50% { box-shadow: 0 14px 30px -6px var(--fab-glow-mid), 0 0 0 10px var(--fab-glow-ring); }
}

/* ---------------- Reveal-on-scroll base state ---------------- */
[data-reveal] { opacity: 0; transform: translateY(28px); }

/* ---------------- Tilt helper ---------------- */
.tilt, .tilt-soft { transform-style: preserve-3d; will-change: transform; }
