/* MAY I HELP YOU STORE
   Layout concept: the white shop wall with espresso ink. The arched mirror frames every key photo,
   a wall of logos carries the brands, the founder's letter sits on the logo's own paper colour,
   and the two themes are the store's line: light = beach day, dark = date night. */

:root {
  --logo: #79634F; --paper: #F1EADF;
  --bg: #FCFBF8; --bg-2: #F4EEE5; --card: #FFFFFF;
  --ink: #231A15; --ink-2: #6D5C4F; --line: #E4D9CB;
  --rattan: #B6A28B; --coral: #CF4527; --on-coral: #FFFFFF; --sea: #0E7C86; --ok: #2F8F5B;
  --band: #231A15; --on-band: #F6EEE3; --on-band-2: #C9B9A6; --band-line: rgba(246, 238, 227, .2);
  --band-accent: #FF8468; --band-on-accent: #22100B;
  --m-sea: #D3EBEA; --m-halo: 255, 255, 255; --m-ha: 1; --m-land: #F3E6CF; --m-coast: #B39A7C; --m-islet: #EADBC0;
  --m-ink: #2F4E50; --m-grid: rgba(14, 124, 134, .18); --m-wave: rgba(14, 124, 134, .4); --m-text-halo: rgba(211, 235, 234, .9);
  --hdr-bg: rgba(252, 251, 248, .84);
  --shadow: 0 40px 70px -42px rgba(35, 26, 21, .45);
  --display: "Cormorant", "Noto Serif SC", "Songti SC", "Times New Roman", serif;
  --body: "Montserrat", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(1.1rem, 4vw, 3rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --logo: #E6DED3; --paper: #15282B;
  --bg: #0C1719; --bg-2: #112023; --card: #15282B;
  --ink: #F3EADF; --ink-2: #A99D8E; --line: #26393C;
  --rattan: #B6A28B; --coral: #FF7A5F; --on-coral: #22100B; --sea: #63C9CC; --ok: #5FD08F;
  --band: #F3EADF; --on-band: #231A15; --on-band-2: #6D5C4F; --band-line: rgba(35, 26, 21, .2);
  --band-accent: #CF4527; --band-on-accent: #FFFFFF;
  --m-sea: #0A2A30; --m-halo: 99, 201, 204; --m-ha: .32; --m-land: #213B3B; --m-coast: #63C9CC; --m-islet: #1B3233;
  --m-ink: #BFE3E2; --m-grid: rgba(99, 201, 204, .16); --m-wave: rgba(99, 201, 204, .4); --m-text-halo: rgba(10, 42, 48, .9);
  --hdr-bg: rgba(12, 23, 25, .82);
  --shadow: 0 40px 70px -42px rgba(0, 0, 0, .85);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; font-variant-numeric: lining-nums !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
html.nav-open { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.7 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; transition: background .4s ease, color .4s ease; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 99; background: var(--ink); color: var(--bg); padding: .7rem 1rem; border-radius: 999px; }
.skip:focus { top: 1rem; }

h1, h2, .gate-h1, .quote { font-family: var(--display); font-weight: 500; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(3.1rem, 8.2vw, 8rem); line-height: .94; }
h2 { font-size: clamp(2.4rem, 5.2vw, 4.9rem); line-height: 1; }
h1 em, h2 em, .gate-h1 em { font-style: italic; font-weight: 400; color: var(--coral); }
.label { font: 600 .72rem/1.5 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.65; max-width: 34em; }
.muted { color: var(--ink-2); }
.i { width: 20px; height: 20px; flex: none; }

/* Chinese: full-width characters want more leading and smaller display sizes. There are no italics,
   so the accent colour alone carries the emphasis. Latin words inside Chinese text keep Cormorant and Montserrat. */
:is(h1, h2, h3, .gate-h1, .quote, .arch-name):lang(zh) { line-height: 1.3; letter-spacing: .02em; }
html:lang(zh) body { line-height: 1.85; }
html:lang(zh) :is(.label, .btn, .nav > a, .chip) { letter-spacing: .1em; }
html:lang(zh) h1 { font-size: clamp(2.5rem, 6.2vw, 5.8rem); }
html:lang(zh) .sec h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
html:lang(zh) .story h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); }
html:lang(zh) :is(.hero h1, .sec h2) em { display: block; }
html:lang(zh) :is(.hero h1, .sec h2) em, html:lang(zh) :is(.quote, .letter-turn, .letter-thanks, .band-sub, .lb-cap, .m-seaname) { font-style: normal; }
html:lang(ru) h1 { font-size: clamp(2.6rem, 6.6vw, 6.4rem); line-height: .98; }
html:lang(ru) h2 { font-size: clamp(2.2rem, 4.6vw, 4.3rem); }

.wrap { width: min(100% - 2 * var(--gut), 1280px); margin-inline: auto; }
.sec { padding-block: clamp(4.5rem, 10vw, 9rem); }
.arch { border-radius: 999px 999px 0 0; overflow: hidden; background: var(--bg-2); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 52px; padding: .5rem 1.6rem; border-radius: 999px; border: 1px solid transparent; font: 600 .76rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: translate .25s var(--ease), background .25s, color .25s, border-color .25s; }
.btn:hover { translate: 0 -2px; }
.btn--solid { background: var(--coral); color: var(--on-coral); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--bg); }

