/* =========================================================
   KHAN SUSHI — Ninja precision · Samurai honor
   ========================================================= */
:root {
  --ink: #0a0707;
  --ink2: #110b0a;
  --ink3: #1a1211;
  --ink4: #241917;
  --red: #e3141b;
  --red2: #ff2d33;
  --blood: #8f0b10;
  --cream: #f3e6cf;
  --paper: #fbf5ea;
  --gold: #c9a26b;
  --muted: #a5978a;
  --line: rgba(243, 230, 207, .12);
  --f-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-jp: "Noto Serif JP", serif;
  --ease: cubic-bezier(.2, .9, .2, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
  --r: 22px;
  --wrap: 1280px;
  --hdr: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-loading, body.lock { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
.global-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
section[id] { scroll-margin-top: 60px; }
.section { position: relative; padding: clamp(90px, 12vw, 160px) 0; }
.center { text-align: center; justify-content: center; }

/* film grain overlay */
.grain {
  display: none;
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.lock .grain, body.lock .marquee-track, body.lock .hero-ring, body.lock .craft-circle::after { animation-play-state: paused; }
body.bg-paused *, body.bg-paused *::before, body.bg-paused *::after { animation-play-state: paused !important; }
body.in-game #game *, body.in-game #arcade * { animation-play-state: running !important; }
button[aria-busy="true"] { opacity: .7; cursor: progress; }
@media (pointer: coarse) {
  .grain, #petals { display: none; }
  .card-media .sushi-svg { filter: none; }
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
#petals { position: fixed; inset: 0; z-index: 2; pointer-events: none; }

/* ---------- typography ---------- */
.kicker {
  display: flex; align-items: center; gap: 14px; margin: 0 0 18px;
  font: 700 12px/1 var(--f-body); letter-spacing: .32em; text-transform: uppercase; color: var(--red2);
}
.kicker-line { width: 42px; height: 2px; background: currentColor; display: inline-block; flex: none; }
.h2 {
  font: 800 clamp(34px, 5.2vw, 72px)/1.04 var(--f-display); letter-spacing: -.02em;
  margin: 0 0 22px; color: var(--paper); text-wrap: balance;
}
.sec-sub { color: var(--muted); max-width: 560px; font-size: 17px; margin: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.sec-head.center .sec-sub { margin-inline: auto; }

/* split heading animation */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(110%) rotate(6deg); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.split.in .w > span { transform: none; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 58px; padding: 0 30px; border-radius: 100px; overflow: hidden; isolation: isolate;
  font: 700 15px/1 var(--f-body); letter-spacing: .02em; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s, background .3s, color .3s;
}
.btn .arr { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 40px -10px rgba(227, 20, 27, .8), inset 0 -3px 0 rgba(0, 0, 0, .2); }
.btn-red::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-red:hover::before { transform: translateX(120%); }
.btn-red:hover { box-shadow: 0 16px 50px -8px rgba(227, 20, 27, 1), inset 0 -3px 0 rgba(0, 0, 0, .2); }
.btn-ghost { border: 1.5px solid rgba(243, 230, 207, .3); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(243, 230, 207, .06); }
.btn-sm { height: 44px; padding: 0 22px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 10000; }
  /* chopsticks holding a roll */
  html.has-chop, html.has-chop a, html.has-chop button, html.has-chop .card, html.has-chop label { cursor: none; }
  html.has-chop input, html.has-chop textarea { cursor: text; }
  .chop { position: fixed; left: 0; top: 0; width: 64px; height: 64px; opacity: 0; will-change: transform; transition: opacity .25s; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .55)); transform-origin: 10px 58px; }
  .chop.show { opacity: 1; }
  .chop-svg { width: 100%; height: 100%; overflow: visible; }
  .chop .stick, .chop .held { transition: transform .35s var(--ease); transform-box: view-box; }
  .chop .s1 { transform-origin: 86px 6px; }
  .chop .s2 { transform-origin: 89px 19px; }
  .chop .held { transform-origin: 17px 73px; }
  body.c-hover .chop .s1 { transform: rotate(-5deg); }
  body.c-hover .chop .s2 { transform: rotate(5deg); }
  body.c-hover .chop .held { transform: scale(1.25) rotate(-8deg); }
  body.c-down .chop .s1 { transform: rotate(2.5deg); }
  body.c-down .chop .s2 { transform: rotate(-2.5deg); }
  body.c-down .chop .held { transform: scale(.85); }
  body.c-knife .chop, body.c-text .chop, body.is-loading .chop { opacity: 0 !important; }
  /* inside the games the chopsticks only stay for Sushi Crush */
  body.in-game:not([data-game="crush"]) .chop { display: none; }
  html.has-chop body.in-game:not([data-game="crush"]) button { cursor: pointer; }
  html.has-chop body.in-game:not([data-game="crush"]) #arCanvas { cursor: default; }
}

/* =========================================================
   LOADER
   ========================================================= */
#loader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; overflow: hidden; }
.ld-panel { position: absolute; inset: -10%; background: var(--ink); transition: transform 1.1s var(--ease-in); }
.ld-a { clip-path: polygon(0 0, 100% 0, 0 100%); background: radial-gradient(circle at 30% 30%, #1a0d0c, var(--ink) 60%); }
.ld-b { clip-path: polygon(100% 0, 100% 100%, 0 100%); background: radial-gradient(circle at 70% 70%, #1a0d0c, var(--ink) 60%); }
.ld-stage { position: relative; width: min(520px, 86vw); aspect-ratio: 1; display: grid; place-items: center; transition: opacity .4s, transform .6s var(--ease); }
.ld-sun { position: absolute; inset: 0; width: 100%; transform: scale(0) rotate(-40deg); opacity: 0; filter: drop-shadow(0 0 60px rgba(227, 20, 27, .6)); }
.ld-kanji {
  position: absolute; right: -6%; top: 6%; display: flex; flex-direction: column; gap: 0;
  font: 900 clamp(54px, 10vw, 96px)/1 var(--f-jp); color: var(--paper);
  text-shadow: 0 6px 30px rgba(0, 0, 0, .6);
}
.ld-kanji span { clip-path: inset(0 0 100% 0); }
.ld-logo { position: relative; width: 92%; opacity: 0; transform: scale(.6); filter: blur(20px); }
.ld-tag {
  position: absolute; bottom: -4%; left: 0; right: 0; text-align: center; margin: 0;
  font: 600 12px/1 var(--f-body); letter-spacing: .4em; text-transform: uppercase; color: var(--cream); opacity: 0;
}
.ld-bar { position: absolute; bottom: -13%; left: 30%; right: 30%; height: 2px; background: rgba(243, 230, 207, .15); overflow: hidden; }
.ld-bar i { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }
.ld-slash {
  position: absolute; left: -20%; right: -20%; top: 50%; height: 3px; z-index: 3;
  background: linear-gradient(90deg, transparent, #fff 40%, #fff 60%, transparent);
  box-shadow: 0 0 30px 6px rgba(255, 60, 60, .9), 0 0 4px #fff;
  transform: rotate(-38deg) scaleX(0); transform-origin: left center; opacity: 0;
}
.ld-skip {
  position: absolute; bottom: 28px; right: 28px; z-index: 4; padding: 10px 18px; border-radius: 40px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line);
  transition: color .3s, border-color .3s;
}
.ld-skip:hover { color: var(--cream); border-color: var(--cream); }

#loader.s1 .ld-sun { animation: sunIn 1.2s var(--ease) forwards; }
#loader.s1 .ld-bar i { animation: bar 2.4s var(--ease) forwards; }
#loader.s2 .ld-kanji span { animation: brushDown .7s var(--ease) forwards; }
#loader.s2 .ld-kanji span:nth-child(2) { animation-delay: .25s; }
#loader.s3 .ld-logo { animation: logoIn 1s var(--ease) forwards; }
#loader.s3 .ld-tag { animation: tagIn 1s var(--ease) .4s forwards; }
#loader.s4 .ld-slash { animation: slash .45s var(--ease-in) forwards; }
#loader.s4 .ld-stage { opacity: 0; transform: scale(1.08); transition-delay: .25s; }
#loader.s5 .ld-a { transform: translate(-60%, -60%); }
#loader.s5 .ld-b { transform: translate(60%, 60%); }
#loader.s5 .ld-skip { opacity: 0; }
#loader.done { display: none; }

@keyframes sunIn { 0% { transform: scale(0) rotate(-40deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes brushDown { to { clip-path: inset(0 0 0 0); } }
@keyframes logoIn { 0% { opacity: 0; transform: scale(.6); filter: blur(20px); } 60% { opacity: 1; transform: scale(1.04); filter: blur(0); } 100% { opacity: 1; transform: scale(1); filter: blur(0); } }
@keyframes tagIn { from { opacity: 0; letter-spacing: .9em; } to { opacity: .85; letter-spacing: .4em; } }
@keyframes bar { to { transform: scaleX(1); } }
@keyframes slash { 0% { opacity: 1; transform: rotate(-38deg) scaleX(0); } 100% { opacity: 1; transform: rotate(-38deg) scaleX(1); } }

/* =========================================================
   HEADER
   ========================================================= */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80; height: var(--hdr);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 clamp(16px, 3vw, 40px);
  transition: background .4s, height .4s var(--ease), border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.scrolled { height: 70px; background: rgba(10, 7, 7, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.hdr.hide { transform: translateY(-100%); }
.hdr-logo img { width: 64px; height: auto; transition: transform .5s var(--ease); filter: drop-shadow(0 4px 14px rgba(227, 20, 27, .35)); }
.hdr-logo:hover img { transform: rotate(-6deg) scale(1.08); }
.hdr-nav { display: flex; gap: 6px; padding: 6px; border-radius: 100px; background: rgba(243, 230, 207, .04); border: 1px solid var(--line); }
.hdr-nav a {
  position: relative; padding: 10px 18px; border-radius: 100px; font-weight: 600; font-size: 14px; color: rgba(243, 230, 207, .78);
  transition: color .3s, background .3s;
}
.hdr-nav a:hover, .hdr-nav a.active { color: #fff; background: rgba(227, 20, 27, .9); }
.hdr-actions { display: flex; align-items: center; gap: 10px; }

.lang { position: relative; display: flex; padding: 4px; border-radius: 100px; border: 1px solid var(--line); background: rgba(243, 230, 207, .04); }
.lang button { position: relative; z-index: 1; width: 40px; height: 32px; border-radius: 100px; font: 700 12px/1 var(--f-body); letter-spacing: .06em; color: var(--muted); transition: color .3s; }
.lang button.on { color: #fff; }
.lang-pill { position: absolute; top: 4px; left: 4px; width: 40px; height: 32px; border-radius: 100px; background: var(--red); transition: transform .5s var(--ease); box-shadow: 0 4px 16px rgba(227, 20, 27, .5); }

.icon-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(243, 230, 207, .04); transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.icon-btn:hover { background: rgba(227, 20, 27, .15); border-color: rgba(227, 20, 27, .6); }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: var(--cream); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#favBtn svg { fill: transparent; transition: fill .3s; }
#favBtn.has svg { fill: var(--red); stroke: var(--red); }
.badge {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 20px;
  background: var(--red); color: #fff; font: 800 11px/20px var(--f-body); text-align: center;
  transform: scale(0); transition: transform .4s var(--ease); box-shadow: 0 0 0 3px var(--ink);
}
.badge.show { transform: scale(1); }
.bump { animation: bump .6s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.35) rotate(-8deg); } 60% { transform: scale(.92) rotate(4deg); } 100% { transform: scale(1); } }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); position: relative; z-index: 120; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--cream); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger.open span:first-child { top: 22px; transform: rotate(45deg); }
.burger.open span:last-child { top: 22px; transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 70; background: var(--ink2); display: flex; flex-direction: column; justify-content: center; padding: 0 32px;
  clip-path: circle(0 at calc(100% - 46px) 42px); transition: clip-path .8s var(--ease); overflow: hidden;
}
.mnav.open { clip-path: circle(150% at calc(100% - 46px) 42px); }
.mnav-sun { position: absolute; width: 120vw; aspect-ratio: 1; right: -60vw; bottom: -50vw; border-radius: 50%; background: radial-gradient(circle, var(--red), var(--blood) 60%, transparent 70%); opacity: .35; }
.mnav nav { position: relative; display: flex; flex-direction: column; gap: 8px; }
.mnav a { font: 800 clamp(36px, 10vw, 60px)/1.15 var(--f-display); color: var(--paper); opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease), color .3s; }
.mnav.open a { opacity: 1; transform: none; }
.mnav.open a:nth-child(1) { transition-delay: .2s; } .mnav.open a:nth-child(2) { transition-delay: .27s; }
.mnav.open a:nth-child(3) { transition-delay: .34s; } .mnav.open a:nth-child(4) { transition-delay: .41s; }
.mnav a:active { color: var(--red); }
.mnav-kanji { position: absolute; bottom: 30px; left: 32px; font: 900 22px var(--f-jp); letter-spacing: .4em; color: var(--muted); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--hdr) + 30px) 0 100px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 60% 70% at 75% 45%, rgba(227, 20, 27, .22), transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(201, 162, 107, .07), transparent 70%),
    var(--ink);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, var(--ink)); z-index: -1; }
.hero-bg-kanji {
  position: absolute; z-index: -1; right: -2vw; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font: 900 clamp(200px, 34vw, 520px)/.9 var(--f-jp);
  color: transparent; -webkit-text-stroke: 1.5px rgba(243, 230, 207, .07); user-select: none;
}
.hero-slash {
  position: absolute; z-index: 5; width: 200vmax; height: 2px; left: 50%; top: 50%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9) 48%, #fff 50%, rgba(255, 255, 255, .9) 52%, transparent);
  box-shadow: 0 0 24px 4px rgba(255, 45, 51, .7);
  transform: translate(-50%, -50%) rotate(-24deg) scaleX(0); opacity: 0;
}
.hero-slash.go { animation: heroSlash .9s var(--ease) forwards; }
@keyframes heroSlash { 0% { opacity: 1; transform: translate(-50%, -50%) rotate(-24deg) scaleX(0); } 60% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) rotate(-24deg) scaleX(1); } }

.hero-inner { width: min(var(--wrap), 100% - 48px); margin-inline: auto; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
.hero-title { margin: 0 0 26px; font: 900 clamp(36px, 5.1vw, 76px)/1.12 var(--f-display); letter-spacing: -.035em; color: var(--paper); }
.ht-line { display: block; overflow: hidden; padding-bottom: .06em; }
.ht-word { display: inline-block; transform: translateY(115%) skewY(8deg); transition: transform 1.2s var(--ease); }
.ht-line:nth-child(1) .ht-word:nth-child(2) { transition-delay: .08s; }
.ht-line:nth-child(2) .ht-word:nth-child(1) { transition-delay: .16s; }
.ht-line:nth-child(2) .ht-word:nth-child(2) { transition-delay: .24s; }
.ht-line:nth-child(3) .ht-word:nth-child(1) { transition-delay: .24s; }
.ht-line:nth-child(3) .ht-word:nth-child(2) { transition-delay: .32s; }
.ht-red { color: var(--red); text-shadow: 0 0 60px rgba(227, 20, 27, .5); }
.ht-outline { color: transparent; -webkit-text-stroke: 2px var(--paper); }
.hero-sub { max-width: 520px; font-size: clamp(16px, 1.3vw, 19px); color: rgba(243, 230, 207, .72); margin: 0 0 38px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 54px; }
.hero-stats { display: flex; gap: clamp(22px, 4vw, 54px); }
.hero-stats div { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 2px solid var(--red); }
.hero-stats b { font: 800 clamp(26px, 2.6vw, 38px)/1 var(--f-display); color: var(--paper); }
.hero-stats span { font-size: 13px; color: var(--muted); }

.hero .kicker, .hero-sub, .hero-ctas, .hero-stats { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
body.ready .hero .kicker { opacity: 1; transform: none; }
body.ready .ht-word { transform: none; }
body.ready .hero-sub { opacity: 1; transform: none; transition-delay: .35s; }
body.ready .hero-ctas { opacity: 1; transform: none; transition-delay: .45s; }
body.ready .hero-stats { opacity: 1; transform: none; transition-delay: .55s; }

.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: center; perspective: 1000px; }
.hero-ring { position: absolute; inset: 0; width: 100%; animation: spin 40s linear infinite; opacity: 0; transition: opacity 1.2s .6s; }
.hero-ring2 { animation-duration: 70s; animation-direction: reverse; }
body.ready .hero-ring { opacity: .9; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-sun {
  position: absolute; inset: 14%; border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 20, 27, .55), rgba(227, 20, 27, 0) 70%);
  filter: blur(30px); animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.12); opacity: .7; } }
