/* Layout: a night kitchen in black lacquer carries the 3D story; rice-paper sheets carry the menu and the map.
   Seal red marks every action. Condensed 1970s kung-fu poster type, brush calligraphy for Chinese, a book serif for reading. */
:root {
  --lacquer: #0e0907;
  --lacquer-2: #1a100c;
  --ember: #2c150e;
  --paper: #efe5d0;
  --paper-2: #e3d4b6;
  --ink: #1b1310;
  --ink-soft: rgba(27, 19, 16, 0.66);
  --mist: rgba(239, 229, 208, 0.72);
  --seal: #c8321f;
  --seal-deep: #8d1b10;
  --brass: #c9a052;
  --brass-line: rgba(201, 160, 82, 0.28);
  --jade: #4f7d6a;
  --display: "Big Shoulders Display", "Oswald", "Arial Narrow", Impact, "Noto Serif SC", sans-serif;
  --ui: "Big Shoulders Text", "Arial Narrow", "Helvetica Neue", "Noto Serif SC", sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, "Noto Serif SC", serif;
  --brush: "Ma Shan Zheng", "Noto Serif SC", "Songti SC", serif;
  --cn: "Noto Serif SC", "Songti SC", serif;
  --gutter: max(16px, 5vw);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--lacquer); color: var(--paper);
  font-family: var(--serif); font-size: 18px; line-height: 1.55; font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading, body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.skip { position: fixed; left: -999px; top: 12px; z-index: 400; background: var(--paper); color: var(--ink); padding: 10px 14px; }
.skip:focus { left: 16px; }

.kicker { font-family: var(--ui); font-weight: 700; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--brass); margin: 0 0 14px; }
.paper .kicker { color: var(--seal-deep); }
.title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(48px, 7.4vw, 118px); line-height: .86; letter-spacing: .005em; margin: 0 0 22px; text-wrap: balance; }
.title--m { font-size: clamp(38px, 4.6vw, 72px); }
/* line-reveal masks need headroom for Czech accents (ě, ř, Č) above condensed capitals */
.sl-mask { padding-top: .16em; margin-top: -.16em; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; max-width: 60ch; margin: 0; color: var(--mist); }
.paper .lede { color: var(--ink-soft); }