.status { display: inline-flex; align-items: center; gap: .55rem; padding: .65rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 .7rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rattan); flex: none; }
.status.is-open .dot { background: var(--ok); animation: blink 2s ease-in-out infinite; }
.status.is-closed .dot { background: var(--coral); }
.status--soon .dot { background: transparent; border: 1.5px dashed var(--sea); width: 10px; height: 10px; }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; }
.hdr::before { content: ""; position: absolute; inset: 0; background: var(--hdr-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .3s; }
.hdr.is-stuck::before { opacity: 1; }
.hdr-in { position: relative; display: flex; align-items: center; gap: 1.5rem; height: 72px; width: min(100% - 2 * var(--gut), 1400px); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: .7rem; margin-right: auto; position: relative; z-index: 2; color: var(--logo); text-decoration: none; }
.brand-name { font: 600 .72rem/1 var(--body); letter-spacing: .26em; text-transform: uppercase; white-space: nowrap; }
/* The logo is an alpha mask cut from logo.jpeg, so it takes the theme's --logo colour. */
.logo-mark, .logo-lockup { display: block; flex: none; background: var(--logo); transition: background .4s ease; }
.logo-mark { width: 46px; aspect-ratio: 541 / 447; -webkit-mask: url(../img/logo-mark.png) center / contain no-repeat; mask: url(../img/logo-mark.png) center / contain no-repeat; }
.logo-lockup { width: 132px; aspect-ratio: 1; -webkit-mask: url(../img/logo-lockup.png) center / contain no-repeat; mask: url(../img/logo-lockup.png) center / contain no-repeat; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav > a { position: relative; padding: .4rem 0; font: 500 .76rem/1 var(--body); letter-spacing: .13em; text-transform: uppercase; text-decoration: none; }
.nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; scale: 0 1; transform-origin: left; transition: scale .35s var(--ease); }
.nav > a:hover::after, .nav > a[aria-current]::after { scale: 1 1; }
.hdr-tools { display: flex; align-items: center; gap: .6rem; position: relative; z-index: 2; }
.langs { display: flex; gap: .1rem; padding: .2rem; border: 1px solid var(--line); border-radius: 999px; }
.langs a { padding: .4rem .65rem; border-radius: 999px; font: 600 .7rem/1 var(--body); letter-spacing: .08em; text-decoration: none; color: var(--ink-2); }
.langs a:hover { color: var(--ink); }
.langs a[aria-current] { background: var(--ink); color: var(--bg); }
.theme, .burger, .round { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.theme:hover, .round:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.theme .i-sun { display: none; }
[data-theme="dark"] .theme .i-sun { display: block; }
[data-theme="dark"] .theme .i-moon { display: none; }
.burger { gap: 0; align-content: center; }
.burger span { display: block; width: 16px; height: 1.5px; background: currentColor; margin: 2.5px 0; transition: translate .3s var(--ease), rotate .3s var(--ease); }
.nav-open .burger span:first-child { translate: 0 3.25px; rotate: 45deg; }
.nav-open .burger span:last-child { translate: 0 -3.25px; rotate: -45deg; }

/* Six links plus the language switch need about 1160px in Russian, so the menu button takes over below that. */
@media (min-width: 1160px) { .burger, .langs--menu { display: none; } .nav > a { white-space: nowrap; } }
@media (max-width: 1159px) {
  .langs--bar { display: none; }
  .nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: .9rem; padding: 5.5rem var(--gut) 3rem; background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav > a { font: 500 clamp(2.3rem, 10vw, 3.2rem)/1.15 var(--display); letter-spacing: -.01em; text-transform: none; }
  html:lang(zh) .nav > a { line-height: 1.4; letter-spacing: .04em; }
  .langs--menu { margin-top: 1.5rem; }
  .langs--menu a { padding: .6rem 1rem; font-size: .8rem; }
}

/* ---------- Hero ---------- */
.hero { padding-top: calc(72px + clamp(1.5rem, 4vw, 3.5rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.hero-copy { display: grid; gap: clamp(1.2rem, 2vw, 1.8rem); justify-items: start; }
.hero-copy > * { animation: rise 1s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .3s; }
/* main.js feeds --mx/--my (pointer) and --sy (scroll) so the layers of the hero drift at different depths. */
.hero-art { position: relative; justify-self: end; width: min(100%, 450px); margin-bottom: 2rem; --mx: 0; --my: 0; --sy: 0; }
.hero-arch { position: relative; aspect-ratio: 2 / 3; box-shadow: var(--shadow); animation: unveil 1.3s var(--ease) both; }
/* The big arch is a slow slideshow: photos cross-fade while each one eases back from a close-up. */
.hero-arch img { position: absolute; inset: 0; opacity: 0; scale: 1.24; transition: opacity 1.6s ease, scale 0s 1.6s; }
.hero-arch img.is-on { opacity: 1; scale: 1.06; transition: opacity 1.6s ease, scale 9s cubic-bezier(.2, .5, .3, 1); }
.js .hero-arch img { transform: translate3d(0, calc(var(--sy) * 2.8%), 0); }
.bars { position: absolute; left: 50%; bottom: 1.1rem; z-index: 1; display: flex; gap: 6px; translate: -50% 0; }
.bars i { width: 26px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .45); overflow: hidden; }
.bars i::after { content: ""; display: block; height: 100%; background: #fff; scale: 0 1; transform-origin: 0 50%; }
.bars i.is-on::after { animation: fill 5.2s linear both; }
@keyframes fill { to { scale: 1 1; } }
.hero-arch2 { position: absolute; left: -24%; bottom: -7%; width: 42%; aspect-ratio: 3 / 4; border: 6px solid var(--bg); box-shadow: var(--shadow); transform: translate3d(calc(var(--mx) * 14px), calc(var(--my) * 10px - var(--sy) * 50px), 0); animation: rise 1s var(--ease) .5s both, bob 7s ease-in-out 1.6s infinite alternate; }
.stamp { position: absolute; left: -13%; top: 1%; width: clamp(92px, 27%, 124px); height: auto; overflow: visible; transform: translate3d(calc(var(--mx) * -18px), calc(var(--my) * -12px + var(--sy) * 34px), 0); animation: rise 1s var(--ease) 1s both; }
.stamp-disc { fill: var(--bg); stroke: var(--line); transition: fill .4s ease; }
.stamp-turn { transform-origin: 60px 60px; animation: spin 26s linear infinite; }
.stamp text { font: 600 8.4px var(--body); fill: var(--ink); }
.stamp-sun path { fill: none; stroke: var(--coral); stroke-width: 2.2; stroke-linecap: round; }
.status--float { position: absolute; right: -.75rem; top: 62%; box-shadow: var(--shadow); transform: translate3d(calc(var(--mx) * -10px), calc(var(--my) * -8px - var(--sy) * 24px), 0); animation: rise 1s var(--ease) .8s both; }
@keyframes rise { from { opacity: 0; translate: 0 26px; } }
@keyframes bob { to { translate: 0 -12px; } }
/* Ends on negative insets so the arch's drop shadow is not clipped away once it has risen. */
@keyframes unveil { from { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); } to { clip-path: inset(-30px -70px -110px -70px round 999px 999px 0 0); } }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 1.5rem; margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .2rem; padding-top: 1.3rem; }
.facts dd { font: 500 clamp(1.5rem, 2.6vw, 2.3rem)/1.15 var(--display); }
.facts dt { font-size: .8rem; color: var(--ink-2); }

@media (max-width: 899px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { width: 72%; margin-top: 1rem; }
  .hero-arch2 { left: -36%; }
  .status--float { right: -.25rem; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(n+3) { margin-top: 1.3rem; border-top: 1px solid var(--line); }
}

/* ---------- Brands ---------- */

.brand-index { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.brand-index > .label { margin-bottom: 1.1rem; }
/* The logo wall: a specimen sheet ruled with hairlines. Each logo is a transparent cut-out in the ink colour,
   sized by --w (set per logo in the build so wide wordmarks and square marks carry the same weight).
   A tile with photos is a link: main.js shows that brand's pieces in the lookbook below. */
.logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-tile { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 2; color: var(--ink); text-decoration: none; transition: background .3s ease, box-shadow .3s ease; }
.logo-tile:has(.tile-note) { padding-bottom: 1.1rem; }
.logo-tile:focus-visible { outline-offset: -4px; }
.blogo { width: var(--w, 60%); height: auto; transition: translate .45s var(--ease), filter .4s ease; }
[data-theme="dark"] .blogo { filter: brightness(0) invert(.92); }
.logo-tile .nm { padding-inline: .6rem; font: 500 clamp(1rem, 1.55vw, 1.4rem)/1.15 var(--display); letter-spacing: .06em; text-align: center; overflow-wrap: anywhere; transition: translate .45s var(--ease); }
.tile-note { position: absolute; inset: auto .5rem .6rem; font: 500 .66rem/1.3 var(--body); letter-spacing: .03em; text-align: center; color: var(--coral); }
a.logo-tile:hover { background: var(--bg-2); }
a.logo-tile:hover :is(.blogo, .nm) { translate: 0 -3px; }
a.logo-tile[aria-current="true"] { background: var(--card); box-shadow: inset 0 0 0 1px var(--coral); }
.logo-tile--text { color: var(--ink-2); cursor: default; }
.brand-note { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); }

.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.split-head { display: grid; gap: 1.2rem; }
.split-body { display: grid; gap: 2rem; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.specs .label { margin-bottom: .6rem; }
.spec-list { font: 500 1.35rem/1.45 var(--display); }
.prints { display: grid; gap: .45rem; }
.prints li { display: flex; align-items: center; gap: .6rem; font: 500 1.3rem/1.2 var(--display); }
.sw { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1px solid rgba(127, 127, 127, .35); }
.sw--zebra { background: repeating-linear-gradient(118deg, #161312 0 4px, #F7F2EA 4px 9px); }
.sw--leopard { background: radial-gradient(circle at 30% 30%, #3A2416 0 2.5px, transparent 3px), radial-gradient(circle at 70% 40%, #3A2416 0 3px, transparent 3.5px), radial-gradient(circle at 40% 74%, #3A2416 0 2.5px, transparent 3px), radial-gradient(circle at 78% 80%, #3A2416 0 2px, transparent 2.5px), #C9995A; }
.sw--black { background: #161312; }
.sw--beige { background: #DCC6A4; }

.strip-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); margin-bottom: 1.25rem; }
/* Once a brand is picked, its logo joins the lookbook's title, next to a chip that brings every brand back. */
.rack-title { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.75rem; min-height: 42px; }
.rack-now { display: flex; align-items: center; gap: 1rem; }
.rack-now[hidden] { display: none; }
.rack-logo { display: flex; align-items: center; }
.rack-logo .blogo { width: auto; height: auto; max-width: 11rem; max-height: 2.4rem; object-fit: contain; }
.rack-logo .nm { font: 500 clamp(1.5rem, 2.4vw, 2rem)/1 var(--display); letter-spacing: .05em; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: .3rem .95rem; border: 1px solid var(--line); border-radius: 999px; font: 600 .66rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.chip:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.strip-nav { display: flex; gap: .5rem; }
.strip-nav .round:first-child .i { rotate: 180deg; }
/* The lookbook: the tried-on photos as a quiet editorial row. Frames step down and up along the row, each photo
   rises into its frame as the row arrives and drifts a little inside it as the row scrolls (--px, set by main.js),
   and the others step back when one is under the pointer. A hairline underneath shows the place in the row. */
.rack { position: relative; }
.strip { position: relative; display: flex; align-items: flex-start; gap: clamp(1rem, 2.2vw, 2.25rem); overflow: auto hidden; padding: 0 max(var(--gut), calc((100% - 1280px) / 2)) 1.75rem; scroll-snap-type: x proximity; scroll-padding-inline: max(var(--gut), calc((100% - 1280px) / 2)); scrollbar-width: none; cursor: grab; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.strip.is-drag .ph { cursor: grabbing; }
.strip-item { flex: 0 0 clamp(210px, 21vw, 290px); scroll-snap-align: start; transition: opacity .45s ease; }
.strip-item.is-low, html:not(.js) .strip-item:nth-child(even) { margin-top: clamp(1.75rem, 3.6vw, 3.5rem); }
.strip-item[hidden] { display: none; }
.ph { display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 2px; background: var(--bg-2); clip-path: inset(0); transition: clip-path 1.2s var(--ease); transition-delay: calc(min(var(--i), 8) * 70ms); }
.ph img { width: 110%; max-width: none; height: 100%; margin-left: -5%; object-fit: cover; transform: translate3d(calc(var(--px, 0) * -4%), 0, 0); transition: scale 1.4s var(--ease); -webkit-user-drag: none; user-select: none; }
.ph:hover img { scale: 1.05; }
.js .rack:not(.in) .ph { clip-path: inset(100% 0 0 0); }
.js .rack:not(.in) .ph img { scale: 1.3; }
.js .rack:not(.in) .strip-item figcaption { opacity: 0; }
/* main.js sets .is-reset for one frame when the brand changes, so the photos drop out of sight and rise again. */
.rack.is-reset :is(.ph, .ph img, figcaption) { transition: none; }
@media (hover: hover) { .strip:not(.is-drag):has(.strip-item:hover) .strip-item:not(:hover) { opacity: .5; } }
/* The brand's name under each photo: press it to see the rest of that brand. */
.strip-item figcaption { display: flex; align-items: center; gap: .7rem; margin-top: .95rem; transition: opacity .8s ease; transition-delay: calc(min(var(--i), 8) * 70ms + .3s); }
.strip-item figcaption::before { content: ""; flex: none; width: 1.5rem; height: 1px; background: var(--rattan); }
.strip-item figcaption a { font: 500 1rem/1.3 var(--display); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--ink); transition: color .25s; }
.strip-item figcaption a:hover { color: var(--coral); }
.strip-bar { --w: .2; --p: 0; position: relative; height: 1px; margin-top: .25rem; background: var(--line); }
.strip-bar[hidden] { display: none; }
.strip-bar i { position: absolute; top: -1px; left: calc(var(--p) * (1 - var(--w)) * 100%); width: calc(var(--w) * 100%); height: 3px; border-radius: 3px; background: var(--ink); }
.quote-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.quote { font-style: italic; font-weight: 400; font-size: clamp(1.9rem, 3.8vw, 3.4rem); line-height: 1.1; }

@media (max-width: 899px) {
  .split { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile-note { inset: auto .3rem .4rem; font-size: .56rem; line-height: 1.25; }
  .strip-item { flex-basis: 62vw; }
  .strip-nav { display: none; }
}
@media (max-width: 599px) {
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo-tile { aspect-ratio: 4 / 3; }
  .logo-tile:has(.tile-note) { padding-bottom: 1.7rem; }
  .logo-tile:has(.tile-note) .blogo { width: calc(var(--w) * .78); }
}

/* ---------- Store ---------- */
.store { background: var(--bg-2); transition: background .4s ease; }
.store-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.store-front { aspect-ratio: 4 / 5; width: min(100%, 470px); box-shadow: var(--shadow); }
.store-copy { display: grid; gap: 1.4rem; justify-items: start; }
.store-copy > p:not(.label):not(.lead):not(.status) { color: var(--ink-2); max-width: 34em; }
/* Four arched windows. Small screens: a 2x2 grid with the caption underneath.
   Wide screens: a row where the window you point at opens up and the others step back (main.js moves .is-on). */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(.9rem, 2vw, 1.75rem); margin-top: clamp(3.5rem, 8vw, 7rem); }
.cat figure { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px 6px 6px; background: var(--card); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease), filter .9s ease; }
.cat-cap { padding-top: .9rem; }
.cat-no { display: none; }
.cat h3 { font: 500 clamp(1.3rem, 2vw, 1.7rem)/1.2 var(--display); }
.cat p { font-size: .85rem; color: var(--ink-2); }
@media (min-width: 900px) {
  .cats { display: flex; gap: clamp(.7rem, 1.4vw, 1.25rem); height: clamp(430px, 43vw, 590px); }
  .cat { position: relative; flex: 1 1 0; min-width: 0; }
  .cat:nth-child(even) { margin-top: 2.75rem; }
  .cat.is-on { flex-grow: 2.2; }
  .js .cat.reveal { transition: opacity .9s var(--ease), translate .9s var(--ease), flex-grow .9s var(--ease); transition-delay: calc(var(--i) * 90ms), calc(var(--i) * 90ms), 0s; }
  .cat figure { position: absolute; inset: 0; aspect-ratio: auto; }
  .cat figure::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(24, 14, 9, .78)); pointer-events: none; }
  .cat img { object-position: 50% 28%; scale: 1.1; filter: saturate(.5) brightness(.9); }
  .cat.is-on img { scale: 1; filter: none; }
  .cat-cap { position: absolute; inset: auto 0 0; padding: 1.2rem 1.3rem 1.35rem; overflow: hidden; color: #fff; pointer-events: none; }
  .cat-no { display: block; margin-bottom: .35rem; font: 600 .64rem/1 var(--body); letter-spacing: .16em; opacity: .75; }
  .cat h3 { font-size: clamp(1.35rem, 2.1vw, 2rem); overflow-wrap: anywhere; }
  .cat p { width: 17rem; max-height: 0; opacity: 0; overflow: hidden; color: rgba(255, 255, 255, .88); transition: max-height .7s var(--ease), opacity .45s ease; }
  .cat.is-on p { max-height: 6em; opacity: 1; transition-delay: .3s; }
}
/* The wide shot opens like a window as it scrolls into view: main.js moves --p from 0 to 1. */
.wide { margin-top: clamp(3rem, 7vw, 6rem); }
.wide-frame { --p: 1; display: block; overflow: hidden; border-radius: 6px; clip-path: inset(calc((1 - var(--p)) * 10%) calc((1 - var(--p)) * 18%) round calc(6px + (1 - var(--p)) * 320px)); }
.js .wide-frame { --p: 0; }
.wide img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; scale: calc(1 + (1 - var(--p)) * .3); }
.wide figcaption { margin-top: .75rem; font-size: .8rem; color: var(--ink-2); }
/* A short roll of details from around the store, under the wide shot. */
.roll { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.7rem, 1.4vw, 1.25rem); margin-top: clamp(1.25rem, 2.4vw, 2rem); }
.roll figure { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; background: var(--card); }
.roll img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease); }
.roll figure:hover img { scale: 1.06; }
@media (max-width: 899px) {
  .store-grid { grid-template-columns: minmax(0, 1fr); }
  .store-front { width: 78%; }
  .wide img { aspect-ratio: 3 / 2; }
  .roll { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Our story: the founder's letter ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.story-side { display: grid; gap: 1.4rem; justify-items: start; }
.story h2 { font-size: clamp(2.2rem, 4.2vw, 3.9rem); line-height: 1.02; }
.story-arch { width: min(74%, 320px); aspect-ratio: 3 / 4; margin-top: .6rem; box-shadow: var(--shadow); }
@media (min-width: 900px) and (min-height: 800px) { .story-side { position: sticky; top: 100px; } }
.letter { display: grid; gap: 1.25rem; padding: clamp(1.75rem, 5vw, 4.25rem); border: 1px solid var(--line); border-radius: 28px; background: var(--paper); transition: background .4s ease, opacity .9s var(--ease), translate .9s var(--ease); }
.letter p { max-width: 58ch; }
.letter-mark { width: 64px; margin-bottom: .6rem; }
.letter-lead { font: 500 clamp(1.4rem, 2.1vw, 1.9rem)/1.42 var(--display); }
.letter-turn { padding-block: .35rem; font: italic 400 clamp(1.8rem, 3.2vw, 2.8rem)/1.12 var(--display); color: var(--coral); text-wrap: balance; }
.letter-turn .nb { display: inline-block; }
.letter em { font: italic 500 1.4em/1 var(--display); color: var(--coral); }
.letter-thanks { margin-top: .5rem; font: italic 400 clamp(1.7rem, 2.8vw, 2.4rem)/1.2 var(--display); }
.letter-sign { display: grid; gap: .55rem; }
.letter-sign .sig { font: italic 500 clamp(3rem, 6vw, 4.6rem)/.9 var(--display); color: var(--logo); }
.letter .letter-slogan { max-width: none; margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font: 600 .7rem/1.5 var(--body); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); }
html:lang(zh) :is(.letter-lead, .letter-turn, .letter-thanks) { line-height: 1.55; }
html:lang(zh) .letter-lead { font-size: clamp(1.2rem, 1.7vw, 1.55rem); }
html:lang(zh) .letter-turn { font-size: clamp(1.6rem, 2.7vw, 2.4rem); }
html:lang(ru) .story h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); }
@media (max-width: 899px) {
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .story-arch { width: 56%; }
  .letter { border-radius: 20px; }
}

/* ---------- Reviews: the Google rating, plus live review cards once a browser key is set ---------- */
:root { --star: #B58A2E; }
:root[data-theme="dark"] { --star: #E2B866; }
.reviews { background: var(--bg-2); transition: background .4s ease; }
.rv-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.rv-head { display: grid; gap: 1.2rem; }
.rv-sum { display: grid; gap: 1.5rem; justify-items: start; }
.rv-score { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 1.9rem); }
.rv-num { font: 500 clamp(5rem, 10vw, 8.6rem)/.8 var(--display); letter-spacing: -.02em; }
.rv-fig { display: grid; gap: .5rem; min-width: 0; }
.rv-of { font: 600 .7rem/1.4 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.rv-count { font: 500 clamp(1.15rem, 1.6vw, 1.45rem)/1.25 var(--display); }
/* One star tile repeated five times as a mask; --r (0 to 5) says how far the gold runs. */
.rv-stars { --r: 5; --s: 1rem; flex: none; width: calc(var(--s) * 5); height: var(--s); background: linear-gradient(90deg, var(--star) calc(var(--r) * 20%), color-mix(in srgb, var(--rattan) 38%, transparent) 0); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 5.9 6.5.9-4.7 4.6 1.1 6.5L12 17.4l-5.8 3.1 1.1-6.5L2.6 9.4l6.5-.9z'/%3E%3C/svg%3E") 0 50% / 20% 100% repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 5.9 6.5.9-4.7 4.6 1.1 6.5L12 17.4l-5.8 3.1 1.1-6.5L2.6 9.4l6.5-.9z'/%3E%3C/svg%3E") 0 50% / 20% 100% repeat-x; }
.rv-stars--lg { --s: clamp(1.35rem, 2vw, 1.7rem); }
/* Where the figures come from: the date of the last build, or a live dot once main.js has fresh ones. */
.rv-src { display: flex; align-items: center; gap: .55rem; font-size: .8rem; line-height: 1.5; color: var(--ink-2); }
.rv-src .dot { display: none; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--ok); animation: blink 2s ease-in-out infinite; }
.rv-src.is-live .dot { display: block; }

/* The cards: a full-bleed row that snaps, about three across on a desktop. */
.rv-row { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.rv-list { display: flex; gap: clamp(.9rem, 1.6vw, 1.5rem); overflow: auto hidden; padding: 0 max(var(--gut), calc((100% - 1280px) / 2)) .25rem; scroll-snap-type: x proximity; scroll-padding-inline: max(var(--gut), calc((100% - 1280px) / 2)); scrollbar-width: none; }
.rv-list::-webkit-scrollbar { display: none; }
.rv-card { flex: 0 0 clamp(280px, 31vw, 408px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.4rem, 2.2vw, 2rem); border: 1px solid var(--line); border-radius: 20px; background: var(--card); transition: background .4s ease, border-color .4s ease; animation: rv-in .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes rv-in { from { opacity: 0; translate: 0 18px; } }
.rv-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden; font: 500 clamp(1.2rem, 1.45vw, 1.38rem)/1.42 var(--display); white-space: pre-line; overflow-wrap: anywhere; }
.rv-card.is-open .rv-text { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.rv-tools { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem 1rem; font-size: .74rem; line-height: 1.5; color: var(--ink-2); }
.rv-tools[hidden] { display: none; }
.rv-link { padding: .3rem 0; border: 0; background: none; font: 600 .68rem/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: underline; text-decoration-color: var(--rattan); text-underline-offset: 4px; cursor: pointer; transition: color .25s; }
.rv-link:hover { color: var(--coral); }
.rv-by { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: .1rem .8rem; align-items: center; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.rv-av { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--bg-2); }
.rv-av--txt { display: grid; place-items: center; border: 1px solid var(--line); font: 500 1.25rem/1 var(--display); color: var(--ink-2); }
.rv-name { align-self: end; font: 600 .84rem/1.3 var(--body); text-decoration: none; overflow-wrap: anywhere; }
a.rv-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.rv-meta { align-self: start; font-size: .74rem; line-height: 1.4; color: var(--ink-2); }
.rv-meta a { text-decoration-color: var(--rattan); text-underline-offset: 3px; }
.rv-meta a:hover { color: var(--ink); }
/* Placeholders while the reviews are on their way, so the page does not jump when they land. */
.rv-card--wait { min-height: 19rem; animation: none; }
.rv-sk { display: block; height: .7rem; border-radius: 999px; background: var(--line); animation: rv-wait 1.3s ease-in-out infinite alternate; }
.rv-sk:first-child { width: 5rem; height: 1rem; margin-bottom: .4rem; }
.rv-sk:nth-child(3) { width: 92%; }
.rv-sk:nth-child(4) { width: 96%; }
.rv-sk:nth-child(5) { width: 58%; }
@keyframes rv-wait { from { opacity: .35; } to { opacity: 1; } }
.rv-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.4rem; }
.rv-row:not(.is-live) .rv-foot { visibility: hidden; }
.rv-note { max-width: 62ch; font-size: .76rem; line-height: 1.55; color: var(--ink-2); }
.rv-nav { display: flex; flex: none; gap: .5rem; }
.rv-nav .round:first-child .i { rotate: 180deg; }
.rv-nav .round:disabled { opacity: .35; pointer-events: none; }
html:lang(zh) .reviews :is(h2 em, .rv-text, .rv-count) { font-style: normal; }
html:lang(zh) :is(.rv-of, .rv-link) { letter-spacing: 0; font-size: .78rem; }
html:lang(zh) .rv-text { font-size: 1.05rem; line-height: 1.75; }
@media (max-width: 899px) {
  .rv-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .rv-card { flex-basis: min(82vw, 360px); }
  .rv-nav { display: none; }
}

/* ---------- Find us + map ---------- */
.find-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto 1fr; grid-template-areas: "map head" "map locs"; gap: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 6vw, 6rem); align-items: start; }
.find-head { grid-area: head; display: grid; gap: 1.2rem; }
.map { grid-area: map; }
.locs { grid-area: locs; display: grid; gap: 1rem; }
.map-svg { display: block; width: 100%; height: auto; border-radius: 28px; background: var(--m-sea); box-shadow: var(--shadow); }
.map figcaption { margin-top: .7rem; font-size: .7rem; color: var(--ink-2); }

.m-sea { fill: var(--m-sea); transition: fill .4s ease; }
.m-grat line { stroke: var(--m-grid); stroke-width: 1; stroke-dasharray: 2 7; }
.m-grat text, .m-scale text, .m-compass text { font: 500 13px var(--body); letter-spacing: .06em; fill: var(--m-ink); opacity: .65; }
.m-halo use { fill: none; stroke: rgb(var(--m-halo)); stroke-linejoin: round; }
.m-halo .h3 { stroke-width: 150px; opacity: calc(.24 * var(--m-ha)); }
.m-halo .h2 { stroke-width: 92px; opacity: calc(.3 * var(--m-ha)); }
.m-halo .h1 { stroke-width: 42px; opacity: calc(.5 * var(--m-ha)); animation: tide 6s ease-in-out infinite alternate; }
@keyframes tide { to { stroke-width: 56px; } }
.m-waves path { fill: none; stroke: var(--m-wave); stroke-width: 1.6; stroke-linecap: round; animation: drift 5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.7s); }
@keyframes drift { from { translate: -8px 0; } to { translate: 10px 0; } }
.m-seaname { font: italic 400 30px var(--display); letter-spacing: .3em; fill: var(--m-ink); opacity: .45; }
.m-islets path { fill: var(--m-islet); stroke: var(--m-coast); stroke-width: .8; }
.m-land { fill: var(--m-land); transition: fill .4s ease; }
.m-coast { fill: none; stroke: var(--m-coast); stroke-width: 1.8; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.m-route { fill: none; stroke: var(--coral); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: .012 .014; animation: march 1.4s linear infinite; }
@keyframes march { to { stroke-dashoffset: -.026; } }
.m-traveller { fill: var(--coral); stroke: var(--m-land); stroke-width: 2; }
.m-place circle { fill: var(--m-ink); opacity: .75; }
.m-place text { font: 500 19px var(--body); fill: var(--m-ink); paint-order: stroke; stroke: var(--m-text-halo); stroke-width: 5px; stroke-linejoin: round; }
.m-compass circle { fill: none; stroke: var(--m-ink); opacity: .35; }
.m-compass path { fill: none; stroke: var(--m-ink); stroke-width: 1.2; stroke-linejoin: round; }
.m-compass .n { fill: var(--coral); stroke: none; }
.m-scale path { fill: none; stroke: var(--m-ink); stroke-width: 1.5; opacity: .7; }

.m-pin { cursor: pointer; }
.m-pin .hit { fill: transparent; }
.m-pin .name { font: 600 36px var(--display); fill: var(--ink); paint-order: stroke; stroke: var(--m-text-halo); stroke-width: 7px; stroke-linejoin: round; }
.m-pin .sub { font: 600 13px var(--body); letter-spacing: .16em; text-transform: uppercase; paint-order: stroke; stroke: var(--m-text-halo); stroke-width: 5px; stroke-linejoin: round; }
.m-pin--open .sub { fill: var(--coral); }
.m-pin--soon .sub { fill: var(--sea); }
.m-pin .drop { fill: var(--coral); stroke: var(--m-land); stroke-width: 2; transform-box: fill-box; transform-origin: 50% 100%; transition: scale .35s var(--ease); }
.m-pin .eye { fill: var(--m-land); }
.m-pin .pulse { fill: none; stroke: var(--coral); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ping 2.8s ease-out infinite; }
.m-pin .pulse--2 { animation-delay: 1.4s; }
@keyframes ping { from { scale: .6; opacity: .9; } to { scale: 4.4; opacity: 0; } }
.m-pin .core { fill: var(--m-sea); stroke: var(--sea); stroke-width: 2.5; transition: fill .3s; }
.m-pin .ring { fill: none; stroke: var(--sea); stroke-width: 1.8; stroke-dasharray: 5 6; transform-box: fill-box; transform-origin: center; animation: spin 16s linear infinite; }
.m-pin .ring--2 { opacity: .5; animation-duration: 26s; animation-direction: reverse; }
@keyframes spin { to { rotate: 360deg; } }
.find.is-rawai .m-pin--open .drop, .m-pin--open:hover .drop, .m-pin--open:focus-visible .drop { scale: 1.3; }
.find.is-bangtao .m-pin--soon .core, .m-pin--soon:hover .core, .m-pin--soon:focus-visible .core { fill: var(--sea); }

/* Map intro: the coastline draws itself, then land, places and pins arrive. Without JS everything is simply visible. */
.m-coast { transition: stroke-dashoffset 2.8s var(--ease); }
.m-land, .m-islets, .m-halo { transition: opacity 1.4s ease .9s, fill .4s ease; }
.m-place { transition: opacity .6s ease calc(1.7s + var(--i) * .12s); }
.m-route { transition: opacity .8s ease 2.5s; }
.m-traveller { transition: opacity .5s ease 3s; }
.m-pin--open { transition: opacity .4s ease 2s; }
.m-pin--soon { transition: opacity .6s ease 2.9s; }
.js .map:not(.in) .m-coast { stroke-dashoffset: 1; }
.js .map:not(.in) :is(.m-land, .m-islets, .m-halo, .m-place, .m-route, .m-traveller, .m-pin) { opacity: 0; }
.map.in .m-pin--open .drop { animation: drop .8s var(--ease) 2s backwards; }
@keyframes drop { from { translate: 0 -70px; opacity: 0; } }

.loc { display: grid; gap: 1.1rem; padding: clamp(1.25rem, 2.5vw, 2rem); border: 1px solid var(--line); border-radius: 20px; background: var(--card); transition: border-color .3s, box-shadow .3s, background .4s ease, opacity .9s var(--ease), translate .9s var(--ease); }
.loc header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; }
.loc h3 { font: 500 clamp(2rem, 3.2vw, 2.8rem)/1 var(--display); }
.loc dl { display: grid; gap: .75rem; }
.loc dl > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.loc dt { font: 600 .68rem/1.9 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.loc dd a { text-decoration-color: var(--rattan); text-underline-offset: 3px; }
.loc--soon { border-style: dashed; background: transparent; }
.loc--soon > p:not(.actions) { color: var(--ink-2); max-width: 36em; }
.loc .status--badge { background: transparent; }
.find.is-rawai #loc-rawai, .find.is-bangtao #loc-bangtao { border-color: var(--coral); box-shadow: var(--shadow); }

@media (max-width: 899px) {
  .find-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "head" "map" "locs"; }
  .map-svg { border-radius: 20px; }
  .loc dl > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-grid > :first-child { display: grid; gap: 1.2rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font: 500 clamp(1.3rem, 2vw, 1.7rem)/1.25 var(--display); }
.plus { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: rotate .3s var(--ease); }
.plus::after { rotate: 90deg; }
details[open] .plus::after { rotate: 0deg; }
.faq-list details p { padding: 0 3.5rem 1.6rem 0; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 899px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } .faq-list details p { padding-right: 0; } }

/* ---------- Contact band ---------- */
.band { background: var(--band); color: var(--on-band); padding-block: clamp(4.5rem, 10vw, 9rem); transition: background .4s ease, color .4s ease; }
.band-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.band-copy { display: grid; gap: 1.5rem; justify-items: start; }
.band h2 { font-size: clamp(3.4rem, 10vw, 9.5rem); line-height: .9; letter-spacing: -.02em; }
.band h2 em { color: var(--band-accent); }
.band-sub { font: italic 400 clamp(1.4rem, 2.4vw, 2rem)/1.3 var(--display); color: var(--on-band-2); }
.band .lead { color: var(--on-band-2); }
.band .btn--solid { background: var(--band-accent); color: var(--band-on-accent); }
.band .btn--line { border-color: var(--band-line); color: var(--on-band); }
.band .btn--line:hover { background: var(--on-band); color: var(--band); }
.reach { display: flex; flex-wrap: wrap; gap: 1.25rem 3rem; width: 100%; padding-top: 1.5rem; border-top: 1px solid var(--band-line); }
.reach dt { font: 600 .68rem/1.6 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--on-band-2); }
.reach dd a { font: 500 clamp(1.2rem, 1.8vw, 1.5rem)/1.3 var(--display); text-decoration: none; overflow-wrap: anywhere; }
.reach dd a:hover { text-decoration: underline; text-underline-offset: 4px; }
.band-arch { aspect-ratio: 2 / 3; }
@media (max-width: 899px) { .band-grid { grid-template-columns: minmax(0, 1fr); } .band-arch { width: 62%; justify-self: end; } }

/* ---------- Footer ---------- */
.ftr { padding-block: clamp(3rem, 6vw, 5rem) 2rem; font-size: .9rem; }
.ftr-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr)); gap: 2.5rem; }
.ftr-brand { display: grid; gap: .8rem; align-content: start; justify-items: start; }
.ftr .label { margin-bottom: .9rem; }
.ftr ul { display: grid; gap: .45rem; }
.ftr a { text-decoration: none; overflow-wrap: anywhere; }
.ftr a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr address + p { margin-top: .45rem; }
.ftr address strong { font-weight: 600; }
.ftr-soon { margin-top: 1.1rem; color: var(--ink-2); }
.ftr-logo { display: block; }
.ftr-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-2); }
@media (max-width: 899px) { .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr-brand { grid-column: 1 / -1; } }
@media (max-width: 519px) { .ftr-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Gallery page: every photo, in one mosaic ---------- */
/* Opening: a breadcrumb line, the page title at hero scale and the lead beside it. */
.gal-top { padding-top: calc(72px + clamp(1.5rem, 4vw, 3.5rem)); padding-bottom: clamp(1rem, 2.2vw, 1.75rem); }
.gal-top-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(1.2rem, 2vw, 1.8rem) clamp(1.5rem, 5vw, 5rem); align-items: end; }
.gal-top-in > * { animation: rise 1s var(--ease) both; }
.gal-top-in > h1 { animation-delay: .08s; }
.gal-top-in > .lead { padding-bottom: .5em; animation-delay: .2s; }
.gal-crumbs { grid-column: 1 / -1; }
.gal-crumbs a { text-decoration: none; transition: color .25s; }
.gal-crumbs a:hover, .gal-crumbs [aria-current] { color: var(--ink); }
.gal-crumbs [aria-hidden] { margin-inline: .8em; opacity: .55; }
html:lang(zh) .gal-top h1 em { display: block; font-style: normal; }
html:has(.gallery-page) { scroll-padding-top: 148px; }

