/* Mumi Sushi · «Sera» — night photography from the restaurant, ink black, rice-paper text, one gold.
   Type: Zen Old Mincho for titles (the mincho stroke matches the brush logo), DM Sans for everything else.
   Library effects: staggered-character-reveal (hero), magnetic-button (CTA), hover-tinted-service-list
   (restaurants), scroll-snap-gallery (menu), scroll-word-brighten (manifesto). */

@font-face { font-family: "Zen Old Mincho"; font-weight: 500; font-display: swap; src: url(assets/zen-old-mincho-500.woff2) format("woff2"); }
@font-face { font-family: "Zen Old Mincho"; font-weight: 700; font-display: swap; src: url(assets/zen-old-mincho-700.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400 700; font-display: swap; src: url(assets/dm-sans-400-700.woff2) format("woff2"); }

:root {
  --nero: #0e0c0b; --nero-2: #171310; --nero-3: #211b17;
  --carta: #f2ebe0; --carta-2: rgba(242, 235, 224, .64); --carta-3: rgba(242, 235, 224, .4);
  --oro: #d4a24c; --oro-2: #e6bc6d;
  --line: rgba(242, 235, 224, .14);
  --open: #7fcf9f; --soon: #e6a35c; --shut: #9c948a;
  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --soft: cubic-bezier(.22, .61, .36, 1);
  --pad: clamp(18px, 4.4vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--nero); color: var(--carta); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }
.skip { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; background: var(--oro); color: var(--nero); transform: translateY(-160%); }
.skip:focus { transform: none; }
.press { transition: transform 140ms var(--ease); } .press:active { transform: scale(.97); }

/* ── type ── */
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--oro); margin-bottom: 16px; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: .005em; }
h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.08; }
h1 em, h2 em { font-style: normal; color: var(--oro); }
.lead { font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.65; color: var(--carta-2); max-width: 46ch; }
.section-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 52px); }
section { position: relative; padding: clamp(80px, 10vw, 140px) var(--pad); }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 2px; border: 1px solid transparent; font-weight: 600; font-size: 15px; letter-spacing: .01em; white-space: nowrap; }
.btn.sm { height: 40px; padding: 0 16px; font-size: 13.5px; }
.btn.oro { background: var(--oro); color: var(--nero); }
.btn.oro:hover { background: var(--oro-2); }
.btn.ghost { border-color: var(--line); background: rgba(242, 235, 224, .04); color: var(--carta); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn.ghost:hover { border-color: var(--carta-3); }
.btn span { transition: transform 220ms var(--ease); } .btn:hover span { transform: translateX(3px); }
/* magnetic-button: JS writes --mx/--my, only the release is animated */
.magnet { --mx: 0px; --my: 0px; transform: translate(var(--mx), var(--my)); transition: transform 450ms var(--ease), background-color 200ms, box-shadow 300ms; box-shadow: 0 14px 34px -16px rgba(212, 162, 76, .55); }
.magnet.tracking { transition-duration: 0ms, 200ms, 300ms; }
.magnet:hover { box-shadow: 0 16px 40px -14px rgba(212, 162, 76, .75); }
.magnet:active { scale: .97; }

/* ── header ── */
header { position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; height: 72px; padding: max(0px, env(safe-area-inset-top)) var(--pad) 0; transition: background-color 300ms, box-shadow 300ms; }
header.solid { background: rgba(14, 12, 11, .84); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 -1px var(--line); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 36px; height: auto; }
.logo b { display: block; font-size: 17px; font-weight: 700; letter-spacing: .3em; line-height: 1; }
.logo small { display: block; margin-top: 5px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--carta-3); line-height: 1; }
header nav { display: none; }