.hero-logo {
  position: absolute; inset: 6% 2% auto; width: 96%; height: auto; z-index: 2;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .7)) drop-shadow(0 0 40px rgba(227, 20, 27, .25));
  opacity: 0; transform: scale(.85) translateY(40px);
  transition: opacity 1.2s var(--ease) .1s, transform 1.4s var(--ease) .1s;
  will-change: transform;
}
body.ready .hero-logo { opacity: 1; transform: none; }
.float { position: absolute; z-index: 3; will-change: transform; opacity: 0; transition: opacity 1s .9s; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .6)); }
body.ready .float { opacity: 1; }
.float > div { animation: bob 6s ease-in-out infinite; }
.f1 { width: 24%; left: -12%; top: 44%; } .f1 > div { animation-delay: -1s; }
.f2 { width: 19%; right: -8%; top: 22%; } .f2 > div { animation-delay: -3s; animation-duration: 7s; }
.f3 { width: 20%; right: -10%; bottom: -6%; } .f3 > div { animation-delay: -2s; animation-duration: 8s; }
.f4 { width: 17%; left: 4%; top: 4%; } .f4 > div { animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-18px) rotate(5deg); } }
.hero-badge {
  position: absolute; z-index: 4; right: 4%; top: 2%; width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); color: var(--ink); text-align: center;
  box-shadow: 0 0 0 6px rgba(243, 230, 207, .15), 0 20px 40px rgba(0, 0, 0, .5);
  transform: scale(0) rotate(-90deg); transition: transform 1s var(--ease) 1.1s;
}
body.ready .hero-badge { transform: rotate(-12deg); }
.hero-badge span { font: 900 34px/1 var(--f-jp); color: var(--red); margin-top: 6px; }
.hero-badge small { font: 800 9px/1.1 var(--f-body); letter-spacing: .14em; margin-top: -14px; }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scroll-hint i { width: 1.5px; height: 48px; background: linear-gradient(var(--red), transparent); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; background: #fff; animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  position: relative; z-index: 3; background: var(--red); color: #fff; overflow: hidden; padding: 22px 0;
  transform: rotate(-2deg) scale(1.04); box-shadow: 0 20px 60px rgba(227, 20, 27, .35);
}
.marquee::before {
  content: ""; position: absolute; inset: 0; opacity: .25; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 40px, rgba(0, 0, 0, .15) 40px 41px);
}
.marquee-track { display: flex; width: max-content; animation: marq 36s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 34px; padding-right: 34px; font: 800 clamp(22px, 3vw, 38px)/1 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.marquee-track span i { font: 900 .9em/1 var(--f-jp); font-style: normal; color: var(--ink); }
@keyframes marq { to { transform: translateX(-50%); } }

/* =========================================================
   STORY
   ========================================================= */
.story { overflow: hidden; }
.story-kanji {
  position: absolute; left: -4vw; top: 8%; font: 900 clamp(260px, 40vw, 620px)/1 var(--f-jp);
  color: transparent; -webkit-text-stroke: 1.5px rgba(227, 20, 27, .14); pointer-events: none;
}
.story-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.story-visual { position: relative; }
.story-frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #3a0b0d, var(--ink2) 70%);
  border: 1px solid var(--line); box-shadow: 0 40px 80px rgba(0, 0, 0, .6);
}
.story-frame::before {
  content: ""; position: absolute; inset: 0;
  background: url(../img/brush-sun.svg) 50% 30% / 78% auto no-repeat; opacity: .95;
}
.story-frame img { position: absolute; left: 50%; top: 50%; width: 104%; max-width: none; transform: translate(-50%, -50%); transition: transform 1.4s var(--ease); }
.story-visual:hover .story-frame img { transform: translate(-50%, -52%) scale(1.04); }
.story-split { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; padding: 22px 26px; font: 900 34px var(--f-jp); color: rgba(243, 230, 207, .9); background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }
.story-names { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 26px; }
.story-names div { display: flex; flex-direction: column; align-items: center; }
.story-names b { font: 900 40px/1 var(--f-jp); color: var(--red); }
.story-names span { font: 700 11px/1 var(--f-body); letter-spacing: .35em; color: var(--muted); margin-top: 8px; }
.story-names .plus { font: 300 36px var(--f-display); color: var(--cream); }
.story-copy > p { color: rgba(243, 230, 207, .78); font-size: 17px; margin: 0 0 18px; max-width: 600px; }