/* The chips stay in reach: their row sticks under the header and, once the mosaic slides beneath it (main.js sets
   .is-stuck), carries the hairline that the header then gives up, so the two read as one bar. */
.gal-body { padding-bottom: clamp(3rem, 7vw, 6rem); }
.gal-bar { display: none; position: sticky; top: 72px; z-index: 5; padding-block: .65rem; }
.js .gal-bar { display: block; }
.gal-bar::before { content: ""; position: absolute; inset: 0; background: var(--hdr-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.gal-bar.is-stuck::before { border-bottom-color: var(--line); }
.gal-bar .wrap { position: relative; }
.gallery-page:has(.gal-bar.is-stuck) .hdr::before { border-bottom-color: transparent; }
.gal-filter { display: flex; gap: .5rem; margin: -6px calc(-1 * var(--gut)); padding: 6px var(--gut); overflow-x: auto; scrollbar-width: none; animation: rise 1s var(--ease) .3s both; }
.gal-filter::-webkit-scrollbar { display: none; }
.gal-chip { flex: none; min-height: 40px; padding-inline: 1.1rem; background: none; color: var(--ink); cursor: pointer; }
.gal-chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
html:lang(zh) .gal-chip { letter-spacing: .06em; font-size: .76rem; }

/* The mosaic: four columns of portrait cells (two on a phone), counted in blocks of 16 cells so each block ends on a
   full row. The build and main.js give a tile its span: .is-big is a 2×2 feature, .is-wide a landscape over two cells.
   With JS only .is-on tiles are on show; a new tile waits unseen (.is-wait) and rises when it scrolls into view (.is-new). */
.gal-frame { container-type: inline-size; margin-top: clamp(.5rem, 1.1vw, .9rem); }
/* Row height = 1.5 × one column, so a cell is 2:3. The first line is for browsers without container units. */
.gal-grid { --gc: 4; --gg: clamp(.4rem, .9vw, .75rem); display: grid; grid-template-columns: repeat(var(--gc), minmax(0, 1fr)); grid-auto-flow: dense; gap: var(--gg); grid-auto-rows: calc((min(100vw - 2 * var(--gut), 1280px) - (var(--gc) - 1) * var(--gg)) / var(--gc) * 1.5); grid-auto-rows: calc((100cqw - (var(--gc) - 1) * var(--gg)) / var(--gc) * 1.5); }
.gal-item { position: relative; overflow: hidden; border-radius: 4px; background: var(--bg-2); }
.gal-item.is-wide { grid-column: span 2; }
.gal-item.is-big { grid-column: span 2; grid-row: span 2; }
.js .gal-item:not(.is-on) { display: none; }
.gal-item.is-wait { opacity: 0; pointer-events: none; }
.gal-item.is-new { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s var(--ease); }
.gal-item:hover img, .gal-item:focus-visible img { scale: 1.05; }
.gal-item figcaption { position: absolute; inset: auto 0 0; padding: 2.75rem .9rem .8rem; background: linear-gradient(transparent, rgba(24, 14, 9, .66)); color: #fff; font: 600 .62rem/1.4 var(--body); letter-spacing: .2em; text-transform: uppercase; opacity: 0; translate: 0 .6rem; transition: opacity .45s ease, translate .6s var(--ease); pointer-events: none; }
.gal-item:hover figcaption, .gal-item:focus-visible figcaption { opacity: 1; translate: 0 0; }
html:lang(zh) .gal-item figcaption { letter-spacing: .08em; font-size: .72rem; }
@media (hover: none) { .gal-item figcaption { opacity: 1; translate: 0 0; } }
/* The line under the grid. main.js watches it to bring the next block in (.is-auto); its button is the fallback. */
.gal-more { display: none; justify-content: center; margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.js .gal-more { display: flex; }
.js .gal-more[hidden] { display: none; }
.gal-more.is-auto { margin-top: 0; }
.gal-more.is-auto button { display: none; }
.gal-more button { background: none; cursor: pointer; }

/* Closing: a hairline, a quiet line of text and the two ways to reach the store. */
.gal-end { padding-top: 0; }
.gal-end-in { display: grid; justify-items: center; gap: 1.4rem; text-align: center; }
.gal-end-in::before { content: ""; width: 1px; height: clamp(2.75rem, 6vw, 4.5rem); margin-bottom: .5rem; background: var(--rattan); }
.gal-end .actions { justify-content: center; margin-top: .4rem; }

@media (max-width: 899px) { .gal-top-in { grid-template-columns: minmax(0, 1fr); } .gal-top-in > .lead { padding-bottom: 0; } }
@media (max-width: 699px) {
  .gal-grid { --gc: 2; }
  .gal-item figcaption { padding: 2rem .65rem .6rem; font-size: .56rem; letter-spacing: .16em; }
  html:lang(zh) .gal-item figcaption { font-size: .68rem; letter-spacing: .06em; }
}
/* On a very short screen the header and the chip row together would take too much of it. */
@media (max-height: 520px) { .gal-bar { position: static; } }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .9s var(--ease), translate .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* ---------- Photo motion (only when JS is running) ---------- */
/* Arched photos rise from the floor like a blind going up, while the picture settles back from a close-up. */
.js .unveil { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); transition: clip-path 1.5s var(--ease); }
.js .unveil.in { clip-path: inset(-30px -70px -110px -70px round 999px 999px 0 0); }
.js .unveil img { scale: 1.5; transition: scale 2s var(--ease); }
.js .unveil.in img { scale: 1.16; }
/* The picture travels a little slower than its frame: main.js sets --py from -1 (top of screen) to 1 (bottom). */
.js [data-parallax] img { transform: translate3d(0, calc(var(--py, 0) * -6%), 0); }
[data-zoom] { cursor: zoom-in; }

/* ---------- Lightbox: any photo opens full screen from where it sits ---------- */
.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: none; color: #F6EEE3; overflow: hidden; touch-action: none; }
.lb::backdrop { background: none; }
.lb-bg { position: absolute; inset: 0; background: rgba(20, 13, 10, .95); }
.lb-img { position: absolute; max-width: none; border-radius: 4px; cursor: zoom-out; user-select: none; -webkit-user-drag: none; will-change: transform; }
.lb-bg, .lb-count, .lb-cap, .lb-btn { opacity: 0; transition: opacity .4s ease, background .25s, color .25s; }
.lb.is-open :is(.lb-bg, .lb-count, .lb-cap, .lb-btn) { opacity: 1; }
.lb-count { position: absolute; left: var(--gut); top: 1.5rem; font: 600 .72rem/1 var(--body); letter-spacing: .2em; }
.lb-cap { position: absolute; inset: auto 0 1.5rem; padding-inline: 4.75rem; text-align: center; font: italic 400 clamp(1.05rem, 1.6vw, 1.35rem)/1.3 var(--display); text-wrap: balance; }
.lb-cap:lang(zh) { line-height: 1.5; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(246, 238, 227, .3); background: rgba(20, 13, 10, .45); color: inherit; cursor: pointer; }
.lb-btn:hover { background: #F6EEE3; color: #231A15; }
.lb-close { right: var(--gut); top: .7rem; }
.lb-prev, .lb-next { top: 50%; margin-top: -24px; }
.lb-prev { left: var(--gut); }
.lb-prev .i { rotate: 180deg; }
.lb-next { right: var(--gut); }
@media (max-width: 699px) {
  .lb-prev, .lb-next { top: auto; bottom: 1rem; margin-top: 0; }
  .lb-prev { left: .75rem; }
  .lb-next { right: .75rem; }
}

/* ---------- Cursor badge over photos that open (mouse only, added by main.js) ---------- */
.cur { position: fixed; left: 0; top: 0; z-index: 60; display: grid; place-items: center; width: 56px; height: 56px; margin: 14px 0 0 14px; border-radius: 50%; background: var(--coral); color: var(--on-coral); pointer-events: none; scale: 0; opacity: 0; transition: scale .35s var(--ease), opacity .25s ease; }
.cur.is-on { scale: 1; opacity: 1; }
.cur .i { width: 22px; height: 22px; }

/* ---------- Language gate ---------- */
.gate { min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; }
.gate-top { display: flex; align-items: center; justify-content: space-between; height: 72px; padding-inline: var(--gut); }
.gate-main { display: grid; justify-items: center; align-content: center; gap: clamp(.7rem, 1.8vh, 1.3rem); padding: .5rem var(--gut) 1.5rem; text-align: center; }
.gate-main > .label, .gate-h1, .gate-pick { animation: rise 1s var(--ease) both; }
.gate-h1 { font-size: clamp(2.3rem, 5.6vw, 4.8rem); line-height: 1; max-width: 12em; animation-delay: .08s; }
.gate-pick { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 0; font: 600 .72rem/1.5 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); animation-delay: .16s; }
.gate-pick > * + *::before { content: "·"; margin-inline: .9rem; }
.gate-pick a { text-decoration: none; color: var(--ink); }
.arches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 2.6vw, 2.25rem); width: min(100%, 840px); margin-top: clamp(.6rem, 2vh, 1.5rem); }
.arch-link { display: grid; justify-items: center; gap: .2rem; text-decoration: none; animation: rise 1.1s var(--ease) both; animation-delay: calc(.25s + var(--i) * .13s); }
.arch-link .arch { width: 100%; height: clamp(190px, 44vh, 450px); max-height: 62vw; box-shadow: var(--shadow); transition: translate .5s var(--ease); animation: unveil 1.5s var(--ease) both; animation-delay: calc(.25s + var(--i) * .13s); }
.arch-link .arch img { transition: scale 1.1s var(--ease); }
.arch-link:hover .arch, .arch-link:focus-visible .arch { translate: 0 -10px; }
.arch-link:hover .arch img, .arch-link:focus-visible .arch img { scale: 1.07; }
.arch-hi { margin-top: 1rem; font: 600 .66rem/1.5 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.arch-hi:lang(zh) { letter-spacing: .3em; font-size: .8rem; }
.arch-name { position: relative; padding-bottom: .3rem; font: 500 clamp(1.45rem, 4.2vw, 2.7rem)/1.2 var(--display); }
.arch-name::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--coral); scale: 0 1; transition: scale .45s var(--ease); }
.arch-link:hover .arch-name::after, .arch-link:focus-visible .arch-name::after { scale: 1 1; }
.gate-foot { padding: .75rem var(--gut) 1.5rem; text-align: center; font-size: .74rem; color: var(--ink-2); }
.gate-foot p { max-width: 72ch; margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .m-traveller { display: none; }
}