/* ── hero ── */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 120px; padding-bottom: 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; animation: settle 2400ms var(--soft) both; }
@keyframes settle { from { transform: scale(1.06); opacity: .4; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(14,12,11,.7) 0%, rgba(14,12,11,.1) 30%, rgba(14,12,11,.35) 55%, rgba(14,12,11,.96) 100%),
  linear-gradient(90deg, rgba(14,12,11,.75) 0%, rgba(14,12,11,.2) 60%, transparent 100%); }
.hero-copy { max-width: 760px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(46px, 8.4vw, 112px); line-height: 1.02; margin-bottom: 22px; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* staggered-character-reveal: each word is its own mask */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
[data-split] .c { display: inline-block; transform: translateY(110%); opacity: 0; }
[data-split].go .c { transform: none; opacity: 1; transition: transform 720ms cubic-bezier(.16, 1, .3, 1), opacity 300ms linear; transition-delay: calc(120ms + var(--i) * 28ms); }
.hero .eyebrow, .hero .lead, .hero .hero-actions, .ticker { animation: fadeUp 900ms var(--ease) both; }
.hero .eyebrow { animation-delay: 60ms; } .hero .lead { animation-delay: 650ms; } .hero .hero-actions { animation-delay: 800ms; } .ticker { animation-delay: 1000ms; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

/* live status strip */
.ticker { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); }
.ticker li { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.ticker li:last-child { border-bottom: 0; }
.ticker b { font-family: var(--serif); font-weight: 500; font-size: 17px; min-width: 104px; }
.ticker a { display: contents; }
.st { display: inline-flex; align-items: center; gap: 8px; color: var(--carta-2); }
.st i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.st.open { color: var(--open); } .st.open i { box-shadow: 0 0 0 0 rgba(127, 207, 159, .5); animation: ping 2.2s infinite; }
.st.soon { color: var(--soon); } .st.shut, .st.unknown { color: var(--shut); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(127, 207, 159, .45); } 70%, 100% { box-shadow: 0 0 0 8px rgba(127, 207, 159, 0); } }
.new { display: inline-block; margin-left: 6px; padding: 2px 7px; border: 1px solid var(--oro); color: var(--oro); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; border-radius: 2px; vertical-align: 2px; font-family: var(--sans); }

/* ── restaurants: hover-tinted list ── */
.stores { --tint: 154; background: hsl(var(--tint) 30% 8%); transition: background-color 700ms var(--soft); }
.stores-grid { display: grid; gap: 0; }
.store-list { border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); }
.row-btn { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; gap: 12px; padding: 22px 0; text-align: left; opacity: .5; transition: opacity 300ms var(--soft), transform 300ms var(--soft); }
.row-btn .n { font-size: 12px; letter-spacing: .1em; color: var(--carta-3); font-variant-numeric: tabular-nums; }
.row-btn .nm { font-family: var(--serif); font-size: clamp(34px, 6vw, 76px); line-height: 1; }
.row-btn .st { font-size: 13px; justify-self: end; }
.row.on .row-btn, .row-btn:hover { opacity: 1; }
.row.on .row-btn { transform: translateX(6px); }
.row .det { display: none; padding: 0 0 26px 46px; }
.row.on .det { display: block; animation: fadeUp 420ms var(--ease) both; }
/* store map (assets/map.js draws the streets; pin, label and credit are DOM on top) */
.det-map { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; margin-bottom: 18px; background: #17130f; box-shadow: inset 0 0 0 1px var(--line); isolation: isolate; }
.det-map canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 320ms var(--soft); }
.det-map.ready canvas { opacity: 1; }
.det-map::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 60px 6px rgba(14, 12, 11, .75); border-radius: inherit; }
.det-map .pin { position: absolute; left: 50%; top: var(--tip, 60%); z-index: 2; width: 30px; color: var(--oro); transform: translate(-50%, -100%); opacity: 0; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .55)); transition: opacity 200ms; }
.det-map .pin svg { display: block; width: 100%; height: auto; }
.det-map .pin path { fill: currentColor; }
.det-map .pin circle { fill: #17130f; }
.det-map .pin::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 22px; height: 8px; margin-left: -11px; border-radius: 50%; background: radial-gradient(closest-side, rgba(212, 162, 76, .45), transparent); z-index: -1; }
.det-map.ready .pin { opacity: 1; }
.det-map.drop .pin { animation: pinDrop 420ms var(--ease) both; }
@keyframes pinDrop { from { opacity: 0; transform: translate(-50%, calc(-100% - 14px)); } to { opacity: 1; transform: translate(-50%, -100%); } }
.det-map .go { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 9px; border-radius: 999px; background: rgba(14, 12, 11, .78); box-shadow: inset 0 0 0 1px var(--line); color: var(--carta); font-size: 12.5px; font-weight: 500; letter-spacing: .02em; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color 200ms, color 200ms; }
.det-map .go svg { width: 13px; height: 13px; fill: none; stroke: var(--oro); stroke-width: 2; stroke-linejoin: round; transition: stroke 200ms; }
.det-map .attr { position: absolute; right: 8px; bottom: 5px; z-index: 2; font-size: 10px; color: var(--carta-3); }
.det-map:hover .go, .det-map:focus-visible .go { background: var(--oro); color: var(--nero); }
.det-map:hover .go svg, .det-map:focus-visible .go svg { stroke: var(--nero); }
.det dl, .store-panel dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14.5px; margin: 0 0 20px; }
.det dt, .store-panel dt { color: var(--carta-3); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding-top: 2px; }
.det dd, .store-panel dd { margin: 0; }
.det dd a, .store-panel dd a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.det .acts, .store-panel .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.store-panel { display: none; }