.values { display: grid; gap: 14px; margin: 34px 0 30px; }
.value {
  display: flex; gap: 18px; align-items: center; padding: 18px 22px; border-radius: 18px;
  background: linear-gradient(90deg, rgba(243, 230, 207, .05), transparent); border: 1px solid var(--line);
  transition: border-color .4s, transform .5s var(--ease), background .4s;
}
.value:hover { border-color: rgba(227, 20, 27, .6); transform: translateX(8px); background: linear-gradient(90deg, rgba(227, 20, 27, .12), transparent); }
.v-k { flex: none; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--red); color: #fff; font: 900 26px/1 var(--f-jp); box-shadow: 0 8px 24px rgba(227, 20, 27, .4); }
.value h4 { margin: 0 0 2px; font: 700 17px var(--f-display); color: var(--paper); }
.value p { margin: 0; color: var(--muted); font-size: 14.5px; }
.sign { font: 700 15px var(--f-body); color: var(--gold); letter-spacing: .04em; }

/* =========================================================
   CRAFT / ANATOMY
   ========================================================= */
.craft { background: linear-gradient(var(--ink), var(--ink2) 30%, var(--ink2) 70%, var(--ink)); }
.craft-grid { display: grid; grid-template-columns: 260px 1fr 300px; gap: 34px; align-items: center; margin-top: 30px; }
.craft-list { display: flex; flex-direction: column; gap: 12px; }
.craft-item {
  display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border-radius: 18px; text-align: left;
  border: 1px solid var(--line); background: rgba(243, 230, 207, .03);
  transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.craft-item .ci-art { width: 64px; flex: none; transition: transform .6s var(--ease); }
.craft-item b { display: block; font: 700 15px var(--f-display); color: var(--paper); }
.craft-item small { color: var(--muted); font-size: 12.5px; }
.craft-item:hover { transform: translateX(6px); border-color: rgba(227, 20, 27, .5); }
.craft-item.on { background: linear-gradient(90deg, rgba(227, 20, 27, .25), rgba(227, 20, 27, .04)); border-color: var(--red); }
.craft-item.on .ci-art { transform: rotate(-10deg) scale(1.15); }
.craft-stage { position: relative; aspect-ratio: 1 / 1.05; display: grid; place-items: center; }
.craft-circle {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 20, 27, .35), rgba(227, 20, 27, .08) 55%, transparent 70%);
}
.craft-circle::after { content: ""; position: absolute; inset: 6%; border-radius: 50%; border: 1.5px dashed rgba(243, 230, 207, .15); animation: spin 60s linear infinite; }
.anat { position: relative; width: 100%; }
.anat-svg { width: 100%; height: auto; overflow: visible; }
.anat .layer { transform: translateY(var(--d)); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.anat.exploded .layer { transform: none; }
.anat .lbl { opacity: 0; transition: opacity .5s; transition-delay: 0s; }
.anat.exploded .lbl { opacity: 1; transition-delay: calc(.85s + var(--i) * 70ms); }
.lbl-t { font: 700 19px var(--f-body); fill: var(--paper); }
.craft-info { padding: 30px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(243, 230, 207, .03); }
.craft-info h3 { margin: 0 0 6px; font: 800 26px/1.15 var(--f-display); color: var(--paper); }
.craft-info .ci-meta { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.craft-info p { color: rgba(243, 230, 207, .75); font-size: 15px; margin: 0 0 22px; }
.craft-info .price { font: 800 30px var(--f-display); color: var(--paper); display: block; margin-bottom: 16px; }
.craft-info .btn { width: 100%; }
.craft-info .ci-anim { animation: fadeUp .7s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* =========================================================
   MENU
   ========================================================= */
.search {
  display: flex; align-items: center; gap: 10px; height: 54px; width: min(360px, 100%); padding: 0 20px;
  border-radius: 100px; border: 1px solid var(--line); background: rgba(243, 230, 207, .04); transition: border-color .3s, background .3s;
}
.search:focus-within { border-color: var(--red); background: rgba(227, 20, 27, .06); }
.search svg { width: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 15px; }
.search input::placeholder { color: var(--muted); }

.tabs-wrap { position: sticky; top: 70px; z-index: 20; margin: 0 -24px 36px; padding: 12px 24px; background: linear-gradient(var(--ink) 70%, transparent); }
.tabs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 8px; border-radius: 100px;
  border: 1px solid var(--line); background: rgba(243, 230, 207, .03); font-weight: 700; font-size: 14px; color: rgba(243, 230, 207, .8);
  transition: background .35s, border-color .35s, color .35s, transform .35s var(--ease);
}
.tab i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 900 15px/1 var(--f-jp); font-style: normal; background: rgba(243, 230, 207, .08); color: var(--cream); transition: background .35s, transform .5s var(--ease); }
.tab:hover { border-color: rgba(227, 20, 27, .5); color: #fff; }
.tab:hover i { transform: rotate(-12deg); }
.tab.on { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 8px 26px -6px rgba(227, 20, 27, .8); }
.tab.on i { background: rgba(0, 0, 0, .25); color: #fff; }
.tab.fav-tab i { color: var(--red2); font-size: 14px; }
.tab.fav-tab.on i { color: #fff; }
.tab sup { font-size: 10px; opacity: .7; margin-left: -4px; }

.grid-slash { position: relative; height: 0; z-index: 5; }
.grid-slash::after {
  content: ""; position: absolute; left: -5%; right: -5%; top: 120px; height: 2px;
  background: linear-gradient(90deg, transparent, #fff, transparent); box-shadow: 0 0 20px 4px rgba(255, 45, 51, .8);
  transform: scaleX(0) rotate(-3deg); opacity: 0;
}
.grid-slash.go::after { animation: gslash .6s var(--ease) forwards; }
@keyframes gslash { 0% { transform: scaleX(0) rotate(-3deg); opacity: 1; transform-origin: left; } 100% { transform: scaleX(1) rotate(-3deg); opacity: 0; transform-origin: left; } }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; cursor: pointer;
  background: linear-gradient(180deg, var(--ink3), var(--ink2)); border: 1px solid var(--line);
  transform-style: preserve-3d; transition: border-color .4s, box-shadow .5s, transform .6s var(--ease);
  animation: cardIn .8s var(--ease) both; animation-delay: calc(var(--i) * 55ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(50px) scale(.96); } to { opacity: 1; transform: none; } }
.card:hover { border-color: rgba(227, 20, 27, .55); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(227, 20, 27, .3), 0 20px 80px -30px rgba(227, 20, 27, .6); }
.card-media { position: relative; aspect-ratio: 1 / .86; display: grid; place-items: center; overflow: hidden; }
.card-media::before {
  content: ""; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; top: 10%;
  background: url(../img/brush-sun.svg) center / contain no-repeat; opacity: .92;
  transform: scale(.92); transition: transform .8s var(--ease), opacity .5s;
}
.card-media::after { content: attr(data-k); position: absolute; right: 14px; bottom: 6px; font: 900 64px/1 var(--f-jp); color: rgba(243, 230, 207, .05); transition: color .5s, transform .8s var(--ease); }
.card:hover .card-media::before { transform: scale(1.04) rotate(8deg); }
.card:hover .card-media::after { color: rgba(243, 230, 207, .12); transform: translateY(-6px); }
.card-media .sushi-svg { position: relative; width: 88%; z-index: 1; transform: translateZ(40px); transition: transform .8s var(--ease); filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .45)); }
.card:hover .sushi-svg { transform: translateZ(60px) scale(1.07) rotate(-3deg) translateY(-6px); }
.card-tags { position: absolute; z-index: 2; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; max-width: 70%; }
.tag { padding: 5px 10px; border-radius: 30px; font: 800 10.5px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; background: var(--paper); color: var(--ink); }
.tag-hit { background: var(--gold); }
.tag-new { background: var(--paper); }
.tag-spicy { background: #ff5a1f; color: #fff; }
.tag-veg { background: #3fa34d; color: #fff; }
.tag-hot { background: var(--blood); color: #fff; }
.fav {
  position: absolute; z-index: 3; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(10, 7, 7, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line); transition: transform .4s var(--ease), background .3s;
}
.fav svg { width: 20px; fill: transparent; stroke: var(--cream); stroke-width: 2; transition: fill .3s, stroke .3s, transform .5s var(--ease); }
.fav:hover { transform: scale(1.1); }
.fav.on { background: rgba(227, 20, 27, .2); border-color: rgba(227, 20, 27, .5); }
.fav.on svg { fill: var(--red2); stroke: var(--red2); animation: heart .6s var(--ease); }
@keyframes heart { 0% { transform: scale(1); } 25% { transform: scale(.6); } 60% { transform: scale(1.35); } 100% { transform: scale(1); } }
.burst { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--red2); pointer-events: none; animation: burst .7s var(--ease) forwards; }
@keyframes burst { to { transform: translate(var(--x), var(--y)) scale(0); opacity: 0; } }

.card-body { display: flex; flex-direction: column; flex: 1; padding: 6px 22px 22px; }
.card-body h3 { margin: 0 0 4px; font: 800 20px/1.2 var(--f-display); color: var(--paper); }
.meta { margin: 0 0 10px; font-size: 12.5px; font-weight: 600; color: var(--gold); letter-spacing: .04em; }
.card-body .desc { margin: 0 0 14px; font-size: 14px; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 30px; font-size: 12px; font-weight: 600; background: rgba(243, 230, 207, .06); color: rgba(243, 230, 207, .8); }
.chip i { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .5); }
.chip.more { padding: 4px 10px; color: var(--muted); }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font: 800 24px/1 var(--f-display); color: var(--paper); }
.price small { font-size: .7em; color: var(--red2); margin-left: 2px; }
.add {
  position: relative; height: 46px; padding: 0 18px 0 14px; border-radius: 100px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff; font-weight: 700; font-size: 13.5px; overflow: hidden;
  box-shadow: 0 8px 24px -8px rgba(227, 20, 27, .9); transition: transform .4s var(--ease), background .3s;
}
.add svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; transition: transform .5s var(--ease); }
.add:hover { transform: translateY(-2px); background: var(--red2); }
.add:hover svg { transform: rotate(90deg); }
.add.done { background: #2f9e44; box-shadow: 0 8px 24px -8px rgba(47, 158, 68, .9); }
.add.done svg { transform: none; }
.empty { text-align: center; padding: 60px 0; color: var(--muted); font-size: 17px; }

.flyer { position: fixed; z-index: 200; pointer-events: none; filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .5)); }