/* ---------- buttons, seals, chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 54px; padding: 0 28px; border-radius: 999px;
  font-family: var(--ui); font-weight: 700; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn--seal { background: var(--seal); color: #fff3e6; box-shadow: 0 16px 36px -16px rgba(200, 50, 31, .9), inset 0 0 0 1px rgba(255, 220, 190, .2); }
.btn--seal:hover { background: #dc3a24; }
.btn--ghost { border-color: rgba(239, 229, 208, .35); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(239, 229, 208, .07); }
.paper .btn--ghost, .cart .btn--ghost { border-color: rgba(27, 19, 16, .28); color: var(--ink); }
.paper .btn--ghost:hover, .cart .btn--ghost:hover { border-color: var(--ink); background: rgba(27, 19, 16, .05); }
.btn[disabled] { opacity: .45; pointer-events: none; }

.seal {
  display: inline-grid; place-items: center; background: var(--seal); color: #fbeee0; font-family: var(--brush); line-height: 1;
  writing-mode: vertical-rl; border-radius: 4px; position: relative; flex: none;
  box-shadow: inset 0 0 0 2px rgba(255, 236, 214, .32), inset 0 0 0 5px var(--seal);
}
.seal::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .5; mix-blend-mode: screen;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .85 0 0 0 9 -7'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23n)'/%3E%3C/svg%3E"); }
.seal--sm { width: 42px; height: 42px; font-size: 17px; }
.seal--md { width: 64px; height: 64px; font-size: 26px; }

.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--brass-line); transition: border-color .3s, background .3s; }
.icon-btn:hover { border-color: var(--brass); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px;
  font-family: var(--ui); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid rgba(27, 19, 16, .2); transition: background .25s, color .25s, border-color .25s;
}
.chip__cn { font-family: var(--brush); font-size: 18px; letter-spacing: 0; color: var(--seal); transition: color .25s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip[aria-pressed="true"] .chip__cn, .chip[aria-selected="true"] .chip__cn { color: #ff7a5e; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 300; display: grid; place-content: center; justify-items: center; gap: 28px; padding: 24px var(--gutter);
  background: radial-gradient(60% 55% at 50% 45%, #2b110b 0%, #0e0907 62%, #070504 100%); text-align: center; }
.loader__glyphs { display: flex; gap: .06em; font-family: var(--brush); font-size: clamp(120px, 22vw, 280px); line-height: .9; color: var(--seal); text-shadow: 0 0 60px rgba(200, 50, 31, .35); }
.loader__glyphs span { display: block; -webkit-mask-image: linear-gradient(170deg, #000 40%, transparent 60%); mask-image: linear-gradient(170deg, #000 40%, transparent 60%);
  -webkit-mask-size: 100% 300%; mask-size: 100% 300%; -webkit-mask-position: 0 100%; mask-position: 0 100%; }
.loader__row { display: flex; align-items: baseline; gap: 16px; }
.loader__count { font-family: var(--display); font-weight: 900; font-size: 44px; font-variant-numeric: tabular-nums; color: var(--paper); min-width: 2.2ch; }
.loader__label { font-family: var(--ui); font-weight: 700; letter-spacing: .28em; text-transform: uppercase; font-size: 13px; color: var(--brass); }
.loader__enter { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .6s, transform .6s var(--ease), visibility .6s; }
.loader.is-ready .loader__enter { opacity: 1; visibility: visible; transform: none; }
.loader__tip { margin: 0; font-style: italic; color: rgba(239, 229, 208, .5); font-size: 15px; }

/* ---------- cursor, stage, grain ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 350; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; }
.cursor__dot { width: 6px; height: 6px; background: #fff; }
.cursor__ring { width: 40px; height: 40px; border: 1px solid #fff; display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), background .35s; }
.cursor__label { font-family: var(--ui); font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; }
.cursor.is-hover .cursor__ring { width: 70px; height: 70px; background: rgba(255, 255, 255, .08); }
.cursor.is-label .cursor__ring { width: 86px; height: 86px; background: #fff; }
.cursor.is-label .cursor__label { opacity: 1; color: #000; }
@media (pointer: coarse), (prefers-reduced-motion: reduce) { .cursor { display: none; } }
.stage { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; transition: opacity .5s ease; }
.stage.is-dim { opacity: 0; }
.grain { position: fixed; inset: -50%; z-index: 250; pointer-events: none; opacity: .06; animation: grain 1s steps(5) infinite;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"); }
@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); } }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: calc(16px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) 16px max(20px, env(safe-area-inset-left, 0px));
  transition: transform .5s var(--ease), color .4s, background .4s; color: var(--paper); }
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-solid { background: linear-gradient(rgba(14, 9, 7, .85), rgba(14, 9, 7, 0)); }
.nav.on-paper { color: var(--ink); }
.nav.on-paper.is-solid { background: linear-gradient(rgba(239, 229, 208, .92), rgba(239, 229, 208, 0)); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__word { font-family: var(--display); font-weight: 900; font-size: 17px; line-height: .86; letter-spacing: .06em; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-family: var(--ui); font-weight: 700; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__tools { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1px solid var(--brass-line); border-radius: 999px; padding: 3px; }
.lang button { font-family: var(--ui); font-weight: 700; font-size: 12px; letter-spacing: .14em; padding: 6px 10px; border-radius: 999px; opacity: .6; transition: opacity .2s, background .2s; }
.lang button[aria-pressed="true"] { opacity: 1; background: rgba(201, 160, 82, .22); }
.on-paper .lang, .on-paper .icon-btn { border-color: rgba(27, 19, 16, .22); }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.bars i { width: 2px; height: 4px; background: currentColor; border-radius: 1px; transition: height .3s; }
.sound-btn[aria-pressed="true"] .bars i { animation: bar 1s ease-in-out infinite; }
.sound-btn[aria-pressed="true"] .bars i:nth-child(2) { animation-delay: -.3s; }
.sound-btn[aria-pressed="true"] .bars i:nth-child(3) { animation-delay: -.6s; }
.sound-btn[aria-pressed="true"] .bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes bar { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.cart-btn { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 8px 0 18px; border-radius: 999px; background: var(--seal); color: #fff3e6;
  font-family: var(--ui); font-weight: 700; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; }
.cart-btn__count { min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; background: #fff3e6; color: var(--seal-deep); display: grid; place-items: center; font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ---------- hero ---------- */
.hero { position: relative; height: 200vh; z-index: 1; }
.hero__inner { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.status { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ui); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin: 0; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7bc47f; box-shadow: 0 0 0 4px rgba(123, 196, 127, .18); }
.status.is-closed::before { background: var(--seal); box-shadow: 0 0 0 4px rgba(200, 50, 31, .2); }
.hero__status { position: absolute; top: calc(96px + env(safe-area-inset-top, 0px)); right: var(--gutter); color: var(--mist); }
.hero__vertical { position: absolute; right: var(--gutter); top: 30vh; margin: 0; writing-mode: vertical-rl; font-family: var(--brush); font-size: clamp(22px, 2vw, 30px); letter-spacing: .3em; color: var(--brass); opacity: .85; }
.hero__copy { position: absolute; left: var(--gutter); top: 24vh; width: min(430px, calc(100vw - 2 * var(--gutter))); }
.hero__lede { font-size: clamp(17px, 1.35vw, 20px); color: var(--mist); margin: 0 0 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__word { position: absolute; left: 0; right: 0; bottom: -0.06em; margin: 0; padding: 0 2vw; display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--display); font-weight: 900; font-size: 16.2vw; line-height: .78; letter-spacing: -.005em; color: var(--paper); pointer-events: none; }
.hw { display: block; }
.hw--2 { color: transparent; -webkit-text-stroke: 1.5px rgba(239, 229, 208, .75); }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 21vw; display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--ui); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--mist); }
.hero__scroll i { width: 1px; height: 54px; background: linear-gradient(var(--brass), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 3; background: var(--seal); color: #fff1e2; overflow: hidden; transform: rotate(-2deg) scale(1.04); margin: -40px 0 -30px; padding: 16px 0; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.marquee__track { display: flex; width: max-content; }
.marquee__item { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4vw, 54px); text-transform: uppercase; line-height: 1; white-space: nowrap; }
.marquee__item b { font-family: var(--brush); font-weight: 400; color: #ffd9a8; }

/* ---------- paper sections ---------- */
.paper { position: relative; z-index: 2; background: var(--paper); color: var(--ink); }
.paper::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55; mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .3 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23p)'/%3E%3C/svg%3E"); }
.paper > * { position: relative; }

/* ---------- menu ---------- */
.menu { padding: 160px var(--gutter) 120px; }
.menu__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: start; max-width: 1320px; margin: 0 auto 44px; }
.menu__vertical { writing-mode: vertical-rl; font-family: var(--brush); font-size: clamp(64px, 7vw, 108px); line-height: 1; color: var(--seal); margin: 0; }
/* one row at every width: categories slide sideways inside the pill, the two filters stay pinned on the right */
.menu__bar { position: sticky; top: calc(78px + env(safe-area-inset-top, 0px)); z-index: 10; display: flex; align-items: center;
  max-width: 1320px; margin: 0 auto 48px; padding: 6px; background: rgba(239, 229, 208, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(27, 19, 16, .12); border-radius: 999px; box-shadow: 0 10px 30px -18px rgba(27, 19, 16, .45); }
.menu__bar .chip { flex: none; white-space: nowrap; padding: 0 11px; gap: 7px; letter-spacing: .08em; }
.tabs { flex: 1 1 auto; min-width: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; border-radius: 999px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs.is-more { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); }
.tabs.is-more.is-scrolled { -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 56px), transparent); }
.tabs.is-end.is-scrolled { -webkit-mask-image: linear-gradient(to right, transparent, #000 40px); mask-image: linear-gradient(to right, transparent, #000 40px); }
.filters { flex: none; display: flex; gap: 6px; margin-left: 8px; padding-left: 10px; border-left: 1px solid rgba(27, 19, 16, .14); }
.tabs .chip { border-color: transparent; }
.tabs .chip[aria-pressed="true"] { border-color: var(--ink); }
.menu__grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 64px 36px; }
.dish { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dish__plate { position: relative; aspect-ratio: 1; max-width: 100%; cursor: pointer; border-radius: 50%; }
.dish__plate::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(200, 50, 31, .14), transparent 68%); opacity: 0; transform: scale(.8); transition: opacity .6s, transform .8s var(--ease); }
.dish:hover .dish__plate::before { opacity: 1; transform: scale(1.12); }
.dish__img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform 1s var(--ease), opacity .6s; opacity: 0; }
.dish__img.is-ready { opacity: 1; }
/* cut-out bowls and drinks stand on the paper with a real shadow; photos kept whole sit in a round window */
.dish__img--bowl, .dish__img--product { filter: drop-shadow(0 14px 18px rgba(60, 30, 15, .28)) drop-shadow(0 2px 3px rgba(60, 30, 15, .25)); }
.dish__img--frame { border-radius: 50%; object-fit: cover; box-shadow: 0 14px 30px -10px rgba(60, 30, 15, .45), inset 0 0 0 1px rgba(27, 19, 16, .08); }
.dish:hover .dish__img { transform: scale(1.03); }
/* the living photo takes over from the still one under the pointer */
.live { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dish__plate .live { pointer-events: auto; filter: drop-shadow(0 18px 22px rgba(60, 30, 15, .3)); }
.dish__plate.is-live .dish__img { opacity: 0; transition: opacity .2s; }
.dish__skeleton { position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(27, 19, 16, .08), rgba(27, 19, 16, .03) 70%); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.dish__stamp { position: absolute; top: 4%; left: 2%; width: 50px; height: 50px; font-size: 18px; transform: rotate(-8deg); }
.dish__meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; align-items: baseline; }
.dish__name { font-family: var(--display); font-weight: 900; font-size: 28px; line-height: .95; text-transform: uppercase; margin: 0; text-wrap: balance; }
.dish__price { font-family: var(--ui); font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dish__cn { grid-column: 1 / -1; font-family: var(--brush); font-size: 21px; color: var(--seal); margin: 4px 0 0; }
.dish__desc { font-size: 16px; line-height: 1.5; color: var(--ink-soft); margin: 4px 0 0; }
.dish__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-family: var(--ui); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid rgba(27, 19, 16, .2); }
.tag--vegan { color: var(--jade); border-color: rgba(79, 125, 106, .45); }
.tag--heat { color: var(--seal-deep); border-color: rgba(200, 50, 31, .35); }
.add { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 18px; border-radius: 999px; background: var(--ink); color: var(--paper);
  font-family: var(--ui); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; margin-left: auto; transition: background .3s, transform .3s var(--ease); }