/* ── menu: snap rail ── */
.menu { padding-left: 0; padding-right: 0; }
.menu .section-head { padding: 0 var(--pad); }
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: 4px var(--pad) 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 82%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; scroll-snap-align: start; scroll-snap-stop: always; background: var(--nero-3); }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--soft); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14,12,11,.85)); }
.slide figcaption { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; display: grid; gap: 2px; }
.slide figcaption b { font-family: var(--serif); font-weight: 500; font-size: 26px; }
.slide figcaption span { font-size: 13.5px; color: var(--carta-2); }
@media (hover: hover) { .slide:hover img { transform: scale(1.04); } }
.rail-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--pad) 0; }
.rail-btns { display: none; gap: 8px; }
.round { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; transition: border-color 200ms, transform 140ms var(--ease); }
.round:hover { border-color: var(--carta-3); }
.dots { display: flex; gap: 6px; }
.dots i { width: 18px; height: 2px; background: var(--line); transition: background-color 250ms; }
.dots i.on { background: var(--oro); }
.link { font-weight: 600; font-size: 14.5px; color: var(--oro); white-space: nowrap; }
.link span { display: inline-block; transition: transform 220ms var(--ease); } .link:hover span { transform: translateX(3px); }

/* ── manifesto: scroll-word-brighten ── */
.manifesto { padding: 0; }
.m-track { height: 240vh; }
.m-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: center; padding: 0 var(--pad); }
.m-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; filter: saturate(.7); }
.m-stage::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 50%, transparent, var(--nero) 85%); }
.m-copy { position: relative; z-index: 1; max-width: 1080px; }
.rule { height: 1px; background: linear-gradient(90deg, var(--oro), rgba(212,162,76,.12) 70%, transparent); margin-bottom: 18px; }
.m-text { font-family: var(--serif); font-size: clamp(24px, 3.9vw, 50px); line-height: 1.32; letter-spacing: -.005em; color: var(--carta); }
.m-text i { font-style: normal; will-change: opacity; }

/* ── how ── */
.how { background: var(--nero-2); }
.how-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.how-list li { padding: 28px 0 30px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 54px 1fr; column-gap: 12px; }
.how-list .num { grid-row: span 2; font-family: var(--serif); font-size: 30px; color: var(--oro); line-height: 1; }
.how-list h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.15; margin-bottom: 8px; }
.how-list p { color: var(--carta-2); font-size: 15.5px; max-width: 40ch; }