/* =========================================================
   WHY
   ========================================================= */
.why { padding-top: 40px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.why-card {
  position: relative; padding: 34px 26px 30px; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); background: linear-gradient(160deg, rgba(243, 230, 207, .05), transparent 60%);
  transition: transform .6s var(--ease), border-color .4s;
}
.why-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.why-card:hover { transform: translateY(-8px); border-color: rgba(227, 20, 27, .4); }
.why-card:hover::after { transform: scaleX(1); }
.why-k { display: block; font: 900 54px/1 var(--f-jp); color: var(--red); margin-bottom: 22px; text-shadow: 0 0 30px rgba(227, 20, 27, .5); transition: transform .6s var(--ease); }
.why-card:hover .why-k { transform: scale(1.1) rotate(-6deg); }
.why-card h4 { margin: 0 0 8px; font: 700 18px/1.3 var(--f-display); color: var(--paper); }
.why-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); }
.c-list { list-style: none; padding: 0; margin: 36px 0 30px; display: grid; gap: 14px; }
.c-list li { display: flex; gap: 18px; align-items: center; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(243, 230, 207, .03); }
.c-ic { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(227, 20, 27, .14); }
.c-ic svg { width: 22px; fill: none; stroke: var(--red2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c-list small { display: block; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.c-list span, .c-list a { font-weight: 600; color: var(--paper); }
.c-list a:hover { color: var(--red2); }
.socials { display: flex; gap: 12px; }
.socials a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); cursor: pointer; transition: background .3s, transform .4s var(--ease), border-color .3s; }
.socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-4px) rotate(-8deg); }
.socials svg { width: 22px; fill: none; stroke: var(--cream); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-side { display: grid; gap: 22px; }
.c-form { padding: clamp(24px, 3vw, 36px); border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--ink3), var(--ink2)); display: grid; gap: 16px; }
.map { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); height: 260px; background: var(--ink3); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg) brightness(.9); }