.add__plus { width: 32px; height: 32px; border-radius: 50%; background: var(--seal); display: grid; place-items: center; font-family: var(--brush); font-size: 17px; letter-spacing: 0; color: #fff3e6; transition: transform .5s var(--ease); }
.add:hover { background: #2e221d; }
.add:hover .add__plus { transform: rotate(90deg); }
.dish--signature { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 40px; align-items: center; }
.dish--signature .dish__name { font-size: clamp(34px, 3.6vw, 52px); }
.menu__empty { text-align: center; color: var(--ink-soft); }
.menu__note { max-width: 1320px; margin: 64px auto 0; font-size: 15px; color: var(--ink-soft); }

/* ---------- story ---------- */
.story { position: relative; z-index: 2; padding: 170px var(--gutter) 150px; overflow: hidden;
  background: radial-gradient(80% 60% at 15% 20%, rgba(141, 27, 16, .28), transparent 60%), radial-gradient(70% 50% at 90% 80%, rgba(201, 160, 82, .1), transparent 60%), var(--lacquer); }
.story__intro { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7vw; align-items: center; max-width: 1320px; margin: 0 auto 160px; }
.story__glyph { margin: 0; display: flex; flex-direction: column; font-family: var(--brush); font-size: clamp(150px, 20vw, 320px); line-height: .9; color: var(--seal); text-shadow: 0 0 80px rgba(200, 50, 31, .25); }
.five { max-width: 1320px; margin: 0 auto 160px; }
.five__head { margin-bottom: 56px; }
.five__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.scroll-banner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 44px 18px 40px; text-align: center; color: var(--ink); min-height: 480px;
  background: linear-gradient(180deg, #f1e6cd, #e2d1ad); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(27, 19, 16, .08); }
.scroll-banner::before, .scroll-banner::after { content: ""; position: absolute; left: -10px; right: -10px; height: 14px; border-radius: 7px; background: linear-gradient(#5a2f1c, #2a140c); box-shadow: 0 4px 10px rgba(0, 0, 0, .4); }
.scroll-banner::before { top: -7px; } .scroll-banner::after { bottom: -7px; }
.sb__num { font-family: var(--brush); font-size: 22px; color: var(--seal); }
.sb__char { font-family: var(--brush); font-size: clamp(76px, 7vw, 120px); line-height: 1; color: var(--ink); }
.sb__char--outline { color: #fbf8f0; -webkit-text-stroke: 1.5px var(--ink); }
.sb__swatch { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35), 0 6px 14px -6px rgba(0, 0, 0, .5); }
.scroll-banner:nth-child(1) .sb__char { color: #5e7f88; }
.scroll-banner:nth-child(3) .sb__char { color: var(--seal); }
.scroll-banner:nth-child(4) .sb__char { color: #3f6e2e; }
.scroll-banner:nth-child(5) .sb__char { color: #c48a14; }
.scroll-banner strong { font-family: var(--display); font-weight: 900; font-size: 26px; text-transform: uppercase; line-height: 1; margin-top: 6px; }
.scroll-banner span:last-child { font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.customs { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.long__cn { font-family: var(--brush); font-weight: 400; color: var(--seal); text-transform: none; }
.long__noodle { width: 100%; height: 160px; margin-top: 30px; overflow: visible; }
.long__noodle path { fill: none; stroke: #efd29b; stroke-width: 7; stroke-linecap: round; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.etiquette { display: grid; gap: 14px; }
.etq { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 24px; border: 1px solid var(--brass-line); border-radius: 14px; background: rgba(26, 16, 12, .6); }
.etq__cn { font-family: var(--brush); font-size: 46px; line-height: 1; color: var(--brass); }
.etq h4 { font-family: var(--display); font-weight: 900; font-size: 26px; text-transform: uppercase; line-height: 1; margin: 2px 0 8px; }
.etq p { margin: 0; color: var(--mist); font-size: 16px; }

/* ---------- visit ---------- */
.visit { padding: 160px var(--gutter) 120px; }
.visit__head { max-width: 1320px; margin: 0 auto 56px; }
.visit__grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.map { margin: 0; color: var(--ink); }
.map svg { width: 100%; height: auto; display: block; background: #e8dcc2; border-radius: 16px; border: 1px solid rgba(27, 19, 16, .12); }
.map__river { fill: #9fb0aa; opacity: .55; }
.map__square { fill: url(#paperHatch); stroke: rgba(27, 19, 16, .35); stroke-width: 1.5; }
.map__streets path { fill: none; stroke: #fff8ea; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.map__market { fill: rgba(200, 50, 31, .18); stroke: rgba(200, 50, 31, .5); }
.map__label { font-family: var(--ui); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; fill: var(--ink); }
.map__label--small { font-size: 11px; fill: rgba(27, 19, 16, .7); }
.map__label--river { fill: #3d5a52; letter-spacing: .4em; }
.map__street { font-family: var(--serif); font-style: italic; font-size: 13px; fill: rgba(27, 19, 16, .62); }
.map__clock circle { fill: #f6efe0; stroke: var(--ink); stroke-width: 1.5; }
.map__clock path { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.map__pin rect { fill: var(--seal); }
.map__pin text { font-family: var(--brush); font-size: 18px; fill: #fff3e6; text-anchor: middle; }
.map__compass { fill: var(--ink); }
.map figcaption { margin-top: 10px; font-size: 14px; font-style: italic; color: var(--ink-soft); }
.branches { display: grid; gap: 18px; }
.branch { padding: 28px; border-radius: 16px; background: rgba(255, 252, 244, .55); border: 1px solid rgba(27, 19, 16, .12); display: grid; gap: 10px; }
.branch__top { display: flex; align-items: center; gap: 14px; }
.branch__name { font-family: var(--display); font-weight: 900; font-size: 40px; line-height: .9; text-transform: uppercase; margin: 0; }
.branch__cn { font-family: var(--brush); font-size: 18px; color: var(--seal); margin: 0; }
.branch__addr, .branch__note { margin: 0; color: var(--ink-soft); font-size: 16px; }
.branch__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.branch .status { color: var(--ink); }
.branch__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.branch__actions .btn { height: 44px; padding: 0 18px; font-size: 13px; }
.contact { max-width: 1320px; margin: 40px auto 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-family: var(--ui); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; }
.contact a { text-decoration: none; border-bottom: 1px solid rgba(27, 19, 16, .3); padding-bottom: 2px; }
.contact span { color: var(--ink-soft); margin-right: 8px; }
.visit__access { max-width: 1320px; margin: 18px auto 0; font-size: 15px; color: var(--ink-soft); }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 2; background: var(--lacquer); padding: 110px var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.footer__word { margin: 0 0 40px; font-family: var(--display); font-weight: 900; font-size: 15vw; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(239, 229, 208, .3); display: flex; align-items: center; justify-content: center; gap: .1em; white-space: nowrap; }
.footer__word span { font-family: var(--brush); font-weight: 400; font-size: .32em; -webkit-text-stroke: 0; color: var(--seal); writing-mode: vertical-rl; line-height: 1; }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; max-width: 1320px; margin: 0 auto; }
.footer__row p { margin: 0; flex: 1; min-width: 200px; color: var(--mist); }
.footer__top { font-family: var(--ui); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 13px; text-decoration: none; }
.footer__demo { max-width: 1320px; margin: 30px auto 0; font-size: 14px; color: rgba(239, 229, 208, .45); }

/* ---------- bowl builder ---------- */
.cz { position: fixed; inset: 0; z-index: 120; display: grid; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.cz__backdrop { position: absolute; inset: 0; background: rgba(8, 5, 4, .74); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cz__panel { position: relative; margin: auto; width: min(1260px, 100%); height: min(800px, 100%); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto;
  border-radius: 20px; overflow: hidden; border: 1px solid var(--brass-line);
  background: radial-gradient(70% 70% at 30% 45%, #3a1a10 0%, #160c08 65%, #0e0907 100%); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9); }
.cz__view { position: relative; grid-row: 1 / 3; min-height: 0; touch-action: pan-y; cursor: grab; }
.cz__view:active { cursor: grabbing; }
/* the bowl builder: the dish's photo, alive and spinnable */
.cz__view { container-type: size; }
.cz__view .live { position: absolute; inset: 0 0 40px; margin: auto; width: min(92cqw, calc(100cqh - 56px)); height: min(92cqw, calc(100cqh - 56px)); filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .5)); }
.cz__hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0; font-family: var(--ui); font-weight: 700; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: rgba(239, 229, 208, .55); pointer-events: none; white-space: nowrap; }
.cz__side { position: relative; overflow-y: auto; padding: 40px 34px 24px; border-left: 1px solid var(--brass-line); background: rgba(14, 9, 7, .55); overscroll-behavior: contain; }
.cz__close { position: absolute; top: 18px; right: 18px; }
.cz__cn { font-family: var(--brush); font-size: 26px; color: var(--seal); margin: 0; }
.cz__title { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 3vw, 48px); line-height: .9; text-transform: uppercase; margin: 6px 48px 12px 0; }
.cz__desc { color: var(--mist); font-size: 16px; margin: 0 0 26px; }
.opt { border: 0; margin: 0 0 24px; padding: 0; }
.opt legend { font-family: var(--ui); font-weight: 700; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--brass); margin-bottom: 10px; padding: 0; display: flex; gap: 10px; align-items: baseline; }
.opt legend small { font-family: var(--serif); font-style: italic; letter-spacing: 0; text-transform: none; font-size: 13px; color: rgba(239, 229, 208, .5); font-weight: 400; }
.opt__row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 14px; border-radius: 12px; border: 1px solid rgba(239, 229, 208, .2); background: rgba(239, 229, 208, .03);
  font-family: var(--ui); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); transition: background .25s, border-color .25s, color .25s; }
.pill:hover { border-color: rgba(239, 229, 208, .55); }
.pill__cn { font-family: var(--brush); font-size: 18px; letter-spacing: 0; color: var(--brass); }
.pill__price { font-variant-numeric: tabular-nums; color: rgba(239, 229, 208, .6); letter-spacing: .04em; }
.pill[aria-pressed="true"], .pill[aria-checked="true"] { background: var(--seal); border-color: var(--seal); color: #fff3e6; }
.pill[aria-pressed="true"] .pill__cn, .pill[aria-checked="true"] .pill__cn, .pill[aria-pressed="true"] .pill__price { color: #ffe1c6; }
.pill--off { text-decoration: line-through; opacity: .55; }
.pill__bar { width: 26px; height: var(--h); background: #efd29b; border-radius: 1px; }
.chilis { display: inline-flex; gap: 1px; color: #ff6b4a; font-size: 12px; }
.field { display: grid; gap: 8px; margin-top: 4px; }
.field__label { font-family: var(--ui); font-weight: 700; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
.field textarea, .field input, .field select { width: 100%; font: inherit; font-size: 16px; color: inherit; background: transparent; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; padding: 10px 2px; outline: none; resize: vertical; }
.cz .field textarea { border-color: rgba(239, 229, 208, .3); }
.field textarea:focus, .field input:focus, .field select:focus { border-color: var(--seal); }
.cz__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 34px; border-left: 1px solid var(--brass-line); border-top: 1px solid var(--brass-line); background: rgba(10, 6, 5, .75); }
.cz__add { flex: 1; justify-content: space-between; max-width: 340px; }
.cz__price { font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.stepper { display: inline-flex; align-items: center; border: 1px solid rgba(239, 229, 208, .25); border-radius: 999px; height: 48px; }
.stepper button { width: 44px; height: 100%; font-size: 20px; }
.stepper output { min-width: 26px; text-align: center; font-family: var(--ui); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- order drawer ---------- */
.cart { position: fixed; inset: 0; z-index: 130; }
.cart__backdrop { position: absolute; inset: 0; background: rgba(8, 5, 4, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cart__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(500px, 100%); background: var(--paper); color: var(--ink); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  padding: calc(22px + env(safe-area-inset-top, 0px)) max(26px, env(safe-area-inset-right, 0px)) calc(26px + env(safe-area-inset-bottom, 0px)) 26px; box-shadow: -40px 0 80px -40px rgba(0, 0, 0, .7); }
.cart__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.cart__head h2 { font-family: var(--display); font-weight: 900; font-size: 34px; text-transform: uppercase; line-height: 1; margin: 0; }
.cart__cn { font-family: var(--brush); font-weight: 400; color: var(--seal); }
.cart .icon-btn { border-color: rgba(27, 19, 16, .2); }
.cart__body { display: flex; flex-direction: column; gap: 18px; flex: 1; }
.cart__empty { display: grid; justify-items: start; gap: 18px; padding: 30px 0; color: var(--ink-soft); }
.line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding-bottom: 16px; border-bottom: 1px solid rgba(27, 19, 16, .12); }
.line__img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; }
.line__name { font-family: var(--display); font-weight: 900; font-size: 21px; line-height: 1; text-transform: uppercase; margin: 0 0 4px; }
.line__opts { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.45; }
.line__acts { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.line__acts .stepper { height: 36px; border-color: rgba(27, 19, 16, .22); }
.line__acts .stepper button { width: 34px; font-size: 17px; }
.linklike { font-family: var(--ui); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; color: var(--ink-soft); }
.line__price { font-family: var(--ui); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(27, 19, 16, .2); border-radius: 999px; padding: 4px; }
.seg button { height: 42px; border-radius: 999px; font-family: var(--ui); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; transition: background .25s, color .25s; }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.group { display: grid; gap: 10px; }
.group__label { font-family: var(--ui); font-weight: 700; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--seal-deep); }
.radio-cards { display: grid; gap: 8px; }
.radio-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: center; text-align: left; padding: 12px 14px; border: 1px solid rgba(27, 19, 16, .18); border-radius: 12px; transition: border-color .2s, background .2s; }
.radio-card::before { content: ""; grid-row: span 2; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(27, 19, 16, .45); }
.radio-card[aria-checked="true"] { border-color: var(--ink); background: rgba(255, 252, 244, .6); }
.radio-card[aria-checked="true"]::before { border: 5px solid var(--seal); }
.radio-card strong { font-family: var(--ui); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.radio-card span { font-size: 14px; color: var(--ink-soft); }
.cart .field input, .cart .field select { border-color: rgba(27, 19, 16, .3); }
.cart .field__label { color: var(--seal-deep); }
.field__err { color: var(--seal-deep); font-size: 14px; min-height: 0; }
.totals { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid rgba(27, 19, 16, .15); font-family: var(--ui); font-weight: 700; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .totals__sum { font-size: 22px; padding-top: 6px; }
.totals small { font-family: var(--serif); font-weight: 400; letter-spacing: 0; color: var(--ink-soft); font-size: 14px; }
.cart__cta { width: 100%; }
.done { display: grid; justify-items: center; text-align: center; gap: 16px; padding: 24px 0; }
.done__seal { width: 150px; height: 150px; font-size: 54px; writing-mode: horizontal-tb; border-radius: 10px; }
.done__code { font-family: var(--display); font-weight: 900; font-size: 46px; line-height: 1; margin: 0; letter-spacing: .04em; }
.done h3 { font-family: var(--display); font-weight: 900; font-size: 30px; text-transform: uppercase; margin: 0; }
.done p { margin: 0; color: var(--ink-soft); }
.steps { list-style: none; margin: 10px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; }
.steps li { display: grid; gap: 8px; justify-items: center; font-family: var(--ui); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.steps li::before { content: attr(data-cn); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(27, 19, 16, .25); font-family: var(--brush); font-size: 20px; letter-spacing: 0; transition: background .4s, color .4s, border-color .4s; }
.steps li.is-on { color: var(--ink); }
.steps li.is-on::before { background: var(--seal); border-color: var(--seal); color: #fff3e6; }
.done__demo { font-size: 14px; font-style: italic; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 200; transform: translate(-50%, 140%); opacity: 0;
  background: var(--ink); color: var(--paper); padding: 14px 22px; border-radius: 999px; font-family: var(--ui); font-weight: 700; letter-spacing: .1em; font-size: 14px;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); transition: transform .5s var(--ease), opacity .4s; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.fly { position: fixed; z-index: 220; pointer-events: none; border-radius: 50%; }
.noscript { padding: 120px 24px; text-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .five__list { gap: 10px; }
  .scroll-banner { padding: 40px 10px 34px; min-height: 420px; }
  .customs, .visit__grid { grid-template-columns: minmax(0, 1fr); }
  .dish--signature { grid-column: auto; display: flex; }
}
@media (max-width: 860px) {
  .five__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 210px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px 12px 24px; margin: 0 calc(-1 * var(--gutter)); }
  .scroll-banner { scroll-snap-align: center; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .brand__word { display: none; }
  .nav__tools { gap: 6px; }
  .lang button { padding: 6px 7px; }
  .icon-btn { width: 38px; height: 38px; }
  .cart-btn { padding: 0 5px 0 12px; gap: 8px; height: 40px; letter-spacing: .12em; }
  .hero__copy { top: auto; bottom: 25vw; }
  .hero__lede { display: none; }
  .hero__vertical { top: 20vh; }
  .hero__status { top: calc(76px + env(safe-area-inset-top, 0px)); left: var(--gutter); right: auto; }
  .hero__word { font-size: 17vw; }
  .hero__scroll { display: none; }
  .menu, .visit { padding-top: 120px; }
  .menu__head { grid-template-columns: minmax(0, 1fr); }
  .menu__vertical { writing-mode: horizontal-tb; font-size: 56px; }
  .menu__bar { top: calc(66px + env(safe-area-inset-top, 0px)); padding: 4px; }
  .menu__bar .chip { height: 36px; padding: 0 11px; font-size: 13px; letter-spacing: .06em; gap: 6px; }
  .menu__bar .chip__cn { font-size: 16px; }
  .filters { margin-left: 4px; padding-left: 6px; }
  .filters .chip > span:not(.chip__cn) { display: none; }
  .menu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .dish__name { font-size: 21px; }
  .dish__desc { display: none; }
  .dish__foot { flex-direction: column; align-items: stretch; }
  .add { justify-content: space-between; }
  .dish--signature { grid-column: 1 / -1; }
  .dish--signature .dish__desc { display: block; }
  .story__intro { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .story__glyph { flex-direction: row; font-size: 130px; }
  .cz { padding: 0; }
  .cz__panel { grid-template-columns: minmax(0, 1fr); grid-template-rows: 40vh minmax(0, 1fr) auto; height: 100%; border-radius: 0; }
  .cz__view { grid-row: auto; }
  .cz__side { border-left: 0; padding: 24px 18px; }
  .cz__close { position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; z-index: 3; background: rgba(14, 9, 7, .7); }
  .cz__bar { border-left: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .footer__word { font-size: 17vw; }
}
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .hero__scroll i { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- the journey: a handscroll painted in ink ---------- */
.journey { position: relative; z-index: 2; height: 640vh; --jh: min(70vh, 700px);
  background: radial-gradient(60% 50% at 20% 30%, rgba(141, 27, 16, .22), transparent 60%), radial-gradient(50% 40% at 80% 75%, rgba(201, 160, 82, .08), transparent 60%), var(--lacquer); }
.jy__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.jy__track { display: flex; align-items: center; padding-left: var(--gutter); will-change: transform; }
.jy__intro { flex: none; width: min(520px, 78vw); margin-right: 9vw; }
.jy__intro .lede { color: var(--mist); }
.jy__hint { margin: 30px 0 0; font-family: var(--ui); font-weight: 700; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--brass); }
.jy__hint span:last-child { display: inline-block; animation: jy-nudge 1.6s ease-in-out infinite; }
@keyframes jy-nudge { 50% { transform: translateX(8px); } }
/* lacquered wooden rollers with brass caps */
.jy__roller { position: relative; z-index: 3; flex: none; width: 30px; height: calc(var(--jh) + 70px); border-radius: 15px;
  background: linear-gradient(90deg, #1c0c07, #6b3a22 35%, #a0623c 50%, #6b3a22 65%, #1c0c07); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.jy__roller::before, .jy__roller::after { content: ""; position: absolute; left: -5px; right: -5px; height: 22px; border-radius: 6px; background: linear-gradient(90deg, #6d5223, #e0bd6e 50%, #6d5223); }
.jy__roller::before { top: -12px; } .jy__roller::after { bottom: -12px; }
.jy__roller--l { margin-right: -4px; }
.jy__roller--r { margin-left: -4px; }
.jy__end { flex: none; width: 12vw; }
/* the paper, mounted on brocade top and bottom */
.jy__paper { position: relative; flex: none; height: var(--jh); width: calc(var(--jh) * 80 / 9); overflow: hidden; color: var(--ink);
  background: radial-gradient(120% 90% at 50% 40%, #f4ead4, #e6d6b4); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85); }
.jy__paper::before, .jy__paper::after { content: ""; position: absolute; left: 0; right: 0; height: 5%; z-index: 4; pointer-events: none;
  background: repeating-linear-gradient(90deg, #6e1b12 0 18px, #8d2a1a 18px 20px, #6e1b12 20px 38px), #6e1b12; box-shadow: inset 0 -2px 0 rgba(201, 160, 82, .7), inset 0 2px 0 rgba(201, 160, 82, .7); }
.jy__paper::before { top: 0; } .jy__paper::after { bottom: 0; }
.jy__layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; will-change: transform; }
.jy__far { opacity: .95; }
.jy__scene { position: absolute; top: 5%; bottom: 5%; z-index: 3; pointer-events: none; }
.jy__brush { position: absolute; top: 7%; right: 7%; display: flex; flex-direction: column; font-family: var(--brush); font-size: calc(var(--jh) * .14); line-height: .95; color: var(--ink); }
.jy__brush span { display: block; opacity: 0; transform: translateY(14px) scale(1.06); filter: blur(4px); transition: opacity .9s, transform 1.1s var(--ease), filter .9s; }
.jy__brush .jy__seal { align-self: center; margin-top: calc(var(--jh) * .03); width: calc(var(--jh) * .085); height: calc(var(--jh) * .085); font-size: calc(var(--jh) * .03); font-weight: 400; line-height: 1.05; writing-mode: vertical-rl; opacity: 0; transform: scale(1.8) rotate(-14deg); transition: opacity .3s .7s, transform .5s .7s cubic-bezier(.3, 1.6, .5, 1); }
.jy__text { position: absolute; top: 8%; left: 5%; width: min(31%, 370px); padding: 20px 22px 22px; border-radius: 4px;
  background: rgba(244, 234, 212, .86); box-shadow: 0 0 40px 30px rgba(244, 234, 212, .7); opacity: 0; transform: translateY(18px); transition: opacity .8s .2s, transform 1s .2s var(--ease); }
.jy__num { margin: 0 0 6px; font-family: var(--brush); font-size: 30px; color: var(--seal); line-height: 1; }
.jy__text .kicker { color: var(--seal-deep); margin-bottom: 8px; }
.jy__title { margin: 0 0 12px; font-family: var(--display); font-weight: 900; font-size: clamp(24px, 2.4vw, 36px); line-height: 1; text-transform: uppercase; }
.jy__text p:last-child { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.jy__scene.is-on .jy__brush span { opacity: 1; transform: none; filter: none; }
.jy__scene.is-on .jy__brush span:nth-child(2) { transition-delay: .25s; } .jy__scene.is-on .jy__brush span:nth-child(3) { transition-delay: .5s; }
.jy__scene.is-on .jy__seal { opacity: 1; transform: rotate(-4deg); }
.jy__scene.is-on .jy__text { opacity: 1; transform: none; }
.jy__dots { position: absolute; left: 50%; bottom: 4vh; transform: translateX(-50%); display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; z-index: 5; }
.jy__dots li { display: grid; justify-items: center; gap: 4px; font-family: var(--brush); color: rgba(239, 229, 208, .35); transition: color .4s; }
.jy__dots span { font-size: 22px; } .jy__dots em { font-style: normal; font-size: 13px; letter-spacing: .1em; }
.jy__dots li.is-on { color: var(--seal); }
/* life in the painting */
.jw-spin { animation: jw-spin 26s linear infinite; }
@keyframes jw-spin { to { transform: rotate(360deg); } }
.jw-bob { animation: jw-bob 1.4s ease-in-out infinite alternate; }
@keyframes jw-bob { to { transform: translateY(-5px); } }
.jw-steam { stroke-dasharray: 70 260; animation: jw-steam 3.4s linear infinite; }
@keyframes jw-steam { from { stroke-dashoffset: 330; opacity: 0; } 30% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 0; } }
.jw-lantern { animation: jw-swing 3.2s ease-in-out infinite alternate; }
@keyframes jw-swing { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
.jw-sway { animation: jw-sway 2.2s ease-in-out infinite alternate; }
@keyframes jw-sway { to { transform: translateY(10px); } }
.mist { animation: jw-drift 24s ease-in-out infinite alternate; }
@keyframes jw-drift { to { transform: translateX(120px); } }
.jy__caption { display: none; }
/* small or short screens: a smaller scroll, the story told underneath it */
@media (max-width: 760px), (max-height: 640px) {
  .journey { --jh: min(48vh, 400px); }
  .jy__sticky { align-items: flex-start; padding-top: max(76px, 9vh); }
  .jy__text { display: none; }
  .jy__intro .lede { font-size: 15px; }
  .jy__caption { display: block; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(max(76px, 9vh) + var(--jh) + 50px); max-width: 680px; z-index: 5; color: var(--paper); }
  .jy__caption .jy__num { display: none; }
  .jy__caption .kicker { margin-bottom: 6px; }
  .jy__caption .jy__title { color: var(--paper); font-size: clamp(20px, 5vw, 30px); margin-bottom: 8px; }
  .jy__caption p:last-child { margin: 0; font-size: 14px; line-height: 1.5; color: var(--mist); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
  .jy__dots { bottom: 2vh; }
}
@media (max-height: 520px) { .jy__caption p:last-child { -webkit-line-clamp: 2; } .jy__dots { display: none; } }
@media (max-width: 760px) {
  .journey { height: 760vh; }
  .jy__intro { width: 82vw; margin-right: 12vw; }
  .jy__text { width: min(70%, 320px); left: 5%; padding: 14px 16px 16px; }
  .jy__text p:last-child { font-size: 14px; }
  .jy__brush { font-size: calc(var(--jh) * .1); }
  .jy__dots { gap: 14px; } .jy__dots em { display: none; }
}

/* ---------- the almanac ---------- */
.almanac { max-width: 1320px; margin: 160px auto 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 48px; align-items: center;
  padding: 48px 56px; border: 1px solid var(--brass-line); border-radius: 18px; background: linear-gradient(135deg, rgba(141, 27, 16, .22), rgba(26, 16, 12, .6)); }
.almanac__term { margin: 0; font-family: var(--brush); font-size: clamp(90px, 10vw, 150px); line-height: .9; color: var(--brass); writing-mode: vertical-rl; text-shadow: 0 0 60px rgba(201, 160, 82, .25); }
.almanac__body .lede { color: var(--mist); margin-bottom: 14px; }
.almanac__meta { margin: 0; font-family: var(--ui); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.almanac__year { display: grid; justify-items: center; gap: 12px; text-align: center; }
.almanac__year p { margin: 0; font-family: var(--ui); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--mist); max-width: 150px; }
@media (max-width: 860px) {
  .almanac { grid-template-columns: auto minmax(0, 1fr); padding: 32px 26px; gap: 26px; }
  .almanac__year { grid-column: 1 / -1; grid-template-columns: auto 1fr; justify-items: start; text-align: left; }
}

/* ink blooming into the paper where you click */
.ink { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 140; }

@media (prefers-reduced-motion: reduce) {
  .jw-spin, .jw-bob, .jw-steam, .jw-lantern, .jw-sway, .mist, .jy__hint span:last-child { animation: none; }
}