/* ── app ── */
.app { display: grid; gap: 40px; align-items: center; }
.btn.store { height: 58px; padding: 0 20px 0 16px; border-color: var(--line); background: rgba(242,235,224,.05); }
.btn.store:hover { border-color: var(--oro); }
.btn.store svg { width: 24px; height: 24px; fill: currentColor; }
.btn.store span { display: grid; line-height: 1.15; font-size: 16px; }
.btn.store small { font-size: 10.5px; font-weight: 500; color: var(--carta-3); letter-spacing: .04em; }
.btn.store:hover span { transform: none; }
.app-photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; }
.app-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ── footer ── */
footer { border-top: 1px solid var(--line); padding: 56px var(--pad) max(28px, env(safe-area-inset-bottom)); }
.foot-top { display: grid; gap: 36px; }
.foot-logo { width: 130px; opacity: .92; }
.legal { display: grid; gap: 24px; }
.legal li { display: grid; gap: 3px; font-size: 13.5px; color: var(--carta-2); }
.legal b { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--carta); margin-bottom: 4px; }
.legal a { color: var(--carta); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; justify-self: start; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--carta-3); }
.foot-bottom a { margin-left: 18px; }
.foot-bottom a:hover { color: var(--carta); }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.reveal.show { opacity: 1; transform: none; }
.how-list li.reveal:nth-child(2) { transition-delay: 90ms; } .how-list li.reveal:nth-child(3) { transition-delay: 180ms; }

/* ── tablet ── */
@media (min-width: 700px) {
  .slide { flex-basis: 46%; aspect-ratio: 4 / 5; }
  .ticker { grid-template-columns: repeat(3, 1fr); }
  .ticker li { border-bottom: 0; border-right: 1px solid var(--line); padding: 20px 20px 22px 0; flex-direction: column; gap: 4px; }
  .ticker li + li { padding-left: 22px; }
  .ticker li:last-child { border-right: 0; }
  .how-list { grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 0; }
  .how-list li { grid-template-columns: 1fr; border-bottom: 0; border-top: 1px solid var(--line); padding-top: 26px; }
  .how-list .num { grid-row: auto; margin-bottom: 26px; }
  .legal { grid-template-columns: repeat(3, 1fr); }
}

/* ── desktop ── */
@media (min-width: 1000px) {
  header { grid-template-columns: 1fr auto 1fr; height: 80px; }
  header nav { display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
  header nav a { position: relative; color: var(--carta-2); transition: color 200ms; }
  header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--oro); transition: right 300ms var(--soft); }
  header nav a:hover { color: var(--carta); } header nav a:hover::after { right: 0; }
  header .btn { justify-self: end; }
  .hero-copy { padding-bottom: 56px; }
  .stores-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: start; }
  .row .det, .row.on .det { display: none; }
  .row-btn { padding: 26px 0; }
  .store-panel { display: block; position: sticky; top: 110px; }
  .store-panel .det-map { aspect-ratio: 4 / 3; transform: rotate(var(--r, 0deg)); transition: transform 500ms var(--soft); box-shadow: inset 0 0 0 1px var(--line), 0 40px 70px -40px #000; }
  .store-panel .det-map.swap canvas, .store-panel .det-map.swap .pin { opacity: 0; transition-duration: 200ms; }
  .store-panel .fade { transition: opacity 220ms, transform 220ms; }
  .store-panel .fade.swap { opacity: 0; transform: translateY(5px); }
  .store-panel h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin-bottom: 14px; }
  .slide { flex-basis: 30%; aspect-ratio: 4 / 5; }
  .rail-btns { display: flex; }
  .app { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
  .foot-top { grid-template-columns: 220px 1fr; gap: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-split] .c { transform: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; }
  .m-track { height: auto; } .m-stage { position: relative; height: auto; padding: 120px var(--pad); }
}