/* floating label fields */
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: 14px; border: 1px solid var(--line); background: rgba(243, 230, 207, .04);
  outline: 0; font-size: 15.5px; resize: vertical; transition: border-color .3s, background .3s;
}
.field label { position: absolute; left: 19px; top: 18px; color: var(--muted); font-size: 15px; pointer-events: none; transition: transform .3s var(--ease), font-size .3s, color .3s, top .3s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--red); background: rgba(227, 20, 27, .05); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 8px; font-size: 11.5px; color: var(--red2); letter-spacing: .04em; }
.field.err input, .field.err textarea { border-color: #ff4d4d; animation: shake .4s; }
.field .err-msg { display: block; font-size: 12px; color: #ff6b6b; margin: 6px 4px 0; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* =========================================================
   FOOTER
   ========================================================= */
.ftr { position: relative; padding: 90px 0 30px; background: var(--ink2); overflow: hidden; }
.ftr-brush { position: absolute; top: 0; left: -2%; right: -2%; height: 14px; background: url(../img/brush-line.svg) 0 0 / 100% 100% no-repeat; }
.ftr-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.ftr-logo { width: 130px; }
.ftr-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.ftr-nav a { font-weight: 600; color: rgba(243, 230, 207, .75); transition: color .3s; }
.ftr-nav a:hover { color: var(--red2); }
.ftr-made { margin: 0; color: var(--muted); font-size: 14px; }
.heart { color: var(--red); display: inline-block; animation: beat 1.4s infinite; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 20% { transform: scale(1.3); } 40% { transform: scale(1.1); } }
.ftr-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; color: var(--muted); }
.ftr-jp { font-family: var(--f-jp); letter-spacing: .3em; }

/* =========================================================
   PRODUCT MODAL
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-bg { position: absolute; inset: 0; background: rgba(5, 3, 3, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .5s; }
.modal.open .modal-bg { opacity: 1; }
.modal-box {
  position: relative; width: min(1040px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto;
  border-radius: 30px; background: linear-gradient(160deg, var(--ink3), var(--ink2)); border: 1px solid var(--line);
  box-shadow: 0 60px 120px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(60px) scale(.94); transition: opacity .5s var(--ease), transform .7s var(--ease);
  scrollbar-width: thin; scrollbar-color: var(--ink4) transparent;
}
.modal.open .modal-box { opacity: 1; transform: none; }
.x { position: absolute; z-index: 5; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(243, 230, 207, .07); border: 1px solid var(--line); transition: transform .5s var(--ease), background .3s; }
.x:hover { transform: rotate(90deg); background: var(--red); }
.x svg { width: 20px; fill: none; stroke: var(--cream); stroke-width: 2.2; stroke-linecap: round; }
.pm { display: grid; grid-template-columns: 1.05fr 1fr; }
.pm-visual { position: relative; min-height: 460px; display: grid; place-items: center; padding: 30px; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(227, 20, 27, .3), transparent 65%); }
.pm-visual::before { content: ""; position: absolute; width: 62%; aspect-ratio: 1; background: url(../img/brush-sun.svg) center / contain no-repeat; opacity: .85; animation: spin 50s linear infinite; }
.pm-visual .sushi-svg { position: relative; width: 92%; max-width: 440px; animation: pmIn 1s var(--ease) both, bob 6s ease-in-out 1s infinite; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .55)); }
@keyframes pmIn { from { opacity: 0; transform: scale(.6) rotate(-20deg); } to { opacity: 1; transform: none; } }
.pm-visual .anat { position: relative; width: 100%; max-width: 480px; }
#pmArt { position: relative; z-index: 1; width: 100%; display: grid; place-items: center; }
.pm-view-toggle { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 3; display: flex; padding: 4px; border-radius: 100px; background: rgba(10, 7, 7, .7); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.pm-view-toggle button { padding: 9px 18px; border-radius: 100px; font-size: 13px; font-weight: 700; color: var(--muted); transition: background .3s, color .3s; }
.pm-view-toggle button.on { background: var(--red); color: #fff; }
.pm-k { position: absolute; left: 22px; top: 18px; font: 900 72px/1 var(--f-jp); color: rgba(243, 230, 207, .08); }
.pm-info { padding: 46px 40px 36px; display: flex; flex-direction: column; }
.pm-info h3 { margin: 10px 0 6px; font: 800 clamp(28px, 3vw, 40px)/1.1 var(--f-display); color: var(--paper); }
.pm-info .meta { font-size: 13.5px; }
.pm-info .desc { color: rgba(243, 230, 207, .75); margin: 0 0 24px; }
.pm-sec { font: 700 11.5px/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.pm-ing { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 22px; }
.pm-ing div { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(243, 230, 207, .04); font-size: 14px; font-weight: 600; animation: fadeUp .6s var(--ease) both; animation-delay: calc(var(--i) * 60ms + .2s); }
.pm-ing i { width: 14px; height: 14px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px rgba(0, 0, 0, .5), 0 0 0 3px rgba(243, 230, 207, .15); }
/* Modal content must remain visible while background motion is paused. */
body.bg-paused .modal.open .sushi-svg, body.bg-paused .modal.open .pm-ing div { animation: none; opacity: 1; transform: none; }
.pm-al { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.pm-al span { padding: 6px 12px; border-radius: 30px; font-size: 12.5px; border: 1px solid rgba(255, 180, 60, .35); color: #ffc46b; }
.pm-buy { margin-top: auto; display: flex; gap: 12px; align-items: center; }
.stepper { display: inline-flex; align-items: center; height: 54px; border-radius: 100px; border: 1px solid var(--line); background: rgba(243, 230, 207, .04); }
.stepper button { width: 46px; height: 100%; font-size: 22px; font-weight: 500; color: var(--cream); border-radius: 100px; transition: color .3s, background .3s; }
.stepper button:hover { color: #fff; background: rgba(227, 20, 27, .3); }
.stepper b { min-width: 30px; text-align: center; font: 800 17px var(--f-display); }
.pm-buy .btn { flex: 1; }

/* =========================================================
   CART DRAWER
   ========================================================= */
.drawer { position: fixed; inset: 0; z-index: 160; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(5, 3, 3, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-box {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100%); display: flex; flex-direction: column;
  background: var(--ink2); border-left: 1px solid var(--line); box-shadow: -40px 0 80px rgba(0, 0, 0, .6);
  transform: translateX(105%); transition: transform .7s var(--ease);
}
.drawer.open .drawer-box { transform: none; }
.drawer-box::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 3px; background: linear-gradient(transparent, var(--red) 15%, var(--red) 85%, transparent); }
.drawer-head { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 26px 28px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font: 800 24px var(--f-display); color: var(--paper); }
.drawer-head .x { position: static; }
.drawer-views { position: relative; flex: 1; overflow: hidden; display: flex; width: 200%; transition: transform .6s var(--ease); }
.drawer-views.co { transform: translateX(-50%); }
.dv { width: 50%; height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 22px; scrollbar-width: thin; scrollbar-color: var(--ink4) transparent; }
.ci { display: grid; grid-template-columns: 78px 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: 18px; margin-bottom: 10px; background: rgba(243, 230, 207, .03); border: 1px solid var(--line); animation: fadeUp .5s var(--ease) both; }
.ci.out { animation: ciOut .45s var(--ease) forwards; }
@keyframes ciOut { to { opacity: 0; transform: translateX(80px); height: 0; padding: 0; margin: 0; border-width: 0; } }
.ci-img { width: 78px; height: 78px; border-radius: 14px; background: radial-gradient(circle, rgba(227, 20, 27, .45), transparent 70%); display: grid; place-items: center; }
.ci-img img { width: 96%; }
.ci h4 { margin: 0 0 4px; font: 700 15px/1.25 var(--f-display); color: var(--paper); }
.ci .ci-p { font-weight: 700; color: var(--gold); font-size: 14px; }
.ci .stepper { height: 38px; }
.ci .stepper button { width: 34px; font-size: 18px; }
.ci .stepper b { min-width: 22px; font-size: 14px; }
.ci-rm { display: block; margin: 6px auto 0; font-size: 11.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.ci-rm:hover { color: var(--red2); }
.cart-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.cart-empty .ce-art { width: 180px; margin-bottom: 18px; opacity: .9; animation: bob 5s ease-in-out infinite; }
.cart-empty h4 { margin: 0 0 6px; font: 800 22px var(--f-display); color: var(--paper); }
.cart-empty p { margin: 0 0 22px; color: var(--muted); }
.cart-foot { padding: 20px 26px 26px; border-top: 1px solid var(--line); background: var(--ink); }
.free-bar { height: 6px; border-radius: 6px; background: rgba(243, 230, 207, .08); overflow: hidden; }
.free-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--blood), var(--red2)); border-radius: 6px; transition: width .7s var(--ease); }
.free-txt { margin: 8px 0 14px; font-size: 13px; color: var(--muted); }
.sum-row { display: flex; justify-content: space-between; margin: 6px 0; color: rgba(243, 230, 207, .75); font-size: 15px; }
.sum-row b { color: var(--paper); }
.sum-row.total { margin: 14px 0 16px; padding-top: 14px; border-top: 1px dashed var(--line); font: 800 20px var(--f-display); color: var(--paper); }
.min-warn { margin: -6px 0 12px; font-size: 13px; color: #ffb347; }
.min-warn:empty { display: none; }

.co-form { flex: 1; overflow-y: auto; padding: 22px 26px 30px; display: flex; flex-direction: column; gap: 14px; }
.co-lbl { margin: 6px 0 -4px; font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: grid; place-items: center; height: 50px; border-radius: 14px; border: 1px solid var(--line); background: rgba(243, 230, 207, .04); font-weight: 700; font-size: 14px; transition: all .3s; }
.seg input:checked + span { border-color: var(--red); background: rgba(227, 20, 27, .15); color: #fff; box-shadow: inset 0 0 0 1px var(--red); }
.seg input:focus-visible + span { outline: 2px solid var(--red2); outline-offset: 2px; }
.co-row { display: flex; align-items: center; justify-content: space-between; }
.co-row .co-lbl { margin: 0; }
.co-row .stepper { height: 44px; }
.co-info { font-size: 13px; color: var(--muted); margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(201, 162, 107, .08); border-left: 3px solid var(--gold); }
#addrField { transition: opacity .4s, max-height .5s var(--ease); max-height: 80px; }
#addrField.hidden { opacity: 0; max-height: 0; overflow: hidden; margin: -7px 0; }

/* =========================================================
   SUCCESS
   ========================================================= */
.success { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.success.open { visibility: visible; }
.success-sun { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform 1s var(--ease); }
.success.open .success-sun { transform: scale(140); }
.success-box { position: relative; text-align: center; max-width: 460px; opacity: 0; transform: translateY(40px); transition: opacity .6s .5s, transform .8s var(--ease) .5s; }
.success.open .success-box { opacity: 1; transform: none; }
.success-logo { width: 260px; margin: 0 auto 10px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); animation: bob 5s ease-in-out infinite; }
.success h3 { margin: 0 0 10px; font: 900 54px/1 var(--f-display); color: #fff; }
.success p { margin: 0 0 26px; color: rgba(255, 255, 255, .9); font-size: 17px; }
.success .btn-red { background: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }

/* =========================================================
   TOASTS
   ========================================================= */
.toasts { position: fixed; z-index: 400; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; border-radius: 100px;
  background: rgba(26, 18, 17, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .6); font-size: 14px; font-weight: 600; white-space: nowrap;
  animation: toastIn .6s var(--ease), toastOut .5s var(--ease) 2.4s forwards;
}
.toast i { width: 30px; height: 30px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-style: normal; font-size: 14px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(30px) scale(.9); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(20px); } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .craft-grid { grid-template-columns: 220px 1fr; }
  .craft-info { grid-column: 1 / -1; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .hdr-nav, .hdr-cta { display: none; }
  .burger { display: block; }
  .hero-inner { grid-template-columns: 1fr; text-align: left; gap: 10px; }
  .hero-visual { order: 1; max-width: 360px; width: 72%; }
  .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .story-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .pm { grid-template-columns: 1fr; }
  .pm-visual { min-height: 360px; }
}
@media (max-width: 760px) {
  :root { --hdr: 70px; }
  .wrap { width: calc(100% - 32px); }
  .hdr { gap: 8px; }
  .hdr-logo img { width: 52px; }
  .hdr-actions { gap: 6px; }
  .lang button { width: 34px; height: 30px; font-size: 11px; }
  .lang-pill { width: 34px; height: 30px; }
  .icon-btn, .burger { width: 40px; height: 40px; }
  .icon-btn svg { width: 18px; height: 18px; }
  .burger span { left: 11px; right: 11px; }
  .burger span:first-child { top: 15px; } .burger span:last-child { top: 23px; }
  .burger.open span:first-child, .burger.open span:last-child { top: 19px; }
  #favBtn { display: none; }
  .hero { padding-top: calc(var(--hdr) + 10px); }
  .hero-inner { width: calc(100% - 32px); }
  .hero-ctas .btn { flex: 1; padding: 0 18px; }
  .hero-stats { gap: 16px; }
  .hero-stats div { padding-left: 10px; }
  .hero-stats span { font-size: 11.5px; }
  .hero-badge { width: 70px; height: 70px; }
  .hero-badge span { font-size: 26px; }
  .scroll-hint { display: none; }
  .craft-grid { grid-template-columns: 1fr; gap: 20px; }
  .craft-list { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px; }
  .craft-list::-webkit-scrollbar { display: none; }
  .craft-item { flex: none; }
  .lbl-t { font-size: 22px; }
  .tabs-wrap { margin: 0 -16px 26px; padding: 10px 16px; top: 62px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { border-radius: 18px; }
  .card-media .sushi-svg { width: 96%; }
  .card-media::after { font-size: 40px; }
  .card-body { padding: 2px 12px 14px; }
  .card-body h3 { font-size: 14.5px; }
  .meta { font-size: 11px; margin-bottom: 8px; }
  .card-body .desc, .chips { display: none; }
  .card-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .price { font-size: 19px; }
  .add { justify-content: center; height: 40px; font-size: 12.5px; }
  .fav { width: 36px; height: 36px; top: 8px; right: 8px; }
  .fav svg { width: 17px; }
  .card-tags { top: 8px; left: 8px; }
  .tag { font-size: 9px; padding: 4px 7px; }
  .why-grid { grid-template-columns: 1fr; }
  .modal { padding: 0; align-items: end; }
  .modal-box { border-radius: 26px 26px 0 0; max-height: 94dvh; }
  .pm-info { padding: 26px 20px 26px; }
  .pm-ing { grid-template-columns: 1fr 1fr; }
  .pm-visual { min-height: 300px; }
  .marquee { padding: 16px 0; }
}
@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; }
  .lang button { width: 30px; }
  .lang-pill { width: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .grain { display: none; }
}

/* ---------- filling choice (card + modal + cart) ---------- */
.opts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.opt { display: inline-flex; align-items: center; gap: 4px; padding: 6px 11px; border-radius: 30px; font-size: 12px; font-weight: 700; color: rgba(243, 230, 207, .85); background: rgba(243, 230, 207, .06); border: 1px solid var(--line); transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease); }
.opt small { font-size: 10px; font-weight: 800; color: var(--gold); }
.opt:hover { border-color: rgba(227, 20, 27, .6); transform: translateY(-1px); }
.opt.on { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 6px 16px -6px rgba(227, 20, 27, .9); }
.opt.on small { color: #ffe0a0; }
.pm-opts { margin-bottom: 22px; }
.pm-opts .opt { padding: 9px 14px; font-size: 13.5px; }
.ci-opt { display: inline-block; margin: 0 0 4px; padding: 2px 8px; border-radius: 20px; background: rgba(227, 20, 27, .15); color: var(--red2); font-size: 11.5px; font-weight: 700; }
.ci h4 + .ci-opt { display: table; }
@media (max-width: 760px) {
  .chips.has-opts { display: flex; margin-bottom: 10px; }
  .chips.has-opts .opt { padding: 4px 8px; font-size: 10.5px; }
}

/* ---------- horizontal sliders (board picks, menu tabs, craft list) ---------- */
.hscroll { position: relative; min-width: 0; }
.hscroll::before, .hscroll::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 56px; z-index: 2; pointer-events: none;
  opacity: 0; transition: opacity .3s;
}
.hscroll::before { left: 0; background: linear-gradient(90deg, var(--ink), rgba(10, 7, 7, 0)); }
.hscroll::after { right: 0; background: linear-gradient(270deg, var(--ink), rgba(10, 7, 7, 0)); }
.hscroll.can-scroll:not(.at-start)::before, .hscroll.can-scroll:not(.at-end)::after { opacity: 1; }
.hs-btn {
  position: absolute; top: 50%; z-index: 3; width: 42px; height: 42px; margin-top: -24px; border-radius: 50%;
  display: none; place-items: center; background: rgba(26, 18, 17, .92); border: 1px solid rgba(243, 230, 207, .18);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .5); transition: opacity .3s, background .25s, transform .25s var(--ease);
}
.hs-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--cream); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hs-btn:hover { background: var(--red); transform: scale(1.08); }
.hs-btn:disabled { opacity: 0; pointer-events: none; }
.hs-prev { left: -4px; } .hs-next { right: -4px; }
.hscroll.can-scroll .hs-btn { display: grid; }
.hscroll.can-scroll > .board-picks, .hscroll.can-scroll > .tabs, .hscroll.can-scroll > .craft-list { cursor: grab; }
.hscroll.dragging > * { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.hscroll.dragging > * > * { pointer-events: none; }
.tabs-wrap .hs-btn { margin-top: -21px; width: 38px; height: 38px; }
@media (pointer: coarse) { .hs-btn { width: 36px; height: 36px; margin-top: -20px; } }
/* Keep decorative work within the visible section. */
#hero:not(.motion-visible) .hero-ring, #hero:not(.motion-visible) .float>div, #hero:not(.motion-visible) .hero-glow,
#craft:not(.motion-visible) .craft-circle::after, #play:not(.motion-visible) .play-demo *, #play:not(.motion-visible) .play-demo::before { animation-play-state: paused !important; }
.hdr.scrolled { background:#100c0af5;backdrop-filter:none;-webkit-backdrop-filter:none; }
.grid { contain:layout style; }

.menu-group-title{grid-column:1/-1;display:flex;align-items:center;gap:15px;margin:22px 0 4px;font:700 clamp(17px,2vw,24px)/1.4 var(--f-display);color:var(--cream)}.menu-group-title small{font:600 12px var(--f-body);color:var(--gold)}.menu-group-title::after{content:"";height:1px;flex:1;background:#c9a26b30}


/* Restaurant-defined classic sets. */
.classic-set-tiers{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 26px}.classic-set-tiers[hidden]{display:none}
.classic-set-tiers button{min-width:105px;padding:12px 19px;display:grid;gap:5px;text-align:left;border:1px solid var(--line);border-radius:16px;background:var(--ink3);color:var(--paper)}
.classic-set-tiers button[aria-pressed="true"]{background:var(--red);border-color:var(--red)}.classic-set-tiers small{font-size:11px;opacity:.7}
.grid.sets-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.card-set .card-media{aspect-ratio:1.5}.card-set .card-media .sushi-svg{width:80%}
.preset-members{list-style:none;padding:0;margin:8px 0 16px;display:grid;gap:9px;font-size:13px;line-height:1.4}.preset-members li{display:flex;justify-content:space-between;gap:14px;align-items:start}.preset-members small{white-space:nowrap;color:var(--gold)}
.preset-details{align-self:start;text-align:left;color:var(--gold);font-size:12px;margin:0 0 20px;padding:0 0 5px;border-bottom:1px solid var(--line)}
.pm-info>.preset-members{gap:12px;font-size:14px;margin:4px 0 24px}.pm-info>.preset-members li{padding-bottom:10px;border-bottom:1px solid var(--line)}
@media(max-width:600px){.grid.sets-grid{grid-template-columns:1fr}.card-set .card-media{aspect-ratio:1.6}.card-set .card-body{padding:4px 18px 18px}.card-set .card-body h3{font-size:20px}.card-set .preset-members{font-size:13px}.card-set .card-foot{flex-direction:row;align-items:center}.card-set .add{flex:1;justify-content:center}.classic-set-tiers{gap:8px}.classic-set-tiers button{flex:1 0 20%;min-width:74px;padding:10px 12px}}

.preset-member-ingredients{font-size:12px;line-height:1.6;font-weight:400;color:var(--muted);margin:6px 0 0}.pm-info>.preset-members:has(.preset-member-ingredients){gap:16px}
