/* LAN 嵐 Toulouse — v2 « porcelaine, indigo, broderie ».
   Colours from her own menu (LAN-转曲.pdf) and logo. Each home section is one object with one interaction.
   No inline styles (CSP); JS only sets custom properties through the CSSOM. */
@font-face { font-family: "Young Serif"; src: url("../fonts/YoungSerif-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url("../fonts/CrimsonPro-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url("../fonts/CrimsonPro-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url("../fonts/CrimsonPro-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* brush: Ma Shan Zheng (OFL) with her own 嵐 from the logo, cut down by build.py to the characters the site uses.
   Chinese only (unicode-range), so French and English keep their serif; one weight declared for all, so no fake bold */
@font-face { font-family: "LAN Brush"; src: url("../fonts/MaShanZheng-LAN.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+3000-303F, U+3400-9FFF, U+FF00-FFEF; }

:root {
  --paper: #F3F4E6; --paper-2: #E9ECD8; --glaze: #FBFBF4; --white: #FFFFFC;
  --blue: #2E3092; --blue-ink: #1E2070; --blue-mid: #4B5BB0; --wash: #E3E7F3;
  --indigo: #121A40; --indigo-2: #1C2658;
  --line: rgba(46, 48, 146, .28); --line-2: rgba(46, 48, 146, .55);
  --red: #A31D1C; --red-2: #C9373A; --hot: #E0262D; --cold: #1676BC; --vegan: #56661F;
  --cjk-serif: "Songti SC", "STSong", "Noto Serif SC", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  --cjk-kai: "LAN Brush", "Kaiti SC", "STKaiti", "KaiTi", "BiauKai", "Songti SC", "Noto Serif SC", serif;
  --f-display: "Young Serif", "LAN Brush", var(--cjk-serif), Georgia, serif;   /* Chinese in display text is brushed */
  --f-text: "Crimson Pro", var(--cjk-serif), Georgia, serif;
  --wrap: 1200px; --r: 14px; --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; background: var(--paper) url("../svg/anhua.svg?v=adbf56c3ba") 0 0 / 280px 280px repeat; color: var(--blue-ink); font: 400 1.1875rem/1.6 var(--f-text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
p { text-wrap: pretty; }   /* no single word left alone on a paragraph's last line (11-11 review) */
/* 11-11: the page must never be wider than the screen. body's overflow-x: clip above does not do it (the body's value
   is handed to the viewport, so body itself does not clip): the turntable plate, the composer's tray rim and the menu's
   fan of cups made a 390 px phone lay the page out at ~444 px and zoom out. main clips instead; fixed things (the
   thread index) are not inside its containing block and stay put, sticky ones still work (clip is not a scroller). */
main { overflow-x: clip; }
html:lang(zh-Hans) body { font-size: 1.0625rem; line-height: 1.85; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; color: var(--blue); line-height: 1.1; margin: 0; text-wrap: balance; }
html:lang(zh-Hans) :is(h1, h2, h3) { font-family: var(--f-display); font-weight: 400; letter-spacing: .05em; }
p { margin: 0 0 .8em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.vh, .sprite { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.ic { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; vertical-align: -.15em; }
.ic-lg { width: 34px; height: 34px; color: var(--blue); }
.todo:empty { display: none; }
.band { height: 28px; background: url("../svg/band.svg?v=fac376aac9") repeat-x left center / auto 28px; opacity: .9; }
.band-cream { background-image: url("../svg/band-cream.svg?v=9b882caf55"); opacity: .55; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(243, 244, 230, .9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(30, 32, 112, .45); }
.bar { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-glyph { width: 46px; height: auto; }   /* the brush 嵐 (the badge doubled the hero plate, 2026-11-10); the badge is on the card */
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-lan { font: 400 1.55rem/1 var(--f-display); letter-spacing: .16em; color: var(--blue); }
.brand-city { font: 700 .7rem/1.5 var(--f-text); letter-spacing: .34em; text-transform: uppercase; color: var(--blue); opacity: .8; }
.nav-m { display: none; }
.nav-m > summary { list-style: none; }
.nav-m > summary::-webkit-details-marker { display: none; }
.nav-list { display: flex; gap: 4px; }
.nav-list a { display: block; padding: 8px 15px; border-radius: 999px; text-decoration: none; font: 700 1rem/1.2 var(--f-text); letter-spacing: .02em; }
.nav-list a:hover { background: var(--wash); }
.nav-list a[aria-current="page"] { background: var(--blue); color: var(--paper); }
.langs a::after { content: ""; position: absolute; inset: -9px -2px; }   /* a finger-sized target, the pill unchanged */
.langs { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langs a { position: relative; display: block; min-width: 38px; text-align: center; padding: 4px 8px; border-radius: 999px; font: 700 .8rem/1.2 var(--f-text); text-decoration: none; letter-spacing: .06em; }
.langs a[aria-current="true"] { background: var(--blue); color: var(--paper); }

/* ---------- shared ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; min-height: 50px; padding: .6em 1.5em; border: 1.5px solid var(--blue); border-radius: 999px; font: 700 1.03rem/1.1 var(--f-text); letter-spacing: .02em; color: var(--blue); text-decoration: none; background: transparent; cursor: pointer; transition: .25s var(--ease); }
.btn:hover { background: var(--wash); transform: translateY(-1px); }
.btn-solid { background: var(--blue); color: var(--paper); box-shadow: 0 10px 22px -12px rgba(30, 32, 112, .8); }
.btn-solid:hover { background: var(--blue-ink); }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--blue); }
.kicker, .lbl { font: 700 .8rem/1.4 var(--f-text); letter-spacing: .3em; text-transform: uppercase; color: var(--blue); }
.obj { position: relative; display: inline-flex; align-items: center; gap: .55em; margin: 0 0 1.1em; padding: 6px 14px 5px 11px; border: 1px solid currentColor; border-radius: 999px; color: var(--red); font: 700 .74rem/1.2 var(--f-text); letter-spacing: .2em; text-transform: uppercase; background: rgba(255, 255, 252, .6); }
html:lang(zh-Hans) .obj { letter-spacing: .3em; font-size: .9rem; font-family: var(--cjk-kai); font-weight: 400; }
.obj .ic { width: .95em; height: .95em; }
.obj-light { color: #F6D9CF; background: rgba(18, 26, 64, .35); }
.lead { font-size: clamp(1.18rem, 1.08rem + .45vw, 1.42rem); line-height: 1.5; }
.pill { display: inline-block; margin: 0 0 .5em; padding: 2px 12px; border-radius: 999px; background: var(--red); color: #fff; font: 700 .76rem/1.6 var(--f-text); letter-spacing: .12em; text-transform: uppercase; }
.sec { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.head { max-width: 780px; margin-bottom: clamp(30px, 4vw, 52px); }
.head h2 { font-size: clamp(2.3rem, 1.5rem + 3vw, 3.8rem); margin-bottom: .3em; }
.head-lead { font-size: clamp(1.1rem, 1.02rem + .35vw, 1.3rem); max-width: 640px; }
/* her own words on the drinks (11-11, « 初心 »): a red chop, the sentence beside it */
.credo { display: flex; align-items: flex-start; gap: 16px; max-width: 700px; margin: .2em 0 1em; }
.credo-seal { flex: none; writing-mode: vertical-rl; padding: 8px 6px; font-size: 1rem; letter-spacing: .12em; margin-top: .25em; }
.credo-t { font: italic 400 clamp(1.28rem, 1.1rem + .7vw, 1.65rem)/1.45 var(--f-text); color: var(--blue); text-wrap: pretty; }
html:lang(zh-Hans) .credo-t { font-style: normal; font-family: var(--cjk-kai); letter-spacing: .04em; line-height: 1.6; }
.dots { display: inline-flex; gap: 3px; vertical-align: .05em; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.dot-hot { background: var(--hot); }
.dot-cold { background: var(--cold); }
.badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; z-index: 2; }
.badge { display: inline-block; padding: 1px 8px; border-radius: 5px; font: 700 .7rem/1.5 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.badge-top { background: var(--red); font-style: italic; }
.badge-vegan { background: var(--vegan); border-radius: 999px; }
.price { font-weight: 700; color: var(--blue); white-space: nowrap; }
.seal { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; background: var(--red); color: #FBEFE6; font: 700 1rem/1 var(--cjk-serif); border-radius: 7px; padding: 6px; box-shadow: inset 0 0 0 2px rgba(255, 240, 230, .35); }
.can-reveal [data-reveal] { opacity: 0; translate: 0 26px; transition: opacity .8s var(--ease) var(--d, 0ms), translate .8s var(--ease) var(--d, 0ms); }
.can-reveal [data-reveal].in { opacity: 1; translate: 0 0; }

/* ---------- N° 1 · hero: her badge at room scale — the plate in the middle, her tagline on a turning ring,
   a hanging scroll on the left, her drink and the museum label on the right (no "text left, picture right") ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse 52% 62% at 50% 52%, var(--white) 0%, var(--paper) 70%); }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: clamp(12px, 2.4vw, 40px); min-height: min(calc(100vh - 70px), 940px); padding: 12px 0 30px; }
.hero-kicker { grid-column: 1 / -1; grid-row: 1; margin: 4px 0 0; text-align: center; }
.hero-stage { grid-column: 2; grid-row: 2; align-self: center; position: relative; width: min(500px, 52vh, 40vw); aspect-ratio: 1; margin: clamp(46px, 7vh, 72px) clamp(40px, 5vw, 70px) clamp(40px, 6vh, 60px); }
.plate-ring { position: absolute; left: -10.6%; top: -10.6%; width: 121.2%; height: 121.2%; overflow: visible; pointer-events: none; }
.ring-line { fill: none; stroke: var(--blue); stroke-width: 1.4; }
.ring-thin { stroke-width: .7; opacity: .55; }
/* the ring turns as a whole <svg> box on its own GPU layer (a <g> inside the svg was repainted every frame, forever —
   « 手机端很卡 », 2026-11-10); never paused under the pointer, only while the hero is off screen (site.js: .ring-off) */
.plate-ring { animation: ring 60s linear infinite; will-change: transform; }
.ring-off .plate-ring { animation-play-state: paused; }
@keyframes ring { to { transform: rotate(360deg); } }
.ring-text { font: 400 25px/1 var(--f-display); fill: var(--blue); letter-spacing: .08em; }
.plate-wrap { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; border-radius: 50%; outline: none; }
.plate-wrap:focus-visible { outline: 1.5px dashed var(--red); outline-offset: 6px; }
.plate-wrap.dragging { cursor: grabbing; }
.plate-shadow { position: absolute; inset: 8% 6% 2% 9%; border-radius: 50%; background: rgba(30, 32, 90, .28); filter: blur(26px); translate: 16px 24px; }
.plate-spin, .plate-gloss { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plate-spin { transform: rotate(calc(var(--rot, 0deg) + var(--hx, 0) * 150deg)); will-change: transform; }
.js .hero-stage { animation: plate-in 1.4s var(--ease) both; }
@keyframes plate-in { from { opacity: 0; scale: .92; rotate: -20deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
.plate-gloss { pointer-events: none; }
.plate-spin .hit { fill: transparent; transition: fill .25s; }
.plate-spin .hit:hover { fill: rgba(46, 48, 146, .07); }
.plate-spin .lot-hit { fill: transparent; cursor: url("../svg/brush.svg?v=58acdce6cf") 3 29, pointer; }
.plate-spin .lot-hit:hover { fill: rgba(62, 99, 182, .12); }
.pl-ink { transition: opacity 1.1s ease; }
.pl-ink.off { opacity: 0; }
.pl-ink.on { opacity: 1; }
.ripple { transform-box: fill-box; transform-origin: center; pointer-events: none; animation: ripple .95s ease-out forwards; }
@keyframes ripple { from { transform: scale(.25); opacity: .55; } to { transform: scale(2.6); opacity: 0; } }
/* left: a hanging scroll (条幅) with her tagline in Chinese. Same grid row as the museum label, both centred on the plate
   (it used to span the words' row too and hung ~100 px below the label — « 感觉没有对齐 », 2026-11-10). The seal is stamped
   on the paper under the text, so the bottom rod holds the paper like a real scroll. */
.hero-scroll { grid-column: 1; grid-row: 2; justify-self: start; align-self: center; position: relative; display: flex; flex-direction: column; align-items: center; margin-left: clamp(0px, 3vw, 60px); padding: 0; }
.scroll-rod { width: 76px; height: 9px; border-radius: 5px; background: linear-gradient(var(--blue-mid), var(--blue-ink)); box-shadow: 0 3px 6px -2px rgba(30, 32, 90, .4); }
.scroll-text { display: flex; gap: .55em; margin: 0; padding: 20px 15px 80px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), inset 0 0 0 5px var(--white), inset 0 0 0 6px var(--line); writing-mode: vertical-rl; font: 400 clamp(1.1rem, 3.1vh, 1.55rem)/1 var(--cjk-kai); letter-spacing: .3em; color: var(--blue-ink); }   /* smaller on short screens: never taller than the plate's row */
.scroll-seal { position: absolute; left: 50%; bottom: 25px; translate: -50% 0; margin: 0; padding: 7px 5px; border-radius: 5px; background: var(--red); color: #FBEFE6; writing-mode: vertical-rl; font: 700 .82rem/1 var(--cjk-serif); letter-spacing: .3em; rotate: -3deg; z-index: 1; }
/* bottom left: the words; right: her drink and the museum label */
.hero-copy { grid-column: 2; grid-row: 3; justify-self: center; max-width: 560px; text-align: center; }
.hero-copy .cta { justify-content: center; }
.hero-tr { margin: 0 0 .6em; font: italic 400 1.15rem/1.35 var(--f-text); color: var(--blue-mid); }
.hero .lead { font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); margin-inline: auto; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 1.2em 0 .9em; }
.opening { display: inline-flex; align-items: center; gap: .5em; font-style: italic; color: var(--blue); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.museum { grid-column: 3; grid-row: 2; justify-self: end; align-self: center; position: relative; z-index: 4; width: min(318px, 100%); margin-right: clamp(0px, 3vw, 60px); padding: 14px 18px 14px; background: rgba(255, 255, 252, .94); border: 1px solid var(--line-2); border-radius: 4px; box-shadow: 0 18px 40px -26px rgba(30, 32, 112, .6), inset 0 0 0 4px var(--white), inset 0 0 0 5px var(--line); font-size: .95rem; line-height: 1.4; }
.museum::before { content: ""; position: absolute; right: 100%; top: 50%; width: clamp(24px, 3vw, 54px); border-top: 1.5px dashed var(--line-2); }
.museum::after { content: ""; position: absolute; right: calc(100% + clamp(24px, 3vw, 54px)); top: calc(50% - 3px); width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.mu-head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 .2em; }
.mu-no { font: italic 400 .95rem/1 var(--f-text); color: var(--red); }
.mu-seal { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 5px; background: var(--red); color: #FBEFE6; font: 700 .9rem/1 var(--cjk-serif); rotate: -4deg; }
.mu-title { margin: 0 0 .15em; font: 400 1.2rem/1.2 var(--f-display); color: var(--blue); }
.mu-sub { margin: 0; font-size: .82rem; letter-spacing: .02em; opacity: .75; }
.mu-cap { min-height: 4.2em; margin: .6em 0 .5em; padding-top: .55em; border-top: 1px dashed var(--line-2); font-style: italic; }
.mu-count { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .82rem; white-space: nowrap; }
.mu-dots i { flex: none; }
.mu-dots { display: inline-flex; gap: 3px; }
.mu-dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.4px solid var(--blue); transition: background .4s; }
.mu-dots i.on { background: var(--blue); }
.mu-done { margin: .5em 0 0; font-size: .9rem; color: var(--red); }
.skyline { position: absolute; left: 0; right: 0; bottom: -2px; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; pointer-events: none; opacity: .17; -webkit-mask-image: linear-gradient(to top, #000 20%, transparent 70%); mask-image: linear-gradient(to top, #000 20%, transparent 70%); }
.sky { width: 40%; }

/* ribbon of drink families, on indigo cloth */
.ribbon { position: relative; overflow: hidden; color: var(--glaze); background: var(--indigo) url("../img/art/tiedye-1000.webp?v=83f0bd7872") center / cover; border-block: 2px solid var(--indigo); }
.ribbon::before { content: ""; position: absolute; inset: 0; background: rgba(14, 20, 56, .55); }
.ribbon-track { position: relative; display: flex; align-items: center; gap: 22px; width: max-content; padding: 18px 0; animation: marquee 48s linear infinite; font: 400 clamp(1.15rem, 1rem + .6vw, 1.55rem)/1 var(--f-display); white-space: nowrap; }
.ribbon-track .r-zh { font: 400 1em/1 var(--cjk-kai); opacity: .8; letter-spacing: .1em; }
.ribbon-track .ic { width: .9em; height: .9em; color: #F1B9A9; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- N° 2 · the curio cabinet (多宝格): each drink on a porcelain stand, its tag hanging below — never over the cup ---------- */
.shelf { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 330px; gap: 3px; padding: 3px; background: var(--blue); border-radius: 6px; box-shadow: 0 0 0 7px var(--glaze), 0 0 0 8px var(--line-2), 0 40px 80px -50px rgba(30, 32, 112, .6); }
.cell { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 16px 12px 14px; background: var(--glaze); box-shadow: inset 0 0 0 6px var(--glaze), inset 0 0 0 7px var(--line); overflow: hidden; }
.cell:nth-child(even) { background: #F6F7EC; }
.cell-1 { grid-column: 1; grid-row: 1 / span 2; }
.cell-2 { grid-column: 2; grid-row: 1; }
.cell-3 { grid-column: 3 / span 2; grid-row: 1; }
.cell-4 { grid-column: 2; grid-row: 2; }
.cell-5 { grid-column: 3; grid-row: 2; }
.cell-6 { grid-column: 4; grid-row: 2; }
.cell-7 { grid-column: 1 / span 2; grid-row: 3; }
.cell-8 { grid-column: 3; grid-row: 3; }
.cell-9 { grid-column: 4; grid-row: 3; }
.cell-cup { position: relative; z-index: 1; flex: 1; min-height: 0; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.cell-cup::before { content: ""; position: absolute; left: 50%; bottom: 0; width: min(78%, 220px); aspect-ratio: 1; translate: -50% 4%; border-radius: 50%; border: 1px solid var(--line); background: radial-gradient(circle, rgba(227, 231, 243, .6), transparent 70%); }
/* the tall cell's arch must hold the whole cup (11-11, « 后面的拱门设计要比饮品大吧 »): the cup used to fill the cell's
   height and came out wider than the arch; now the arch is the wide one and the cup is capped inside it */
.cell-1 .cell-cup::before { width: 92%; aspect-ratio: .58; max-height: 100%; border-radius: 999px 999px 0 0; border-width: 1.5px; }
.cell-1 .cell-cup img { max-width: 76%; height: auto; }
.cell-cup img { position: relative; max-height: 100%; width: auto; transition: translate .5s var(--ease), rotate .5s var(--ease); filter: drop-shadow(0 14px 12px rgba(30, 32, 90, .2)); }
.cell:hover .cell-cup img { translate: 0 -10px; rotate: -2deg; }
.plinth { position: relative; z-index: 0; flex: none; width: min(62%, 190px); height: 22px; margin-top: -14px; border-radius: 50%; background: radial-gradient(ellipse at 50% 35%, var(--white) 0 42%, #E7E9DA 72%); box-shadow: inset 0 0 0 1.5px var(--line-2), inset 0 0 0 4px var(--glaze), inset 0 0 0 5px var(--line), 0 8px 12px -6px rgba(30, 32, 90, .3); }
.hang { position: relative; z-index: 3; flex: none; display: flex; flex-direction: column; align-items: center; margin-top: 2px; padding: 0; border: 0; background: none; cursor: pointer; transform-origin: 50% 0; perspective: 700px; }
.cell:hover .hang { animation: swing 1.4s var(--ease); }
@keyframes swing { 0% { rotate: 0deg; } 25% { rotate: 6deg; } 55% { rotate: -3.5deg; } 80% { rotate: 1.2deg; } 100% { rotate: 0deg; } }
.hang-string { width: 1.5px; height: 12px; background: var(--red); }
.hang-card { position: relative; display: grid; min-width: 168px; max-width: 230px; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.hang[aria-pressed="true"] .hang-card { transform: rotateY(180deg); }
.hang-face { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 9px 12px 8px; backface-visibility: hidden; background: var(--white); border: 1px solid var(--line-2); border-radius: 8px; box-shadow: 0 10px 18px -12px rgba(30, 32, 90, .55); text-align: center; }
.hang-back { transform: rotateY(180deg); background: var(--blue); color: var(--glaze); border-color: var(--blue); }
.hang-no { position: absolute; top: 6px; left: 9px; font: italic 400 .8rem/1 var(--f-text); color: var(--red); }
.hang-name { font: 400 .95rem/1.2 var(--f-display); color: var(--blue); padding: 0 12px; }
html:lang(zh-Hans) .hang-name { font: 400 1.08rem/1.3 var(--f-display); }
.hang-price { display: flex; align-items: center; gap: 6px; font: 700 .92rem/1 var(--f-text); color: var(--blue); }
.hang-alt { font: 400 1.12rem/1.3 var(--cjk-kai); letter-spacing: .06em; }
.hang-alt:lang(fr) { font: 400 .95rem/1.2 var(--f-display); letter-spacing: 0; }
.hang-temps { font-size: .86rem; opacity: .85; }
/* wide cells: the drink on the left, its tag beside it */
.cell-3, .cell-7 { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; align-items: end; justify-items: center; }
.cell-3 .cell-cup, .cell-7 .cell-cup { grid-column: 1; grid-row: 1; height: 100%; }
.cell-3 .plinth, .cell-7 .plinth { grid-column: 1; grid-row: 2; }
.cell-3 .hang, .cell-7 .hang { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.cell-3 .hang-string, .cell-7 .hang-string { display: none; }

/* ---------- N° 3 · the tea tray (composer) ---------- */
/* the gradient lets the 暗花 through at the top and darkens a little towards the indigo below (was paper → #EEF0E0) */
.composer { background: linear-gradient(rgba(238, 240, 224, 0), rgba(238, 240, 224, .92)); }
.comp { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.comp-stage { position: sticky; top: 100px; }
.tray { position: relative; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 44% 38%, var(--white), #EEF0E3 72%); box-shadow: inset 0 0 0 12px var(--glaze), inset 0 0 0 14px var(--blue), inset 0 0 0 19px var(--glaze), inset 0 0 0 20px var(--line-2), 0 40px 70px -34px rgba(30, 32, 112, .55); }
.tray-rim { position: absolute; inset: 0; width: 100%; height: 100%; }
.comp-cup { position: absolute; left: 50%; top: 50%; height: 60%; translate: -50% -52%; display: flex; align-items: flex-end; justify-content: center; transition: height .45s var(--ease), translate .45s var(--ease); }   /* centred on the tray (11-10) */
.tray:has(.comp-dishes li) .comp-cup { height: 55%; translate: -50% -60%; }   /* toppings on the tray: the cup steps back a little so the dishes do not cover its pearls */
.comp-img { height: 100%; width: auto; filter: drop-shadow(0 22px 20px rgba(30, 32, 90, .3)); }
.comp-img.pop { animation: drop .6s var(--ease); }
@keyframes drop { from { opacity: 0; translate: 0 -26px; scale: .94; } to { opacity: 1; translate: 0 0; scale: 1; } }
.comp-dishes { position: absolute; left: 50%; bottom: 8%; translate: -50% 0; z-index: 1; display: flex; gap: 8px; }
.comp-dishes li { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 45% 40%, var(--white), #ECEEDF); box-shadow: inset 0 0 0 1.5px var(--line-2), inset 0 0 0 4px var(--white), 0 6px 10px -5px rgba(30, 32, 90, .4); animation: dish .45s var(--ease); }
.comp-dishes img { width: 34px; height: 34px; object-fit: contain; }
@keyframes dish { from { scale: .2; opacity: 0; } to { scale: 1; opacity: 1; } }
.comp-steam { position: absolute; left: 50%; top: 6%; width: 60px; height: 70px; translate: -50% 0; opacity: 0; transition: opacity .4s; }
.comp-steam.on { opacity: 1; }
.comp-steam::before, .comp-steam::after { content: ""; position: absolute; bottom: 0; width: 14px; height: 56px; border-left: 2px solid rgba(46, 48, 146, .35); border-radius: 50%; animation: steam 2.4s ease-in-out infinite; }
.comp-steam::before { left: 14px; }
.comp-steam::after { left: 34px; animation-delay: -1.2s; }
@keyframes steam { 0% { translate: 0 10px; opacity: 0; } 40% { opacity: 1; } 100% { translate: 4px -16px; opacity: 0; } }
.comp-panel { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.step { margin: 0; padding: 0; border: 0; min-width: 0; }
.step legend { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding: 0; font: 400 1.3rem/1.2 var(--f-display); color: var(--blue); }
.step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--red); color: var(--red); font: italic 400 1rem/1 var(--f-text); }
.drink-row { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.drink { flex: none; width: 96px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px 8px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; scroll-snap-align: start; transition: .25s var(--ease); }
.drink img { height: 64px; width: auto; }
.drink span { font: 400 .8rem/1.15 var(--f-text); text-align: center; color: var(--blue-ink); }
html:lang(zh-Hans) .drink span { font-size: .82rem; }
.drink:hover { border-color: var(--line-2); translate: 0 -2px; }
.drink[aria-pressed="true"] { border-color: var(--blue); background: var(--wash); box-shadow: 0 0 0 2px var(--blue); }
.pick-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; width: 92px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px 8px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; transition: .25s var(--ease); }
.pick img { width: 40px; height: 40px; object-fit: contain; }
.pick span { font: 400 .82rem/1.15 var(--f-text); text-align: center; }
.pick em { font: 700 .76rem/1 var(--f-text); font-style: normal; color: var(--red); }
.pick:hover { border-color: var(--line-2); }
.pick[aria-pressed="true"] { border-color: var(--blue); background: var(--wash); box-shadow: 0 0 0 2px var(--blue); }
.pick:disabled { opacity: .32; cursor: not-allowed; }
/* a topping the drink already has (« … & perles de tapioca »): marked « inclus », dashed, not a choice */
.pick.incl, .pick.incl:disabled { opacity: 1; cursor: default; border-style: dashed; border-color: var(--line-2); background: var(--wash); box-shadow: none; }
.pick.incl em { color: var(--blue); font-weight: 400; font-style: italic; }
.ticket { position: relative; margin-top: 4px; padding: 18px 22px 16px; background: var(--white); border-radius: 4px; box-shadow: 0 16px 30px -22px rgba(30, 32, 90, .6); font-size: 1rem; }
.ticket::before, .ticket::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: radial-gradient(circle at 6px 0, transparent 5px, var(--white) 5.5px) 0 0 / 12px 10px repeat-x; }
.ticket::before { top: -10px; rotate: 180deg; }
.ticket::after { bottom: -10px; }
.ticket.print { animation: print .6s var(--ease); }
@keyframes print { from { translate: 0 -8px; opacity: .4; } to { translate: 0 0; opacity: 1; } }
.ticket-hd { display: flex; justify-content: space-between; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px dashed var(--line-2); font: 700 .78rem/1 var(--f-text); letter-spacing: .24em; text-transform: uppercase; color: var(--red); }
.ticket-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.ticket-lines li span:last-child { font-weight: 700; color: var(--blue); white-space: nowrap; }
.ticket-total { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--line-2); font: 400 1.2rem/1 var(--f-display); color: var(--blue); }
.ticket-sum { font: 400 1.7rem/1 var(--f-display); color: var(--red); }
.comp-note { font-size: .95rem; font-style: italic; opacity: .85; }

/* ---------- N° 4 · tie-dye ---------- */
.dye { position: relative; overflow: hidden; padding: clamp(100px, 13vw, 180px) 0; color: var(--glaze); background: var(--indigo); }
.dye-cloth { position: absolute; inset: 0; background: linear-gradient(rgba(10, 16, 46, .38), rgba(10, 16, 46, .62)), url("../img/art/tiedye-2160.webp?v=9400c99d8d") center / cover; }
.dye-js { background: var(--paper); }
.dye-js .dye-cloth { -webkit-mask-image: radial-gradient(circle at 50% 46%, #000 var(--r, 0%), transparent calc(var(--r, 0%) + 16%)); mask-image: radial-gradient(circle at 50% 46%, #000 var(--r, 0%), transparent calc(var(--r, 0%) + 16%)); }
.dye-js .dye-in { opacity: clamp(0, calc(var(--p, 0) * 2.2 - .7), 1); }
.dye-in { position: relative; text-align: center; max-width: 980px; }
.dye-quote { margin: 0 auto 2.2em; }
.q-zh { font: 400 clamp(1.7rem, 1.1rem + 2.6vw, 3.3rem)/1.55 var(--cjk-kai); letter-spacing: .08em; color: var(--white); text-wrap: balance; white-space: pre-line; }
.q-tr { font: italic 400 clamp(1.2rem, 1rem + 1vw, 1.75rem)/1.4 var(--f-text); color: #E6E9F6; max-width: 760px; margin: .6em auto; }
.dye-quote footer { margin-top: 1em; font: 700 .8rem/1 var(--f-text); letter-spacing: .26em; text-transform: uppercase; color: #F1B9A9; }
.dye-intro { font-size: 1.18rem; color: #DCE1F2; margin-bottom: 2em; }
.crafts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; text-align: center; }
.craft { padding: 26px 18px 22px; border: 1.5px dashed rgba(243, 244, 230, .45); border-radius: 18px; background: rgba(10, 16, 46, .38); backdrop-filter: blur(2px); }
.craft-sw { display: grid; place-items: center; width: 104px; height: 104px; margin: 0 auto 12px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px rgba(243, 244, 230, .8), 0 0 0 7px rgba(243, 244, 230, .18); }
.craft-porcelain .craft-sw { background: radial-gradient(circle at 42% 38%, var(--white), #E9EAE4); }
.craft-porcelain .craft-sw svg { width: 82%; }
.craft-tiedye .craft-sw { background: url("../img/art/tiedye-1000.webp?v=83f0bd7872") 6% 4% / 520% auto; }
.craft-embroidery .craft-sw { background: var(--indigo-2); }
.craft-embroidery .craft-sw svg { width: 84%; }
.craft-zh { display: block; font: 400 1.6rem/1.2 var(--cjk-kai); letter-spacing: .3em; color: var(--white); margin-bottom: .2em; }
.craft h3 { font-size: 1.25rem; color: var(--glaze); margin-bottom: .4em; }
html:lang(zh-Hans) .craft h3 { font-size: 1.6rem; letter-spacing: .3em; }   /* the Chinese page has no separate 青花瓷 line above */
.craft p { font-size: 1.02rem; color: #D6DCEF; margin: 0; }

/* ---------- N° 5 · the museum shop (2026-11-11, « 要做的高大上 对标博物馆网站的产品 »): each object on a white plinth,
   the spotlights come on one after the other, a museum label below; the record opens in a dialog with a magnifying glass.
   The photos are white-background catalogue shots: multiply lets the plinth's light show through their white. ---------- */
.shop { background: linear-gradient(180deg, rgba(251, 251, 244, .9), rgba(243, 244, 230, 0) 55%); }
.shop-head { margin-bottom: clamp(18px, 2.4vw, 28px); }
.shop-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(26px, 3.4vw, 44px); }
.shop-tab { display: inline-flex; align-items: baseline; gap: 9px; padding: 10px 17px 9px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 252, .55); font: 700 .76rem/1 var(--f-text); letter-spacing: .22em; text-transform: uppercase; color: var(--blue); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
html:lang(zh-Hans) .shop-tab { letter-spacing: .14em; font-size: .9rem; }
.shop-tab:hover { border-color: var(--blue); }
.shop-tab[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--paper); }
.shop-n { font: 400 .72rem/1 var(--f-display); letter-spacing: .05em; opacity: .65; }
.shop-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(30px, 3.4vw, 52px) clamp(18px, 2.2vw, 32px); }
.obj-card { position: relative; }
.obj-card[hidden] { display: none; }
.obj-card:nth-child(2) { --i: 1; } .obj-card:nth-child(3) { --i: 2; } .obj-card:nth-child(4) { --i: 3; }
.obj-card:nth-child(5) { --i: 4; } .obj-card:nth-child(6) { --i: 5; } .obj-card:nth-child(7) { --i: 6; }
.obj-niche { position: relative; margin: 0; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(ellipse 60% 54% at 50% 40%, #FFFFFF 0%, #FCFBF6 48%, #EFEEE3 100%);
  box-shadow: inset 0 0 0 1px rgba(46, 48, 146, .09), 0 34px 44px -36px rgba(30, 32, 112, .5); }
.obj-niche::after { content: ""; position: absolute; inset: 0; background: rgba(26, 28, 78, .34); opacity: 0; pointer-events: none; transition: opacity 1s var(--ease) calc(var(--i, 0) * 150ms); }
.js .shop:not(.lit) .obj-niche::after { opacity: 1; transition: none; }
.obj-img { width: 84%; height: auto; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.obj-card:hover .obj-img, .obj-card:focus-within .obj-img { transform: translateY(-6px) scale(1.035); }
.obj-inv { position: absolute; top: 13px; left: 15px; z-index: 1; font: 700 .66rem/1 var(--f-text); letter-spacing: .26em; color: rgba(46, 48, 146, .55); }
.obj-label { padding: 17px 2px 0; }
.obj-type { margin: 0; font: 700 .72rem/1.45 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: rgba(46, 48, 146, .72); }
html:lang(zh-Hans) .obj-type { letter-spacing: .1em; font-size: .84rem; }
.obj-name { margin: .35em 0 0; font: 400 clamp(1.12rem, 1rem + .35vw, 1.34rem)/1.2 var(--f-display); color: var(--blue-ink); }
.obj-zh { margin: .25em 0 0; font: 400 1rem/1.3 var(--cjk-kai); color: var(--blue); opacity: .78; letter-spacing: .06em; }
.obj-mat { margin: .55em 0 0; font: italic 400 .95rem/1.4 var(--f-text); color: rgba(30, 32, 112, .76); }
.obj-price { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: .85em 0 0; padding-top: .65em; border-top: 1px solid var(--line); font: 700 .88rem/1.2 var(--f-text); color: var(--red); }
.obj-price span { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(46, 48, 146, .6); }
.obj-open { position: absolute; inset: 0; z-index: 2; width: 100%; padding: 0; border: 0; border-radius: 4px; background: none; cursor: zoom-in; }
.obj-open:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
.shop-note { margin: clamp(26px, 3vw, 40px) 0 0; font: italic 400 .92rem/1.4 var(--f-text); opacity: .7; }

/* the object's record: a museum collection page in a dialog */
html:has(.fiche[open]) { overflow: hidden; }
.fiche { width: min(1120px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 6px; background: var(--glaze); color: var(--blue-ink); box-shadow: 0 40px 90px -30px rgba(10, 12, 50, .6); overflow: auto; }
.fiche::backdrop { background: rgba(18, 20, 64, .64); backdrop-filter: blur(4px); }
.fiche[open] { animation: fiche-in .45s var(--ease); }
@keyframes fiche-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.fiche-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.fiche-pic { position: relative; min-height: min(76vh, 620px); overflow: hidden; background: #FFFFFF; cursor: zoom-in; touch-action: manipulation; }   /* fills the whole left column */
.fiche-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform .35s var(--ease); }
.fiche-pic.zoomed .fiche-img { transform: scale(2.2); }
.fiche-pic.zoomed { cursor: zoom-out; }
.fiche-lens { position: absolute; left: var(--lx, 50%); top: var(--ly, 50%); width: 190px; height: 190px; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; opacity: 0;
  background: #FFFFFF var(--lens-img) no-repeat; background-size: var(--lens-size, 0 0); background-position: var(--lens-pos, 0 0);
  box-shadow: 0 0 0 1px rgba(46, 48, 146, .25), 0 0 0 6px rgba(255, 255, 252, .92), 0 18px 36px -12px rgba(10, 12, 50, .5); transition: opacity .2s; }
.fiche-pic.lensing { cursor: none; }
.fiche-pic.lensing .fiche-lens { opacity: 1; }
.fiche-hint { position: absolute; left: 0; right: 0; bottom: 12px; margin: 0; text-align: center; font: italic 400 .86rem/1.2 var(--f-text); color: rgba(30, 32, 112, .5); pointer-events: none; }
.fiche-hint .h-touch { display: none; }
@media (hover: none), (pointer: coarse) { .fiche-hint .h-mouse { display: none; } .fiche-hint .h-touch { display: inline; } }
.fiche-rec { display: flex; flex-direction: column; padding: clamp(30px, 4vw, 58px) clamp(24px, 3.6vw, 52px); border-left: 1px solid var(--line); }
.fiche-inv { margin: 0; font: 700 .68rem/1.4 var(--f-text); letter-spacing: .24em; text-transform: uppercase; color: rgba(46, 48, 146, .6); }
.fiche-inv b { color: var(--red); letter-spacing: .14em; }
.fiche-type { margin: 1.5em 0 0; font: 700 .74rem/1.4 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.fiche-name { margin: .3em 0 0; font: 400 clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem)/1.1 var(--f-display); color: var(--blue-ink); }
.fiche-zh { margin: .3em 0 0; font: 400 1.35rem/1.3 var(--cjk-kai); color: var(--blue); letter-spacing: .08em; }
.fiche-dl { margin: 1.7em 0 0; border-top: 1px solid var(--line-2); }
.fiche-dl div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 14px; padding: .8em 0; border-bottom: 1px solid var(--line); }
.fiche-dl dt { font: 700 .68rem/1.7 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: rgba(46, 48, 146, .65); }
html:lang(zh-Hans) .fiche-dl dt { letter-spacing: .1em; font-size: .86rem; }
.fiche-dl dd { margin: 0; font-size: 1.02rem; line-height: 1.5; }
.fiche-note { margin: 1.2em 0 0; font: italic 400 .88rem/1.4 var(--f-text); opacity: .65; }
.fiche-nav { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 1.7em; }
.fiche-step { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; background: none; color: var(--blue); cursor: pointer; transition: background .2s, color .2s; }
.fiche-step:hover { background: var(--blue); color: var(--paper); }
.fiche-step[data-step="-1"] .ic { transform: scaleX(-1); }
.fiche-count { min-width: 4.6em; text-align: center; font: 400 .95rem/1 var(--f-display); letter-spacing: .1em; color: var(--blue); }
.fiche-close { position: absolute; top: 12px; right: 12px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 252, .92); color: var(--blue-ink); font: 400 1.7rem/1 var(--f-text); cursor: pointer; box-shadow: 0 0 0 1px var(--line); }
.fiche-close:hover { background: var(--blue); color: var(--paper); }
.fiche-close:focus-visible { outline: 2px solid var(--line-2); outline-offset: 2px; }   /* it is focused on opening: a quiet ring */
@media (max-width: 1100px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .fiche-in { grid-template-columns: 1fr; }
  .fiche-pic { min-height: 0; aspect-ratio: 1; }
  .fiche-rec { border-left: 0; border-top: 1px solid var(--line); }
  .fiche-dl div { grid-template-columns: 7em minmax(0, 1fr); }
}
/* phone: the objects stand on one shelf, swipe along it */
@media (max-width: 760px) {
  .shop-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 70%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin: 0 -16px; padding: 4px 16px 18px; scrollbar-width: none; }
  .shop-tabs { gap: 8px; }
  .shop-tab { padding: 9px 12px 8px; letter-spacing: .12em; }
  .shop-grid::-webkit-scrollbar { display: none; }
  .obj-card { scroll-snap-align: start; }
}

/* the turning display (2026-11-11, « 不用静态的 做成一个循环的转盘 动起来 »; JS on): the plain grid becomes a round display seen
   slightly from above. site.js places every object on the ring (x, depth → size, opacity, layer) and turns the plate under them;
   the front one rests under the spotlight and its label is shown below. Without JS the grid above stays as it is. */
.shop-stage { position: relative; }
.tt-on .shop-grid { position: relative; display: block; height: clamp(340px, 37vw, 540px); margin: 0; padding: 0; overflow: visible; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; outline: none; }
.tt-on .shop-grid:focus-visible { outline: 2px solid var(--red); outline-offset: 10px; border-radius: 14px; }
.tt-on .shop-grid.dragging { cursor: grabbing; }
.tt-on .obj-card[data-reveal] { position: absolute; left: 50%; top: 46%; width: clamp(200px, 26vw, 360px); transition: none; translate: none; will-change: transform, opacity; }
.tt-on .obj-card[hidden] { display: none; }
.tt-on .obj-label { display: none; }
/* v2 (11-11, « 不需要白色背景 让周边悬浮 3D的效果 »): no niche, the cut-out object floats; site.js bobs and turns it */
.tt-on .obj-niche { overflow: visible; background: none; box-shadow: none; will-change: transform; backface-visibility: hidden; }
.tt-on .obj-niche::after { display: none; }
.tt-on .obj-img { width: 88%; mix-blend-mode: normal; filter: drop-shadow(0 14px 12px rgba(30, 32, 112, .16)); }
.tt-on .obj-card:hover .obj-img, .tt-on .obj-card:focus-within .obj-img { transform: none; }
.tt-on .obj-card.is-front:hover .obj-img { transform: scale(1.04); }
/* its shadow on the plate: smaller and lighter when the object floats higher */
.tt-shadow { display: none; }
.tt-on .tt-shadow { display: block; position: absolute; left: 50%; bottom: 3%; width: 62%; height: 11%; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(22, 26, 74, .34), rgba(22, 26, 74, .12) 55%, rgba(22, 26, 74, 0)); will-change: transform, opacity; }
.tt-on .obj-open:focus-visible { outline: 2px dashed rgba(163, 29, 28, .7); outline-offset: -6%; border-radius: 50%; }
.tt-on .obj-open { cursor: pointer; }
.tt-on .obj-card.is-front .obj-open { cursor: zoom-in; }
.tt-on .obj-inv { display: none; }   /* the number is in the label below */
/* the porcelain plate they stand on, seen from above; its blue ticks turn with the display */
.tt-plinth { display: none; }
.tt-on .tt-plinth { display: block; position: absolute; left: 50%; top: var(--pcy, 70%); width: var(--pw, 90%); aspect-ratio: 1; transform: translate(-50%, -50%) scaleY(var(--psy, .18)); pointer-events: none; z-index: 0; }
/* v2 (11-11, « 下方转盘太简陋了 », then « 不要用青花盘 喧宾夺主了 »): a plain white-glazed dish, quiet so the objects lead:
   two fine cobalt lines near the rim and the site's hidden lotus scroll (暗花) under the glaze, which only shows as it
   turns; a glaze highlight that does not turn; under it the dish's porcelain edge, then a stand: first rosewood, but
   « 木头的质感太假了 » (CSS cannot paint real grain), so navy lacquer, smooth by nature, with gold lines (描金); a soft shadow on the floor. Everything sits inside .tt-plinth, squashed by scaleY(--psy):
   a drop of N px on screen is written calc(N px / --psy). --tk scales the stand down on phones. */
.shop-stage { --tk: 1; }
.tt-plinth > span { position: absolute; inset: 0; border-radius: 50%; }
.tt-disc { will-change: transform;
  background: radial-gradient(circle closest-side, transparent 0 88.6%, rgba(46, 48, 146, .55) 89% 90.2%, transparent 90.6% 92.2%, rgba(46, 48, 146, .35) 92.5% 93.1%, transparent 93.5% 98.4%, rgba(46, 48, 146, .28) 98.8% 100%),
              url("../svg/anhua.svg?v=adbf56c3ba") 50% 50% / 15% 15% repeat,
              radial-gradient(circle closest-side, #FFFFFD 0%, #FAFAF5 55%, #F0F1E9 85%, #E6E7DE 100%); }
.tt-sheen { background: radial-gradient(ellipse 34% 22% at 36% 28%, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 70%),
  radial-gradient(circle closest-side, transparent 0 95.6%, rgba(255, 255, 255, .75) 96.6% 97.4%, transparent 98.2%); }
.tt-edge { translate: 0 calc(10px * var(--tk) / var(--psy, .18)); background: linear-gradient(#FFFFFB 45%, #DCDED3 88%, #B9BCB0); box-shadow: 0 0 0 1px rgba(46, 48, 146, .1); }
.tt-stand, .tt-foot { background: linear-gradient(90deg, rgba(255, 255, 255, 0) 24%, rgba(255, 255, 255, .16) 30%, rgba(255, 255, 255, .05) 34%, rgba(255, 255, 255, 0) 40%),
  linear-gradient(90deg, #04071A, #141B45 16%, #24306B 32%, #1A2350 48%, #0D1335 72%, #03051A); }
.tt-stand::before, .tt-foot::before { content: ""; position: absolute; left: 0; right: 0; bottom: 50%; background: inherit; }
.tt-stand { inset: 5%; translate: 0 calc(36px * var(--tk) / var(--psy, .18)); box-shadow: inset 0 calc(-2px / var(--psy, .18)) 0 rgba(201, 162, 84, .9); }
.tt-stand::before { height: calc(27px * var(--tk) / var(--psy, .18)); }
/* a fine gold line drawn round the drum, half way down */
.tt-gold { inset: 5%; translate: 0 calc(22px * var(--tk) / var(--psy, .18)); box-shadow: inset 0 calc(-1.2px / var(--psy, .18)) 0 rgba(214, 178, 100, .75); }
.tt-foot { inset: 11%; translate: 0 calc(52px * var(--tk) / var(--psy, .18)); filter: brightness(.7); }
.tt-foot::before { height: calc(16px * var(--tk) / var(--psy, .18)); }
.tt-ground { inset: 0 2%; translate: 0 calc(62px * var(--tk) / var(--psy, .18)); background: radial-gradient(closest-side, rgba(20, 24, 70, .3), rgba(20, 24, 70, .1) 60%, rgba(20, 24, 70, 0)); }
/* the spotlight on the front object */
.tt-beam { display: none; }
.tt-on .tt-beam { display: block; position: absolute; left: 50%; top: -40px; width: min(56%, 560px); height: clamp(300px, 32vw, 470px); transform: translateX(-50%); pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 46% 100% at 50% 0%, rgba(255, 255, 255, .85), rgba(255, 252, 238, .35) 45%, rgba(255, 252, 238, 0) 72%); }
/* the label of the object in front */
.tt-caption { position: relative; z-index: 2; max-width: 540px; min-height: 10.6em; margin: clamp(0px, 1vw, 12px) auto 0; text-align: center; }
.tt-caption.swap { animation: tt-cap .5s var(--ease); }
@keyframes tt-cap { from { opacity: 0; transform: translateY(8px); } }
.tt-no { margin: 0; font: 700 .72rem/1 var(--f-text); letter-spacing: .32em; color: var(--red); }
.tt-caption .obj-type { margin-top: .9em; }
.tt-caption .obj-name { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.05rem); }
.tt-caption .obj-zh { font-size: 1.15rem; }
.tt-price { margin: .65em 0 0; font: 700 .9rem/1.2 var(--f-text); color: var(--red); }
.tt-price span { margin-right: .7em; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(46, 48, 146, .85); }
.tt-actions { margin: .85em 0 0; }
.tt-open { padding: 0; border: 0; background: none; font: 700 .98rem/1.2 var(--f-text); color: var(--blue); cursor: pointer; }
@media (max-width: 760px) {
  .tt-on .shop-grid { height: 300px; margin: 0; padding: 0; overflow: visible; }
  .tt-on .obj-card[data-reveal] { width: 54vw; top: 44%; }
  .shop-stage { --tk: .6; }
}

/* ---------- N° 6 · the embroidered frame (photo booth) ---------- */
.booth-in { display: grid; grid-template-columns: 1fr minmax(300px, 440px); gap: clamp(30px, 6vw, 90px); align-items: center; }
.booth-copy h2, .loyal-copy h2 { font-size: clamp(2.3rem, 1.5rem + 3vw, 3.8rem); margin-bottom: .3em; }
.booth-who { font: 700 .82rem/1.4 var(--f-text); letter-spacing: .26em; text-transform: uppercase; color: var(--red); }
.booth-offer { display: grid; grid-template-columns: 1fr auto; gap: 2px 18px; align-items: center; max-width: 460px; margin: 1.2em 0 1.4em; padding: 16px 20px; border: 1.5px solid var(--blue); border-radius: 14px; outline: 1px dashed var(--line-2); outline-offset: 5px; background: var(--white); }
.booth-offer-t { font: 400 1.3rem/1.2 var(--f-display); color: var(--blue); }
.booth-offer-l { grid-column: 1; font-size: 1rem; }
.booth-offer-p { grid-column: 2; grid-row: 1 / span 2; font: 400 1.9rem/1 var(--f-display); color: var(--red); }
.booth-stage { position: relative; width: 100%; aspect-ratio: 400 / 580; }
.stitch-frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.booth-machine { position: absolute; inset: 7% 13% 5%; display: flex; flex-direction: column; align-items: center; overflow: hidden; border-radius: 24px 24px 10px 10px; background: linear-gradient(180deg, var(--blue) 0 21%, var(--glaze) 21.2%); box-shadow: 0 0 0 2px var(--blue), 0 30px 50px -26px rgba(30, 32, 112, .6); }
.booth-top { width: 100%; height: 21%; display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--glaze); }
.booth-lens { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #8FA3E0, #121A40 60%); box-shadow: 0 0 0 4px var(--glaze), 0 0 0 6px rgba(255, 255, 255, .25); }
.booth-label { font: 700 .8rem/1 var(--f-text); letter-spacing: .3em; }
.booth-slot { width: 66%; height: 8px; margin-top: 7%; border-radius: 6px; background: #1A2150; box-shadow: inset 0 2px 3px rgba(0, 0, 0, .5); z-index: 2; }
.strip-clip { position: relative; z-index: 1; flex: 1; width: 44%; margin-top: -4px; overflow: hidden; display: flex; justify-content: center; }
.strip { position: relative; width: 92%; height: max-content; margin-top: 0; padding: 7px 7px 8px; display: flex; flex-direction: column; gap: 5px; background: var(--white); box-shadow: 0 10px 18px -10px rgba(30, 32, 90, .5); transition: transform 2.2s steps(9, end); }
.js .strip { transform: translateY(-104%); }
.js .printed .strip { transform: translateY(0); }
.frame { position: relative; display: block; aspect-ratio: 1 / .72; overflow: hidden; background: var(--paper); }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 7%; }
.fr2 { background: linear-gradient(160deg, #DCE3F5, #F3F4E6); }
.fr3 { background: var(--blue); }
.fr3 img { padding: 14%; }
.fr4 { background: var(--glaze); }
.fr4 img { padding: 4%; object-fit: cover; }
.strip-cap { font: 700 .62rem/1.5 var(--f-text); letter-spacing: .22em; text-align: center; color: var(--blue); padding-top: 2px; }
.flash { position: absolute; inset: 0; border-radius: 24px; background: #fff; opacity: 0; pointer-events: none; }
.shot .flash { animation: flash .5s ease-out; }
@keyframes flash { 0% { opacity: 0; } 12% { opacity: .95; } 100% { opacity: 0; } }

/* ---------- N° 7 · blue tiles (formules) ---------- */
.tiles { background: linear-gradient(rgba(238, 240, 224, .92), rgba(238, 240, 224, 0)); }   /* lets the 暗花 through towards the bottom (was #EEF0E0 → paper) */
.tile-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
.tile-in { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; perspective: 1000px; }
.tile-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14%; text-align: center; border-radius: 6px; backface-visibility: hidden; transition: transform .8s var(--ease); background: var(--white) url("../svg/tile.svg?v=9b34be3ed4") center / 100% 100% no-repeat; box-shadow: 0 0 0 2px var(--blue), inset 0 0 0 8px var(--white), inset 0 0 0 9px var(--line), 0 24px 40px -30px rgba(30, 32, 112, .7); }
.tile-back { transform: rotateY(180deg); background: var(--blue); color: var(--glaze); box-shadow: 0 0 0 2px var(--blue), inset 0 0 0 8px var(--blue), inset 0 0 0 9px rgba(243, 244, 230, .45); }
.tile-in[aria-pressed="true"] .tile-front { transform: rotateY(-180deg); }
.tile-in[aria-pressed="true"] .tile-back { transform: rotateY(0deg); }
@media (hover: hover) {
  .tile-in:hover .tile-front { transform: rotateY(-180deg); }
  .tile-in:hover .tile-back { transform: rotateY(0deg); }
}
.tile-art { width: 64%; height: auto; }
.tile-title { font: 400 clamp(1.05rem, .9rem + .5vw, 1.35rem)/1.15 var(--f-display); color: var(--blue); }
.tile-back .tile-title { color: var(--glaze); }
.tile-price { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--red); color: #FBEFE6; font: 700 1.05rem/1 var(--f-text); rotate: -3deg; }
.tile-lines { display: flex; flex-direction: column; gap: 2px; font-size: .98rem; line-height: 1.3; }
.tile-lines span + span::before { content: "+ "; color: #F1B9A9; }
.tile-when { font: 700 clamp(.74rem, .62rem + .3vw, .9rem)/1 var(--f-text); letter-spacing: .05em; color: var(--red); }   /* a set sold only part of the day (lunch: 11h30 – 14h30) */
.tile-front .tile-when { position: absolute; top: 9%; left: 0; right: 0; }
.tile-back .tile-when { font-size: .82rem; color: #F1B9A9; }

/* ---------- N° 8 · the ten-flower card ---------- */
.loyal-in { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(30px, 6vw, 90px); align-items: center; }
.loyal-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 1em; }
.loyal-note { display: flex; align-items: baseline; gap: 14px; font-size: 1rem; }
.loyal-note-l { flex: none; padding: 1px 9px; border: 1px solid rgba(46, 48, 146, .35); border-radius: 999px; font: 700 .72rem/1.6 var(--f-text); letter-spacing: .22em; text-transform: uppercase; color: rgba(46, 48, 146, .75); }
html:lang(zh-Hans) .loyal-note-l { letter-spacing: .3em; font-size: .78rem; }
.loyal-perks { margin: 0; padding: 0; list-style: none; font-style: italic; line-height: 1.55; }
.loyal-perks b { margin-right: .35em; font-style: normal; color: var(--red); }
.phone { position: relative; justify-self: center; width: min(330px, 86vw); aspect-ratio: 9 / 12.6; padding: 11px; border-radius: 54px; background: #0C0F2C; box-shadow: 0 0 0 2px #2B3062, 0 50px 90px -40px rgba(10, 14, 40, .7); }
/* the screen is Wallet in dark mode (near black), so the navy pass stands out as it does on a real iPhone */
.phone-scr { position: relative; height: 100%; overflow: hidden; padding: 58px 13px 14px; border-radius: 44px; background: linear-gradient(170deg, #1A1C26, #07080D 70%); }
.phone-island { position: absolute; top: 12px; left: 50%; width: 92px; height: 26px; translate: -50% 0; border-radius: 999px; background: #000; z-index: 3; }
.toast { position: absolute; top: 10px; left: 9px; right: 9px; z-index: 4; display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 20px; background: rgba(240, 241, 248, .9); backdrop-filter: blur(12px); color: #111; font-size: .78rem; line-height: 1.3; translate: 0 -140%; transition: translate .5s var(--ease); }
.toast.in { translate: 0 0; }
.toast-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #FCF2E2; }
.toast-ic img { width: 31px; }
.toast-tx { display: grid; grid-template-columns: 1fr auto; gap: 1px 8px; flex: 1; }
.toast-tx b { font-weight: 700; }
.toast-tx small { color: #666; }
.toast-tx [data-toast-msg] { grid-column: 1 / -1; }
/* the pass as the real one (card/make_tenant.py palette, 2026-11-10): navy, cream text, light porcelain-blue labels */
/* the Wallet card as it is since 2026-11-10: her logo's cream and navy (« 改成 C »), her own badge as logo */
.pass { overflow: hidden; border-radius: 14px; background: #FCF2E2; color: #02264F; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .8); }
.pass-hd { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 10px; }
.pass-logo { display: flex; align-items: center; gap: 6px; }
.pass-logo img { width: 38px; }
.pass-fld { display: flex; flex-direction: column; line-height: 1.15; }
.pass-hd .pass-fld { align-items: flex-end; }
.pass-fld .l { font: 700 .58rem/1.3 -apple-system, "Helvetica Neue", Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #02264F; }
.pass-fld .v { font: 400 1.05rem/1.2 -apple-system, "Helvetica Neue", Arial, sans-serif; color: #02264F; }
.pass-strip { display: block; width: 100%; height: auto; }
.pass-row { display: flex; justify-content: space-between; padding: 10px 14px; }
.pass-row .r { align-items: flex-end; text-align: right; }
.pass-qr { display: grid; place-items: center; padding: 6px 0 16px; }
.pass-qr img { width: 92px; height: 92px; padding: 7px; border-radius: 6px; background: #fff; filter: blur(1.6px); }
.st-ink { opacity: 0; transition: opacity .8s ease; }
.st-ink.on { opacity: 1; }
/* the seals of the strip: 朱文 (red characters, red frame) while the reward is ahead, 白文 (solid red) once reached */
.st-seal .seal-on { opacity: 0; transition: opacity .6s; }
.st-seal .seal-off { opacity: .85; transition: opacity .6s; }
.st-seal.on .seal-on { opacity: 1; }
.st-seal.on .seal-off { opacity: 0; }
/* a full card: the 10th lotus opens in copper red and the small 送茶 seal turns solid — no big seal over the strip any more
   (« 换，不盖大印 », 2026-11-10: it hid the red lotus) */

/* ---------- the porcelain ground (2026-11-10, « 网站的背景还是有点光秃秃 添加一些青花瓷的设计 要惊艳但不过于张扬 ») ----------
   暗花: a scrolling-lotus diaper in hairlines (tools/make_anhua.py → svg/anhua.svg) lies very faintly on the paper of every
   page (body, above). On porcelain, 暗花 is decoration incised under the glaze that shows only when the piece catches the
   light; on a computer the pointer is that light: .anhua-light, a fixed layer with the same tile drawn stronger, seen
   through a soft circle round the pointer (site.js sets --mx/--my, and --sy so its tile stays on the page's). It sits at
   z-index −1, under everything, so it only shows where the page is bare paper. Phones and pens: the faint pattern only.
   Her cup's line mountains (her own packaging) stand at the foot of two sections, just above the indigo that follows. */
.anhua-light { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .9s ease;
  background: url("../svg/anhua-lit.svg?v=8da6dbc140") 0 calc(var(--sy, 0) * -1px) / 280px 280px repeat;
  -webkit-mask-image: radial-gradient(circle 240px at var(--mx, -600px) var(--my, -600px), #000 0, rgba(0, 0, 0, .55) 42%, transparent 100%);
  mask-image: radial-gradient(circle 240px at var(--mx, -600px) var(--my, -600px), #000 0, rgba(0, 0, 0, .55) 42%, transparent 100%); }
.anhua-light.on { opacity: 1; }
@media not ((hover: hover) and (pointer: fine)) { .anhua-light { display: none; } }
@media (prefers-reduced-motion: reduce) { .anhua-light { transition: none; } }
.shan-foot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; height: 170px; pointer-events: none;
  /* 11-12 « 有山峰就不要花了 不要覆盖住 »: the hills' paper is opaque (the lines' faintness is in the svg), and above them the
     page's 暗花 fades out into plain paper, so no flower sits on or between the hills (the pointer's light included) */
  background: url("../svg/shan.svg?v=9a5bb8bccd") 50% 100% / auto 118px repeat-x, linear-gradient(rgba(243, 244, 230, 0), var(--paper) 62%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.composer, .loyal.shan-foot { isolation: isolate; }   /* the mountains stay under the content (the tea tray had them until 11-11) */
@media (max-width: 760px) { .shan-foot::after { height: 112px; background-size: auto 76px, auto; } }

/* ---------- N° 9 · Toulouse ---------- */
.visit { padding-bottom: clamp(70px, 9vw, 110px); }
.plaque { padding: clamp(12px, 2vw, 22px); border: 2px dashed var(--line-2); border-radius: 22px; outline: 1px solid var(--line); outline-offset: 6px; background: var(--white); }
.plaque-img { width: 100%; mix-blend-mode: multiply; }
.visit-row { --gap: clamp(44px, 5vw, 66px); position: relative; margin-top: var(--gap); text-align: center; }
.seam { position: absolute; left: 0; right: 0; top: calc(9px - var(--gap)); height: clamp(30px, 3.8vw, 50px); pointer-events: none; }
.thread { display: block; width: 100%; height: 100%; overflow: visible; opacity: .62; }
.sew-line { animation: sew 9s linear infinite; }
.sew-off .sew-line { animation-play-state: paused; }   /* off screen: no repaint */
@keyframes sew { to { stroke-dashoffset: -300; } }
.facts { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0 0 1.6em; }
.facts > div { padding: 16px 6px 0; border-top: 1.5px solid var(--line-2); }
.facts dd a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.facts-note { display: block; margin-top: .35em; font: italic 400 1rem/1.4 var(--f-text); color: rgba(46, 48, 146, .78); }
.facts dt { display: flex; align-items: center; justify-content: center; gap: .45em; font: 700 .8rem/1.4 var(--f-text); letter-spacing: .24em; text-transform: uppercase; color: var(--red); }
.facts dd { margin: .4em 0 0; font: 400 1.25rem/1.35 var(--f-display); color: var(--blue); }
.more { text-align: center; }

/* ---------- carte ---------- */
.carte-head { position: relative; padding-top: clamp(20px, 4vw, 50px); background: radial-gradient(ellipse 60% 90% at 78% 30%, var(--white), var(--paper) 70%); }
.carte-head-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: center; padding-bottom: 26px; }
.carte-head h1, .infos-head h1 { font-size: clamp(2.8rem, 1.8rem + 4vw, 5rem); margin: .2em 0 .25em; }
.h1-zh { font: 400 .55em/1 var(--cjk-kai); letter-spacing: .3em; color: var(--red); vertical-align: .35em; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 1rem; }
.legend .badge { margin-left: 10px; }
.carte-fan { position: relative; height: clamp(260px, 30vw, 380px); }
.fan { position: absolute; bottom: 0; width: 26%; transform-origin: 50% 110%; transition: rotate .6s var(--ease); }
.fan img { width: 100%; filter: drop-shadow(0 16px 16px rgba(30, 32, 90, .25)); }
.fan-1 { left: 4%; rotate: -16deg; } .fan-2 { left: 20%; rotate: -8deg; z-index: 1; } .fan-3 { left: 37%; z-index: 2; width: 30%; }
.fan-4 { left: 56%; rotate: 8deg; z-index: 1; } .fan-5 { left: 72%; rotate: 16deg; }
.carte-fan:hover .fan-1 { rotate: -22deg; } .carte-fan:hover .fan-2 { rotate: -11deg; } .carte-fan:hover .fan-4 { rotate: 11deg; } .carte-fan:hover .fan-5 { rotate: 22deg; }
.cat-nav { position: sticky; top: 70px; z-index: 20; background: rgba(243, 244, 230, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.cat-nav-in { display: flex; align-items: center; gap: 14px; }
.cat-links { flex: 1; display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); }
.cat-links::-webkit-scrollbar { display: none; }
.cat-links a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font: 700 .93rem/1.2 var(--f-text); }
.cat-links .cn { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--red); color: #FBEFE6; font: 700 .8rem/1 var(--cjk-serif); }
.cat-links a:hover, .cat-links a.is-on { background: var(--blue); color: var(--paper); border-color: var(--blue); }
.filters { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.chip { padding: 5px 12px; border: 0; border-radius: 999px; background: none; font: 700 .85rem/1.2 var(--f-text); color: var(--blue); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--red); color: #FBEFE6; }
.chapter { padding: clamp(46px, 6vw, 74px) 0 10px; }
.chapter.is-empty .item-grid { display: none; }
.ch-head { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; padding-bottom: 16px; border-bottom: 1.5px solid var(--blue); position: relative; }
.ch-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; border-bottom: 1px solid var(--line); }
.ch-head h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); }
.ch-zh { font: 400 .68em/1 var(--cjk-kai); letter-spacing: .24em; color: var(--blue-mid); margin-left: .3em; }
.ch-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: .35em 0 0; font-size: 1rem; }
.seal-num { width: 58px; height: 58px; flex: none; font-size: 1.9rem; rotate: -4deg; }
.item-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: clamp(18px, 2.4vw, 32px) clamp(12px, 2vw, 24px); }
.item { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 6px 4px; }
.item-pic { position: relative; width: 100%; height: 220px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 14px; }
.saucer { position: absolute; left: 50%; bottom: -4px; width: 80%; height: 26px; translate: -50% 0; border-radius: 50%; background: radial-gradient(ellipse at 50% 35%, var(--white) 0 40%, #E9EBDD 74%); box-shadow: inset 0 0 0 1.5px var(--line-2), inset 0 0 0 4px var(--glaze), inset 0 0 0 5px var(--line), 0 8px 12px -6px rgba(30, 32, 90, .28); transition: box-shadow .4s; }
.item-pic img { position: relative; max-height: calc(205px * var(--cw, 1)); width: auto; margin-bottom: 8px; transition: translate .5s var(--ease), rotate .5s var(--ease); filter: drop-shadow(0 10px 10px rgba(30, 32, 90, .18)); }
.item:hover .item-pic img { translate: 0 -8px; rotate: -2deg; }
.item:hover .saucer { box-shadow: inset 0 0 0 2px var(--blue), inset 0 0 0 4px var(--glaze), inset 0 0 0 5px var(--line-2), 0 10px 14px -6px rgba(30, 32, 90, .35); }
.item-food .item-pic { height: 160px; }
.item-food .item-pic img { max-height: 132px; }
.item-name { font: 400 1.16rem/1.25 var(--f-display); color: var(--blue); }
html:lang(zh-Hans) .item-name { font: 400 1.2rem/1.35 var(--f-display); letter-spacing: .04em; }
.item-zh { margin: .3em 0 0; font: 400 1.06rem/1.3 var(--cjk-kai); opacity: .75; letter-spacing: .05em; }
.item-flv { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; margin: .45em 0 0; font-size: .93rem; }
.item-flv span { padding: 0 8px; border: 1px dashed var(--line-2); border-radius: 999px; }
.item-price { display: flex; align-items: center; gap: 8px; margin: .55em 0 0; font: 700 1.1rem/1 var(--f-text); color: var(--blue); }
.item-vol { margin: .45em 0 0; font: 600 .9rem/1.2 var(--f-text); letter-spacing: .02em; color: var(--blue); opacity: .72; }   /* coffee volume above the price (env. 60–70 ml) */
.item-vol + .item-price { margin-top: .3em; }
.item-duo { margin: .4em 0 0; font: 600 .92rem/1.2 var(--f-text); color: var(--red); }   /* taiyaki: « 2 pour 8,00 € » under the price (2026-11-22) */
.empty { margin: 0; padding: 20px 0 30px; font-style: italic; opacity: .7; }
.chapter-formules .tile-list { margin-top: 6px; }
.opt-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; }
.opt-box { padding: 22px 24px 18px; border: 1.5px solid var(--blue); border-radius: var(--r); outline: 1px dashed var(--line-2); outline-offset: 5px; background: var(--white); }
.opt-box h3 { font-size: 1.35rem; margin-bottom: .7em; }
.opt-tops { grid-column: span 4; }
.opt-milk { grid-column: span 2; }
.opt-sugar, .opt-ice { grid-column: span 3; }
.opt-tops .opt-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.opt-list li { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.opt-list li:last-child, .opt-tops .opt-list li:nth-last-child(2) { border-bottom: 0; }
.opt-list img { width: 48px; height: 48px; object-fit: contain; }
.opt-name span { font-family: var(--cjk-kai); opacity: .75; font-size: .92em; margin-left: .3em; }
.opt-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; text-align: center; }
.opt-row li { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .95rem; line-height: 1.25; }
.opt-row img { width: 46px; height: 46px; object-fit: contain; margin-bottom: 4px; }
.pct { font-size: .88rem; opacity: .75; }
.notes { margin: 34px 0 20px; text-align: center; font-size: 1rem; opacity: .9; }

/* ---------- legal (11-21: mentions légales, médiation, confidentialité; one long page read top to bottom, a short
   contents list beside it on wide screens, the same red caps labels as the infos sheet) ---------- */
.legal-updated { margin: .9em 0 0; font: italic 400 1rem/1.4 var(--f-text); color: rgba(46, 48, 146, .78); }
.legal { padding: 0 0 clamp(50px, 7vw, 90px); }
.legal-wrap { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 46rem); gap: clamp(28px, 5vw, 72px); align-items: start; }
.legal-toc { position: sticky; top: 96px; padding-top: 6px; border-top: 1.5px solid var(--line-2); }
.legal-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: lt; }
.legal-toc li { counter-increment: lt; padding: .45em 0; border-bottom: 1px solid var(--line); font-size: 1rem; line-height: 1.35; }
.legal-toc li::before { content: counter(lt) ". "; color: var(--red); font-weight: 700; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-body { min-width: 0; }
.legal-body section { padding: 6px 0 clamp(26px, 3vw, 38px); border-top: 1.5px solid var(--line-2); scroll-margin-top: 96px; }
.legal-body h2 { margin: .7em 0 .6em; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.legal-body h3 { margin: 1.3em 0 .35em; font: 700 .8rem/1.4 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
html:lang(zh-Hans) .legal-body h3 { font: 400 1rem/1.4 var(--cjk-kai); letter-spacing: .15em; }
.legal-body p { margin: 0 0 .8em; font-size: 1.05rem; line-height: 1.6; text-wrap: pretty; overflow-wrap: anywhere; }
.legal-dl { margin: 0 0 1em; }
.legal-dl div { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 4px 18px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.legal-dl dt { font: 700 .78rem/1.5 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--red); padding-top: .25em; }
html:lang(zh-Hans) .legal-dl dt { font: 400 .98rem/1.5 var(--cjk-kai); letter-spacing: .1em; }
.legal-dl dd { margin: 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.legal-card { padding: 14px 18px; border-left: 3px solid var(--blue); background: rgba(251, 251, 244, .7); }
@media (max-width: 860px) {
  .legal-wrap { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; }
}
@media (max-width: 560px) {
  .legal-dl div { grid-template-columns: minmax(0, 1fr); }
}
.foot-legal a { color: inherit; text-underline-offset: .2em; }

/* ---------- infos (11-12 re-laid: a ruled record sheet beside the map, her banner as the break, the two on-site things
   side by side; no stack of same-size boxes) ---------- */
.infos-head { padding: clamp(30px, 5vw, 60px) 0 clamp(20px, 2.8vw, 34px); }
.infos-head .lead { max-width: 46em; margin-bottom: 0; }
.sheet { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.sheet-dl { margin: 0; }
.sheet-row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 18px; padding: 20px 0 22px; border-top: 1.5px solid var(--line-2); }
.sheet-row:last-child { border-bottom: 1.5px solid var(--line-2); }
.sheet-row dt, .plan-label { display: flex; align-items: center; gap: .5em; font: 700 .8rem/1.4 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.sheet-row dt { align-self: start; padding-top: .55em; }
html:lang(zh-Hans) :is(.sheet-row dt, h2.plan-label) { font: 400 .98rem/1.4 var(--cjk-kai); letter-spacing: .2em; }   /* Chinese labels: brush, a size up (caps tracking makes them tiny) */
.nowrap { white-space: nowrap; }
.sheet-row dd { margin: 0; }
.sheet-row dd p { margin: 0; }
.sheet-row dd p + p { margin-top: .55em; }
.sheet-big { font: 400 clamp(1.3rem, 1.1rem + .7vw, 1.65rem)/1.3 var(--f-display); color: var(--blue); }
.sheet-note { font: italic 400 1rem/1.4 var(--f-text); color: rgba(46, 48, 146, .78); }
.sheet-mail { font: 700 1.12rem/1.3 var(--f-text); color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.sheet-text { font-size: 1.02rem; line-height: 1.5; }
.plan { display: flex; flex-direction: column; min-width: 0; }
.plan-label { margin: 0; padding: calc(20px + .55em) 0 14px; border-top: 1.5px solid var(--line-2); }   /* the same rule and label line as the sheet's first row */
.stitched { position: relative; padding: 26px 24px 22px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1.5px var(--blue); }
.stitched::after { content: ""; position: absolute; inset: 7px; border-radius: 13px; border: 1.5px dashed rgba(163, 29, 28, .45); pointer-events: none; }
.plan-frame { flex: 1; display: flex; padding: 13px; }
.plan-frame .map-box { flex: 1; aspect-ratio: auto; min-height: 340px; margin: 0; border-radius: 7px; }
.infos-plaque { margin-top: clamp(60px, 8vw, 110px); }
.onsite { padding-top: clamp(56px, 7vw, 96px); }
.onsite-title { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); margin-bottom: clamp(20px, 2.6vw, 30px); }
.onsite-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid var(--line-2); }
.onsite-item { padding: 30px clamp(20px, 3.4vw, 48px) 6px 0; }
.onsite-item + .onsite-item { padding: 30px 0 6px clamp(20px, 3.4vw, 48px); border-left: 1px solid var(--line); }
.onsite-art { display: flex; align-items: flex-end; height: 140px; margin-bottom: 22px; }
.info-art { width: 180px; }
.info-strip { width: 270px; max-width: 100%; border-radius: 6px; }   /* the strip carries its own frame (data-frame) */
.onsite-item h3 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); margin: 0 0 .45em; }
.onsite-item h3 .pill { margin: 0 0 0 .35em; vertical-align: .25em; }
.onsite-item p { margin: 0 0 .7em; max-width: 34em; }
.info-price { font: 700 1.15rem/1.3 var(--f-text); color: var(--red); }
.small { font-size: .92rem; opacity: .8; }

/* ---------- footer: indigo cloth ---------- */
.site-footer { position: relative; overflow: hidden; padding: 0 0 26px; color: #E6E9F6; background: var(--indigo) url("../img/art/tiedye-1600.webp?v=48cc8d5169") center 30% / cover; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(12, 18, 50, .78), rgba(12, 18, 50, .9)); }
.site-footer .band { position: relative; margin-bottom: 52px; }
.foot-peony { position: absolute; bottom: -20px; width: 380px; opacity: .2; pointer-events: none; }
.foot-peony-l { left: -40px; }
.foot-peony-r { right: -40px; transform: scaleX(-1); }
.foot { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 30px; align-items: start; }
.foot-glyph { width: 76px; margin-bottom: 12px; }
.foot-tag { font: 400 1.5rem/1.3 var(--f-display); color: var(--white); margin-bottom: .3em; }
.foot-line { font-size: 1rem; opacity: .85; }
.foot-nav li a { display: inline-block; padding: 4px 0; color: var(--glaze); text-decoration: none; font: 400 1.2rem/1.4 var(--f-display); }
.foot-nav li a:hover { color: #F1B9A9; }
.site-footer .lbl { color: #F1B9A9; margin-bottom: .6em; }
.site-footer .link-arrow { color: var(--glaze); border-color: rgba(243, 244, 230, .35); }
.foot-langs { display: flex; gap: 14px; margin-top: 18px; }
.foot-langs a { color: #C9CFEA; font-size: .95rem; text-decoration: none; }
.foot-langs a[aria-current="true"] { color: var(--white); text-decoration: underline; }
.foot-legal { position: relative; margin-top: 40px; padding-top: 16px; border-top: 1px solid rgba(243, 244, 230, .2); font-size: .92rem; text-align: center; opacity: .75; }

/* ---------- scroll motion: every effect is one of her objects doing what it would do; all of it is off for
   "reduce motion" (JS registers nothing, the rule at the very end stops animations and transitions) ---------- */
/* the « N° » labels come down like a seal: thump, then a ring of ink */
.can-reveal .obj:not(.in) { opacity: 0; }
.obj.in { animation: stamp .62s cubic-bezier(.2, .9, .3, 1) var(--d, 0ms) both; }
.obj::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 2px solid currentColor; opacity: 0; pointer-events: none; }
.obj.in::after { animation: ink .8s ease-out calc(var(--d, 0ms) + .3s) both; }
@keyframes stamp { 0% { opacity: 0; scale: 2.3; rotate: -9deg; } 45% { opacity: 1; scale: .93; rotate: 1.5deg; } 70% { scale: 1.035; rotate: -.5deg; } 100% { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes ink { 0% { opacity: .5; scale: 1; } 100% { opacity: 0; scale: 1.14 1.7; } }
/* the titles are brushed in from left to right with a dry-brush edge (a mask slides across, then is taken off) */
[data-brush] { width: fit-content; padding: .1em .16em .16em 0; margin-top: -.1em; }
.head h2[data-brush], .booth-copy h2[data-brush], .loyal-copy h2[data-brush] { margin-bottom: .14em; }
.can-reveal [data-brush]:not(.settled) { -webkit-mask: url("../svg/brush-wipe.svg?v=0cec6f3168") 100% 0 / 300% 100% no-repeat; mask: url("../svg/brush-wipe.svg?v=0cec6f3168") 100% 0 / 300% 100% no-repeat; }
.can-reveal [data-brush].in:not(.settled) { -webkit-mask-position: 0 0; mask-position: 0 0; transition: -webkit-mask-position 1.5s cubic-bezier(.35, .15, .25, 1) calc(var(--d, 0ms) + .15s), mask-position 1.5s cubic-bezier(.35, .15, .25, 1) calc(var(--d, 0ms) + .15s); }
/* N° 1 · the case opens */
.hero { --sink: 7vh; --shrink: .2; }
.js .hero-stage { transform: translateY(calc(var(--hx, 0) * var(--sink))) scale(calc(1 - var(--hx, 0) * var(--shrink))); will-change: transform; }
.plate-ring { rotate: calc(var(--hx, 0) * -110deg); }
.js .hero-kicker { opacity: calc(1 - var(--hx, 0) * 2.5); }
@media (min-width: 1081px) {
  .js .hero-scroll { transform-origin: 0 50%; transform: perspective(900px) translateX(calc(var(--hx, 0) * -14vw)) rotateY(calc(var(--hx, 0) * 50deg)); opacity: calc(1 - var(--hx, 0) * 1.5); }
  .js .museum { transform-origin: 100% 50%; transform: perspective(900px) translateX(calc(var(--hx, 0) * 14vw)) rotateY(calc(var(--hx, 0) * -50deg)); opacity: calc(1 - var(--hx, 0) * 1.5); }
}
/* the ribbon is driven by the scroll (JS), not by the CSS loop */
.ribbon-js .ribbon-track { animation: none; transform: translate3d(var(--mx, 0px), 0, 0); will-change: transform; }
/* N° 2 · each cup drops onto its stand, the stand takes the weight, the tag swings */
.can-reveal .cell:not(.in) .cell-cup img { opacity: 0; }
.cell-cup img { transform-origin: 50% 100%; }
.cell.in .cell-cup img { animation: cupdrop 1.15s linear var(--d, 0ms) both; }
.cell.in .plinth { animation: land .5s ease-out calc(var(--d, 0ms) + .4s); }
.cell.in:not(.settled) .hang { animation: swing 1.6s var(--ease) calc(var(--d, 0ms) + .42s) both; }
/* falls (accelerating), squashes on the stand, two small bounces */
@keyframes cupdrop {
  0% { opacity: 0; transform: translateY(-150px) rotate(-4deg); animation-timing-function: cubic-bezier(.5, 0, .9, .45); }
  10% { opacity: 1; }
  35% { transform: translateY(0) scale(1.05, .9); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  52% { transform: translateY(-16px) rotate(1deg) scale(.99, 1.02); animation-timing-function: cubic-bezier(.5, 0, .8, .4); }
  66% { transform: translateY(0) scale(1.025, .96); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  80% { transform: translateY(-3px) scale(1, 1.005); animation-timing-function: ease-in; }
  100% { opacity: 1; transform: none; }
}
@keyframes land { 0%, 100% { scale: 1; } 35% { scale: 1.08 .82; } }
/* N° 3 · the tray's blue rim turns with the scroll */
.tray-rim { rotate: var(--tray, 0deg); will-change: transform; }
/* N° 4 · her sentence comes up character by character, then the translation and her name */
.dye-js .qc { position: relative; top: .5em; opacity: 0; transition: top .9s var(--ease), opacity .9s ease; transition-delay: calc(var(--i, 0) * 55ms); }
.dye-js .q-in .qc { top: 0; opacity: 1; }
.dye-js .q-tr, .dye-js .dye-quote footer { opacity: 0; translate: 0 14px; transition: opacity .9s ease, translate .9s var(--ease); }
.dye-js .q-in .q-tr, .dye-js .q-in footer { opacity: 1; translate: 0 0; transition-delay: calc(var(--n, 20) * 55ms + .1s); }
/* N° 5 · the frame hangs from its top and sways when the page moves */
.booth-stage { transform-origin: 50% 0; rotate: var(--sway, 0deg); will-change: transform; }
/* N° 6 · the tiles come in face down (blue side) and turn over one after another */
/* N° 7 · the phone slides up */
.js .loyal .phone { transform: translateY(calc((1 - var(--lp, 1)) * 170px)) rotate(calc((1 - var(--lp, 1)) * 5deg)); opacity: calc(.15 + var(--lp, 1) * .85); will-change: transform, opacity; }
/* N° 8 · the thread is uncovered stitch by stitch, the needle leads */
.can-reveal .tile:not(.in) .tile-front { transform: rotateY(-180deg); }
.can-reveal .tile:not(.in) .tile-back { transform: rotateY(0deg); }
.tile.in:not(.settled) .tile-face { transition-delay: calc(var(--d, 0ms) + .35s); }
.sewing .sew-reveal { stroke-dasharray: 1000px; stroke-dashoffset: calc((1 - var(--sp, 0)) * 1000px); transition: stroke-dashoffset .3s ease-out; }
.needle { position: absolute; left: 0; top: 0; width: 40px; height: 9px; opacity: 0; transform-origin: 5.6px 4.5px; transform: translate(calc(var(--nx, 0px) - 5.6px), calc(var(--ny, 0px) - 4.5px)) rotate(var(--na, 0deg)); transition: transform .3s ease-out, opacity .5s; filter: drop-shadow(0 2px 2px rgba(30, 32, 90, .3)); }
.sewing .needle { opacity: 1; }
.sewing.sewn .needle { opacity: 0; }
/* the thread index, right edge, desktop only */
.toc { display: none; }
@media (min-width: 1300px) {
  .toc { display: block; position: fixed; right: 18px; top: 50%; z-index: 25; padding: 12px 7px; border-radius: 999px; background: rgba(243, 244, 230, .9); backdrop-filter: blur(8px); box-shadow: 0 0 0 1px var(--line), 0 14px 30px -18px rgba(30, 32, 112, .55); opacity: 0; translate: 16px -50%; pointer-events: none; transition: opacity .5s, translate .5s var(--ease); }
  .toc-on .toc { opacity: 1; translate: 0 -50%; pointer-events: auto; }
}
.toc ol { position: relative; display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.toc-thread { position: absolute; left: 50%; top: 26px; bottom: 26px; border-left: 1.5px dashed var(--line-2); }
.toc-thread i { position: absolute; left: -1.5px; top: 0; width: 1.5px; height: calc(var(--tp, 0) * 100%); background: repeating-linear-gradient(var(--red) 0 5px, transparent 5px 9px); transition: height .6s var(--ease); }
.toc a { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; text-decoration: none; border-radius: 6px; }
.toc-seal { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 5px; border: 1.3px solid var(--red); background: var(--glaze); color: var(--red); font: 700 .8rem/1 var(--cjk-serif); transition: background .3s, color .3s, rotate .35s var(--ease), scale .35s var(--ease); }
.toc a:hover .toc-seal { scale: 1.08; }
.toc a.is-on .toc-seal { background: var(--red); color: #FBEFE6; rotate: -6deg; scale: 1.12; box-shadow: inset 0 0 0 2px rgba(255, 240, 230, .35); }
.toc-tip { position: absolute; right: calc(100% + 14px); top: 50%; translate: 6px -50%; white-space: nowrap; padding: 6px 11px; border-radius: 6px; background: var(--blue); color: var(--paper); font: 700 .82rem/1.2 var(--f-text); letter-spacing: .03em; opacity: 0; pointer-events: none; transition: opacity .25s, translate .25s var(--ease); }
.toc a:hover .toc-tip, .toc a:focus-visible .toc-tip { opacity: 1; translate: 0 -50%; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto; }
  .hero-scroll { display: none; }
  .museum::before, .museum::after { display: none; }   /* the label sits under the plate here: no leader line */
  .hero-stage { grid-column: 1 / -1; grid-row: 2; justify-self: center; width: min(520px, 62vw); }
  .hero-copy { grid-column: 1 / -1; grid-row: 3; }
  .museum { grid-column: 1 / -1; grid-row: 4; justify-self: center; margin-top: 18px; }
  .shelf { grid-auto-rows: 300px; }
  .tile-list { grid-template-columns: repeat(2, 1fr); }
  .sheet-row { grid-template-columns: 7.6rem minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-stage { grid-column: 1; width: min(440px, 76vw); margin: 54px auto 46px; }
  .hero-copy { grid-column: 1; grid-row: 4; max-width: none; }
  .museum { grid-column: 1; grid-row: 3; justify-self: stretch; width: auto; margin-bottom: 22px; }
  .skyline { opacity: .12; }
  .hero { --sink: 3vh; --shrink: .12; }
  .comp { grid-template-columns: minmax(0, 1fr); }
  .comp-stage { position: relative; top: 0; width: min(420px, 100%); margin: 0 auto; }
  .booth-in, .loyal-in { grid-template-columns: minmax(0, 1fr); }
  .booth-stage { max-width: 380px; justify-self: center; }
  /* the strip is narrow on a phone: its caption on two lines, not three, so the date stays inside the machine */
  .strip-cap { font-size: .56rem; letter-spacing: .1em; line-height: 1.4; }
  .crafts { grid-template-columns: minmax(0, 1fr); }
  .carte-head-in { grid-template-columns: minmax(0, 1fr); }
  .carte-fan { height: 240px; }
  .cat-nav-in { flex-direction: column; align-items: stretch; gap: 0; }
  .filters { align-self: flex-start; margin: 0 0 10px; }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 1.1rem; }
  .bar { gap: 10px; min-height: 60px; }
  .brand-glyph { width: 38px; }
  .brand-lan { font-size: 1.3rem; }
  .nav-d { display: none; }
  .nav-m { display: block; position: relative; }
  .nav-m > summary { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font: 700 .9rem/1 var(--f-text); cursor: pointer; }
  .nav-m:not([open]) .nav-list { display: none; }
  .nav-m[open] .nav-list { position: absolute; right: 0; top: calc(100% + 10px); flex-direction: column; min-width: 190px; padding: 8px; background: var(--white); border: 1.5px solid var(--blue); border-radius: var(--r); box-shadow: 0 12px 30px rgba(30, 32, 112, .16); }
  html { scroll-padding-top: 150px; }
  .cat-nav { top: 60px; }
  .kicker { letter-spacing: .16em; font-size: .72rem; }
  .shelf { grid-template-columns: 1fr 1fr; grid-template-rows: 370px; grid-auto-rows: 290px; }   /* the first row (the tall drink in its arch) is taller */
  .shelf .cell { grid-column: auto; grid-row: auto; }
  .shelf .cell-1 { grid-column: 1 / span 2; }
  .shelf .cell-1 .cell-cup::before { width: auto; height: 100%; aspect-ratio: .62; }   /* wide cell here: the arch follows the height */
  .shelf .cell-1 .cell-cup img { max-height: 76%; max-width: none; }
  .cell-3, .cell-7 { display: flex; }
  .cell-3 .hang-string, .cell-7 .hang-string { display: block; }
  .hang-card { min-width: 0; width: min(170px, 40vw); }
  .hang-name { font-size: .86rem; padding: 0 4px; }
  .hang-no { display: none; }
  .item-grid { grid-template-columns: repeat(2, 1fr); }
  .item-pic { height: 180px; }
  .item-pic img { max-height: calc(168px * var(--cw, 1)); }
  .opt-grid, .foot { grid-template-columns: 1fr; }
  .opt-tops, .opt-milk, .opt-sugar, .opt-ice { grid-column: auto; }
  .onsite-row { grid-template-columns: minmax(0, 1fr); }
  .onsite-item, .onsite-item + .onsite-item { padding: 26px 0 10px; border-left: 0; }
  .onsite-item + .onsite-item { border-top: 1px solid var(--line); }
  .onsite-art { height: 120px; margin-bottom: 16px; }
  .opt-tops .opt-list { grid-template-columns: 1fr; }
  .opt-tops .opt-list li:nth-last-child(2) { border-bottom: 1px dashed var(--line); }
  .pick { width: calc(33.33% - 6px); }
  .foot-peony { width: 200px; }
}
@media (max-width: 420px) {
  .langs a { min-width: 32px; padding: 4px 6px; }
  .seal-num { width: 48px; height: 48px; font-size: 1.5rem; }
}
@media (max-width: 340px) {   /* 11-11: folding phones' cover screens (280 px): the header must fit — the menu button keeps its icon
                                 (its word stays for screen readers), the brand drops its small TOULOUSE line */
  .bar { gap: 8px; }
  .brand-city { display: none; }
  .brand-lan { letter-spacing: .06em; }
  .nav-m summary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .langs a { min-width: 28px; padding: 4px 5px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* the smallest phones (iPhone SE, 360 px Android): the strip caption tighter still, two lines */
@media (max-width: 380px) { .strip-cap { font-size: .5rem; letter-spacing: .05em; } }

/* 11-11 review ---------------------------------------------------------------------------------------------------- */
/* the hot / cold dots on the cabinet's tags get a key */
.dots-key { display: flex; align-items: center; gap: .45em; margin: .2em 0 0; font: italic 400 1rem/1.4 var(--f-text); color: rgba(46, 48, 146, .8); }
.dots-key .dot-cold { margin-left: .9em; }
/* the footer line without middle dots */
.foot-legal p { display: flex; flex-wrap: wrap; gap: .3em 1.6em; }
/* phones: a mini ticket rides along at the bottom while steps 2–5 are on screen and the tray is not */
.comp-mini { display: none; }
@media (max-width: 860px) {
  .comp-mini { display: flex; align-items: center; gap: 12px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    padding: 8px 16px 8px 10px; border-radius: 16px; background: rgba(255, 255, 252, .96); box-shadow: 0 0 0 1px var(--line-2), 0 14px 30px -14px rgba(30, 32, 112, .55);
    transform: translateY(140%); transition: transform .35s var(--ease); pointer-events: none; }
  .comp-mini.show { transform: none; }
  .comp-mini-img { width: 34px; height: auto; flex: none; }
  .comp-mini-name { flex: 1; min-width: 0; font: 400 1rem/1.25 var(--f-display); color: var(--blue); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .comp-mini-sum { font: 700 1.05rem/1 var(--f-text); color: var(--red); }
}
@media (prefers-reduced-motion: reduce) { .comp-mini { transition: none; } }
/* the 404 page: the way back in the three languages */
.lost { min-height: 60vh; }
.lost-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 0; padding: 0; list-style: none; }
/* phones: the tile backs hold up to three lines with the dessert choice (11-11, mille crêpes +2 €); they overflowed at ≤ 430 px */
@media (max-width: 760px) {
  .tile-back { padding: 9% 8%; gap: 4px; }
  .tile-back .tile-lines { font-size: .86rem; line-height: 1.25; }
}
@media (max-width: 480px) { .tile-in { aspect-ratio: 4 / 5; } }
@media (max-width: 340px) { .tile-list { grid-template-columns: minmax(0, 1fr); } .tile-in { aspect-ratio: 5 / 4; } }   /* the narrowest phones: one tile a row */

/* her accounts as official app icons (11-11) */
.social { display: inline-flex; gap: 12px; align-items: center; vertical-align: middle; }
.social .soc { display: block; width: 42px; height: 42px; border-radius: 11px; transition: transform .2s, box-shadow .2s; }
.social .soc svg { display: block; width: 100%; height: 100%; }
.social .soc:hover { transform: translateY(-2px); box-shadow: 0 8px 16px -8px rgba(10, 20, 60, .55); }
.social .soc:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.social-foot { margin: 4px 0 18px; }
.social-foot .soc:focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: reduce) { .social .soc { transition: none; } .social .soc:hover { transform: none; } }

/* the map on « Nous trouver » (11-11): a porcelain-paper card until the visitor asks for Google's map */
.map-box { position: relative; aspect-ratio: 16 / 7; margin-top: 14px; border-radius: 12px; overflow: hidden;
  background: url("../svg/anhua.svg?v=adbf56c3ba") center / 520px repeat, var(--glaze); box-shadow: inset 0 0 0 1px var(--line); }
.map-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center; }
.map-pin { width: 46px; height: 46px; color: var(--red); filter: drop-shadow(0 5px 4px rgba(30, 32, 112, .18)); }
.map-ph .btn { background: var(--white); }
.map-ph .btn:hover { background: var(--wash); }
.map-open { font-size: .95rem; color: var(--blue); text-underline-offset: .2em; }
.map-note { max-width: 30em; margin: 0; font-size: .8rem; line-height: 1.45; color: rgba(30, 32, 112, .8); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) {
  .sheet { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .plan-frame .map-box { aspect-ratio: 3 / 2; min-height: 300px; }
}
@media (max-width: 560px) {
  .sheet-row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px 0 20px; }
  .sheet-row dt { padding-top: 0; }
  .plan-label { padding-top: 18px; }
  .plan-frame { padding: 11px; }
}

/* the carte: one rim width per drink category (cw-NN classes, written by build.py from the image manifest, see cup_scales()) */
.cw-89 { --cw: .89; }
.cw-91 { --cw: .91; }
.cw-92 { --cw: .92; }
.cw-93 { --cw: .93; }
.cw-94 { --cw: .94; }
.cw-96 { --cw: .96; }
