/* 溪岸 SAIL v2 — 泊心天地宽
   Layout: a book of three chapters (TERRA · VITA · AETHER) on sand-paper ground; charcoal chapter bands borrowed
   from the brand deck; single CJK characters as typographic anchors; Roman capitals for the Latin chapter names. */
:root {
  --bg: #E7E2D8;          /* 砂 sand paper */
  --surface: #EFEBE3;
  --fg: #1C1D1A;          /* 墨 */
  --muted: #6A665D;
  --line: rgba(28, 29, 26, .15);
  --walnut: #8A5A3C;      /* 陶 clay accent */
  --moss: #55604A;
  --night: #1B1C1F;       /* 炭 deck charcoal — same in both themes */
  --night-2: #232428;
  --night-fg: #E9E5DB;
  --night-muted: #A4A095;
  --night-line: rgba(233, 229, 219, .14);
  --glow: #E2C39A;
  --overlay: rgba(14, 15, 13, .45);

  --f-cn-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --f-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --f-latin: "Marcellus", "Trajan Pro", "Optima", Georgia, serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: clamp(.78rem, .76rem + .1vw, .84rem);
  --step-0: clamp(.95rem, .92rem + .15vw, 1.05rem);
  --step-1: clamp(1.15rem, 1.05rem + .45vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.2rem + 1vw, 2rem);
  --step-3: clamp(1.9rem, 1.4rem + 2.1vw, 3.1rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4.8rem);
  --step-5: clamp(3rem, 1.8rem + 5.6vw, 7rem);

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1440px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #18191B; --surface: #202124; --fg: #E9E5DB; --muted: #A4A095;
    --line: rgba(233, 229, 219, .15); --walnut: #D19A72; --moss: #A8B597;
    --overlay: rgba(8, 9, 8, .55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #18191B; --surface: #202124; --fg: #E9E5DB; --muted: #A4A095;
  --line: rgba(233, 229, 219, .15); --walnut: #D19A72; --moss: #A8B597;
  --overlay: rgba(8, 9, 8, .55);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f-sans); font-size: var(--step-0); line-height: 1.8; font-weight: 300;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img, video, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--walnut); }
:focus-visible { outline: 2px solid var(--walnut); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-cn-serif); font-weight: 400; line-height: 1.25; margin: 0; text-wrap: balance; letter-spacing: .02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--walnut); color: var(--surface); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
@media (min-width: 900px) { .wrap { padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px)); } }
.eyebrow { font-family: var(--f-sans); font-size: var(--step--1); letter-spacing: .22em; text-transform: uppercase; font-weight: 400; color: var(--muted); }
.latin { font-family: var(--f-latin); font-style: italic; font-weight: 400; letter-spacing: 0; }
.mono { font-family: var(--f-mono); font-size: .82em; letter-spacing: .04em; }
.lede { font-size: var(--step-1); line-height: 1.85; max-width: 38em; }
.prose p + p { margin-top: 1.1em; }
.prose { max-width: 36em; }
.muted { color: var(--muted); }
.vtext { writing-mode: vertical-rl; text-orientation: upright; letter-spacing: .32em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn {
  display: inline-flex; align-items: center; gap: .8em; padding: .85em 1.6em; border: 1px solid currentColor;
  font-size: var(--step--1); letter-spacing: .18em; text-transform: uppercase; font-weight: 400;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.btn:hover { background: var(--fg); color: var(--bg); }
.btn--light { color: #F1EEE6; }
.btn--light:hover { background: #F1EEE6; color: #1E201B; }
.link-arrow { display: inline-flex; gap: .6em; align-items: center; font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: .3em; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  color: var(--fg); transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s;
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.site-header.on-dark { color: #F1EEE6; }
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 92%, transparent); color: var(--fg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.brand .mark { width: 86px; aspect-ratio: 1907/1268; background: currentColor; -webkit-mask: url(../logo-script.svg) no-repeat center / contain; mask: url(../logo-script.svg) no-repeat center / contain; }
.brand .cn { font-family: var(--f-cn-serif); font-size: 1.05rem; letter-spacing: .4em; padding-left: 12px; border-left: 1px solid currentColor; opacity: .9; }
.nav { display: flex; gap: clamp(16px, 2.2vw, 36px); font-size: .92rem; letter-spacing: .14em; }
.nav a { position: relative; padding-block: 6px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:hover { color: inherit; }
.header-cta { font-size: var(--step--1); letter-spacing: .16em; border: 1px solid currentColor; padding: .55em 1.1em; }
.menu-btn { display: none; background: none; border: 0; color: inherit; font: inherit; letter-spacing: .2em; cursor: pointer; padding: 8px 0; }
@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-block; }
  .site-header.open { background: var(--bg); color: var(--fg); }
  .site-header.open .nav { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); padding: 8px var(--gutter-r) 24px var(--gutter); border-bottom: 1px solid var(--line); }
  .site-header.open .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 560px; height: min(90vh, 900px); color: #F1EEE6; background: #1a1d17; overflow: hidden; isolation: isolate; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,12,9,.45) 0%, rgba(10,12,9,.05) 35%, rgba(10,12,9,.15) 60%, rgba(10,12,9,.72) 100%); }
.hero .wrap { height: 100%; display: grid; grid-template-columns: 1fr auto; align-items: end; padding-bottom: clamp(36px, 7vh, 80px); gap: 24px; }
.hero h1 { display: grid; gap: 18px; }
.hero h1 .eyebrow { color: rgba(241,238,230,.8); }
.hero h1 .slogan { font-size: var(--step-5); font-weight: 300; letter-spacing: .08em; line-height: 1.12; }
.hero .sub { margin-top: 22px; max-width: 34em; font-size: var(--step-1); color: rgba(241,238,230,.86); line-height: 1.8; }
.hero .actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero aside { display: flex; flex-direction: column; align-items: center; gap: 18px; font-family: var(--f-cn-serif); font-size: 1rem; color: rgba(241,238,230,.85); }
.hero aside .line { width: 1px; height: 72px; background: rgba(241,238,230,.5); }
.hero .caption { position: absolute; right: var(--gutter-r); top: 96px; font-size: .75rem; letter-spacing: .12em; color: rgba(241,238,230,.65); }
@media (max-width: 700px) { .hero aside { display: none; } .hero .wrap { grid-template-columns: 1fr; } .hero .caption { display: none; } }

/* ---------- generic sections ---------- */
.section { padding-block: clamp(72px, 11vw, 160px); }
.section--tight { padding-block: clamp(56px, 7vw, 100px); }
.section--surface { background: var(--surface); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 96px); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head h2 { font-size: var(--step-4); font-weight: 300; }
.sec-head h2 .latin { display: block; font-size: .42em; color: var(--muted); margin-top: .6em; }
.sec-head .eyebrow { margin-bottom: 18px; display: block; }
.sec-head p { max-width: 34em; color: var(--muted); }
@media (max-width: 800px) { .sec-head { grid-template-columns: 1fr; align-items: start; } }

/* ---------- facts ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.facts li { padding: 28px 20px 28px 0; display: grid; gap: 4px; align-content: start; }
.facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.facts b { font-family: var(--f-latin); font-weight: 400; font-size: var(--step-3); line-height: 1; font-variant-numeric: lining-nums; }
.facts b small { font-size: .45em; margin-left: 2px; font-family: var(--f-cn-serif); }
.facts span { font-size: var(--step--1); color: var(--muted); letter-spacing: .06em; }
@media (max-width: 900px) { .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts li, .facts li + li { padding: 20px 12px 20px 0; border-left: 0; border-top: 1px solid var(--line); } .facts li:nth-child(-n+2) { border-top: 0; } .facts li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); } }

/* ---------- manifesto ---------- */
.manifesto { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.manifesto .quote { font-family: var(--f-cn-serif); font-size: var(--step-3); font-weight: 300; line-height: 1.5; letter-spacing: .06em; }
.manifesto .quote em { font-style: normal; color: var(--walnut); }
.manifesto .prose { margin-top: 32px; color: var(--muted); }
.manifesto .collage { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(10, minmax(28px, 1fr)); aspect-ratio: 7/6; }
.manifesto .collage figure { margin: 0; overflow: hidden; }
.manifesto .collage img { width: 100%; height: 100%; object-fit: cover; }
.manifesto .c1 { grid-column: 1 / 9; grid-row: 1 / 8; }
.manifesto .c2 { grid-column: 7 / 13; grid-row: 5 / 11; box-shadow: 0 0 0 10px var(--bg); }
.manifesto .vname { position: absolute; left: -8px; bottom: 0; transform: translateX(-100%); font-family: var(--f-cn-serif); color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .manifesto { grid-template-columns: 1fr; } .manifesto .vname { display: none; } }

figure { margin: 0; }
figcaption { font-size: var(--step--1); color: var(--muted); margin-top: 10px; letter-spacing: .04em; }
.zoom { overflow: hidden; }
.zoom img { transition: transform 1.2s var(--ease); }
.zoom:hover img { transform: scale(1.04); }

/* ---------- collections rail ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 30%); gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--muted) transparent; cursor: grab; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail > * { scroll-snap-align: start; }
.series-card { position: relative; display: grid; grid-template-rows: auto auto; gap: 16px; color: inherit; }
.series-card .ph { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--surface); }
.series-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.series-card:hover .ph img { transform: scale(1.05); }
.series-card .vname { position: absolute; top: 18px; right: 16px; font-family: var(--f-cn-serif); font-size: 1.7rem; color: #F4F1EA; text-shadow: 0 2px 18px rgba(0,0,0,.35); writing-mode: vertical-rl; letter-spacing: .3em; }
.series-card .meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px; }
.series-card .meta .latin { font-size: 1.15rem; }
.series-card .meta .mono { color: var(--muted); }
@media (max-width: 700px) { .rail { grid-auto-columns: 78%; } }
.rail-ctrl { display: flex; gap: 10px; }
.rail-ctrl button { all: unset; cursor: pointer; width: 44px; height: 44px; border: 1px solid var(--line); display: grid; place-items: center; }
.rail-ctrl button:hover { border-color: var(--fg); }
.rail-ctrl button:focus-visible { outline: 2px solid var(--walnut); }

/* ---------- cases (home) ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); }
.case-tile { display: grid; gap: 14px; align-content: start; color: inherit; }
.case-tile .ph { overflow: hidden; }
.case-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case-tile:hover img { transform: scale(1.04); }
.case-tile h3 { font-size: var(--step-1); }
.case-tile .city { font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.case-tile p { color: var(--muted); font-size: .92rem; max-width: 30em; }
.case-tile .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.t-a { grid-column: 1 / 8; } .t-a .ph { aspect-ratio: 16/10; }
.t-b { grid-column: 9 / 13; margin-top: 18%; } .t-b .ph { aspect-ratio: 4/5; }
.t-c { grid-column: 1 / 5; } .t-c .ph { aspect-ratio: 4/5; }
.t-d { grid-column: 6 / 13; margin-top: 8%; } .t-d .ph { aspect-ratio: 16/9; }
@media (max-width: 800px) { .t-a, .t-b, .t-c, .t-d { grid-column: 1 / -1; margin-top: 0; } }

/* ---------- swatches ---------- */
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.swatch { display: grid; gap: 12px; }
.swatch .chip { aspect-ratio: 19/30; overflow: hidden; box-shadow: 0 30px 40px -30px rgba(0,0,0,.4); }
.swatch .chip img { width: 100%; height: 100%; object-fit: cover; }
.swatch h3 { font-size: var(--step-1); display: flex; justify-content: space-between; align-items: baseline; }
.swatch h3 small { font-family: var(--f-sans); font-size: .7rem; letter-spacing: .14em; color: var(--muted); }
.swatch p { font-size: .88rem; color: var(--muted); }
@media (max-width: 700px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.colorways { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.colorways li { border: 1px solid var(--line); padding: .45em 1em; font-family: var(--f-cn-serif); font-size: .95rem; }
.colorways li small { font-family: var(--f-sans); color: var(--muted); font-size: .72rem; margin-left: .6em; letter-spacing: .06em; }

/* ---------- awards / timeline list ---------- */
.rows { border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 7em minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.rows .y { font-family: var(--f-latin); font-size: var(--step-1); }
.rows .t { font-family: var(--f-cn-serif); font-size: var(--step-1); }
.rows .d { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .rows li { grid-template-columns: 4.5em minmax(0, 1fr); } .rows .d { grid-column: 2; } }

/* ---------- split band ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 560px; }
.split .ph { position: relative; min-height: 360px; }
.split .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split .body { padding: clamp(40px, 7vw, 120px) clamp(24px, 6vw, 110px); display: flex; flex-direction: column; justify-content: center; gap: 24px; background: var(--surface); }
.split .body h2 { font-size: var(--step-3); font-weight: 300; }
.split .body ul.ticks { display: grid; gap: 10px; }
.split .body ul.ticks li { padding-left: 1.6em; position: relative; }
.split .body ul.ticks li::before { content: ""; position: absolute; left: 0; top: .9em; width: .9em; height: 1px; background: var(--walnut); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .body { padding-left: var(--gutter); padding-right: var(--gutter-r); } }

/* ---------- showrooms ---------- */
.cities { display: flex; flex-wrap: wrap; gap: 6px 22px; font-family: var(--f-cn-serif); font-size: var(--step-1); line-height: 1.9; }
.cities li span { font-family: var(--f-sans); font-size: .62rem; letter-spacing: .14em; color: var(--muted); margin-left: .4em; text-transform: uppercase; }
.cities li.os { color: var(--walnut); }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; padding: 24px 0; font-family: var(--f-cn-serif); font-size: var(--step-1); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-sans); font-weight: 300; font-size: 1.5rem; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 26px; max-width: 46em; color: var(--muted); }
.faq .ans p + p { margin-top: .8em; }
.faq .ans a { color: var(--walnut); border-bottom: 1px solid currentColor; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group > h2 { font-size: var(--step-2); margin-bottom: 20px; }

/* ---------- contact & footer ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); }
.contact h2 { font-size: var(--step-4); font-weight: 300; }
.contact dl { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 14px 20px; margin: 32px 0 0; }
.contact dt { color: var(--muted); font-size: var(--step--1); letter-spacing: .12em; padding-top: .2em; }
.contact dd { margin: 0; }
.contact dd .copy { margin-left: 10px; font-size: .72rem; letter-spacing: .1em; border: 1px solid var(--line); background: none; color: inherit; padding: 2px 8px; cursor: pointer; font-family: var(--f-sans); }
.qrs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-content: start; }
.qr { display: grid; gap: 10px; justify-items: start; }
.qr .box { width: 100%; max-width: 200px; aspect-ratio: 1; border: 1px dashed var(--muted); display: grid; place-items: center; text-align: center; font-size: .78rem; color: var(--muted); padding: 16px; background: var(--surface); }
.qr .box img { width: 100%; height: 100%; object-fit: contain; }
.qr b { font-weight: 400; font-family: var(--f-cn-serif); }
.qr small { color: var(--muted); font-size: .76rem; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.site-footer { background: var(--night); color: var(--night-fg); padding-block: 72px 36px; }
.site-footer .top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer .mark { width: 150px; aspect-ratio: 1907/1268; background: var(--night-fg); -webkit-mask: url(../logo-full.svg) no-repeat left center / contain; mask: url(../logo-full.svg) no-repeat left center / contain; }
.site-footer p, .site-footer li { color: var(--night-muted); font-size: .88rem; }
.site-footer h3 { font-family: var(--f-sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--night-fg); margin-bottom: 16px; font-weight: 400; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a:hover { color: var(--glow); }
.site-footer .bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .76rem; color: var(--night-muted); }
@media (max-width: 860px) { .site-footer .top { grid-template-columns: 1fr 1fr; } .site-footer .top > :first-child { grid-column: 1 / -1; } }

/* ---------- page hero (subpages) ---------- */
.page-hero { padding-top: calc(72px + clamp(48px, 8vw, 120px)); padding-bottom: clamp(40px, 6vw, 80px); }
.page-hero .crumbs { font-size: var(--step--1); color: var(--muted); letter-spacing: .1em; margin-bottom: 28px; display: flex; gap: .6em; flex-wrap: wrap; }
.page-hero h1 { font-size: var(--step-5); font-weight: 300; letter-spacing: .06em; line-height: 1.1; }
.page-hero h1 .latin { display: block; font-size: .3em; color: var(--muted); margin-top: .5em; letter-spacing: .02em; }
.page-hero .lede { margin-top: 32px; color: var(--muted); }
.page-hero .grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
@media (max-width: 860px) { .page-hero .grid { grid-template-columns: 1fr; } }
.bleed { width: 100%; aspect-ratio: 21/9; overflow: hidden; }
.bleed img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .bleed { aspect-ratio: 4/3; } }

/* ---------- collections page ---------- */
.era { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.era li { padding: 22px 18px 22px 0; display: grid; gap: 6px; }
.era li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.era b { font-family: var(--f-latin); font-weight: 400; font-size: var(--step-2); }
.era span { font-family: var(--f-cn-serif); }
.era small { color: var(--muted); font-size: .82rem; line-height: 1.6; }
.era li.now b { color: var(--walnut); }
@media (max-width: 860px) { .era { grid-template-columns: 1fr 1fr; } .era li, .era li + li { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line); } }

.series { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 90px); padding-block: clamp(64px, 9vw, 130px); border-top: 1px solid var(--line); scroll-margin-top: 72px; }
.series .head { position: sticky; top: 104px; align-self: start; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; }
.series .head .vname { font-family: var(--f-cn-serif); font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; writing-mode: vertical-rl; letter-spacing: .25em; font-weight: 400; }
.series .head .latin { font-size: var(--step-2); line-height: 1.2; }
.series .head .yr { font-family: var(--f-mono); font-size: .78rem; color: var(--muted); letter-spacing: .1em; margin-top: 8px; display: block; }
.series .head .prose { margin-top: 22px; color: var(--muted); font-size: .95rem; }
.series .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.series .tags li { font-size: .74rem; letter-spacing: .1em; border: 1px solid var(--line); padding: 3px 10px; }
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.gallery figure { overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-wide { grid-column: 1 / -1; aspect-ratio: 16/9; }
.gallery .g-half { grid-column: span 3; aspect-ratio: 4/3; }
.gallery .g-tall { grid-column: span 2; aspect-ratio: 3/4; }
.gallery .g-four { grid-column: span 4; aspect-ratio: 4/3; }
@media (max-width: 860px) { .series { grid-template-columns: 1fr; } .series .head { position: static; } .gallery .g-half, .gallery .g-tall, .gallery .g-four { grid-column: 1 / -1; } }

/* ---------- craft page ---------- */
.layers-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 100px); align-items: center; }
.layers { position: relative; height: 460px; perspective: 1400px; }
.layers .stack { position: absolute; left: 50%; top: 52%; width: 300px; height: 210px; transform-style: preserve-3d; transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-38deg); }
.layers .ly { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.layers .ly .face { position: absolute; inset: 0; background-size: cover; background-position: center; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.layers .ly .tag { position: absolute; left: 104%; top: 40%; transform: rotateZ(38deg) rotateX(-58deg); transform-origin: left center; white-space: nowrap; font-size: .8rem; display: flex; gap: 8px; align-items: center; color: var(--fg); }
.layers .ly .tag::before { content: ""; width: 40px; height: 1px; background: var(--muted); }
.layers .ly .tag b { font-family: var(--f-mono); font-weight: 400; color: var(--walnut); }
.layers.open .l1 { transform: translateZ(150px); }
.layers.open .l2 { transform: translateZ(75px); }
.layers.open .l3 { transform: translateZ(0); }
.layers.open .l4 { transform: translateZ(-75px); }
.layers .l1 { transform: translateZ(9px); } .layers .l2 { transform: translateZ(6px); } .layers .l3 { transform: translateZ(3px); } .layers .l4 { transform: translateZ(0); }
.layers .core { background: repeating-linear-gradient(115deg, #cdbb9c 0 3px, #bfa985 3px 5px, #d8c8aa 5px 9px); }
.layers .balance { background: #e4ddcf; }
.layers .edge { background: transparent !important; box-shadow: inset 0 0 0 7px var(--glow), 0 0 22px rgba(226,195,154,.5) !important; }
.layers-toggle { margin-top: 18px; }
@media (max-width: 860px) { .layers-wrap { grid-template-columns: 1fr; } .layers { height: 380px; } .layers .stack { width: 210px; height: 150px; } .layers .ly .tag { font-size: .7rem; } }

.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partners li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 20px; display: grid; gap: 4px; }
.partners b { font-family: var(--f-latin); font-weight: 400; font-size: 1.25rem; font-style: italic; }
.partners span { font-family: var(--f-cn-serif); }
.partners small { color: var(--muted); font-size: .78rem; }
@media (max-width: 760px) { .partners { grid-template-columns: 1fr 1fr; } }

.details-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.details-grid figure .ph { aspect-ratio: 3/4; overflow: hidden; }
.details-grid figure img { width: 100%; height: 100%; object-fit: cover; }
.details-grid h3 { font-size: var(--step-1); margin-top: 14px; }
.details-grid p { color: var(--muted); font-size: .88rem; margin-top: 6px; }
@media (max-width: 900px) { .details-grid { grid-template-columns: 1fr 1fr; } }

.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); counter-reset: s; }
.steps li { padding: 24px 16px 24px 0; display: grid; gap: 8px; align-content: start; }
.steps li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: "0" counter(s); font-family: var(--f-mono); font-size: .78rem; color: var(--walnut); }
.steps b { font-family: var(--f-cn-serif); font-weight: 400; font-size: var(--step-1); }
.steps small { color: var(--muted); font-size: .84rem; line-height: 1.65; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps li, .steps li + li { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line); } }

/* ---------- cases page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filters button { all: unset; cursor: pointer; padding: .45em 1.1em; border: 1px solid var(--line); font-size: .86rem; letter-spacing: .08em; }
.filters button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.filters button:focus-visible { outline: 2px solid var(--walnut); }
.case-list { display: grid; gap: clamp(72px, 10vw, 140px); }
.case { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); scroll-margin-top: 96px; }
.case:nth-child(even) { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.case:nth-child(even) .info { order: 2; }
.case .info { align-self: center; display: grid; gap: 16px; }
.case .info h2 { font-size: var(--step-3); font-weight: 300; }
.case .info .city { font-size: var(--step--1); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.case .info p { color: var(--muted); }
.case .info .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case .info .tags li { font-size: .74rem; border: 1px solid var(--line); padding: 2px 10px; letter-spacing: .06em; }
.case .pics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.case .pics figure { overflow: hidden; }
.case .pics img { width: 100%; height: 100%; object-fit: cover; }
.case .pics .p1 { grid-column: 1 / -1; aspect-ratio: 16/9; }
.case .pics .p2 { grid-column: 1 / 3; aspect-ratio: 3/4; }
.case .pics .p3 { grid-column: 3 / 6; aspect-ratio: 4/3.2; }
.case[hidden] { display: none; }
@media (max-width: 860px) { .case, .case:nth-child(even) { grid-template-columns: 1fr; } .case:nth-child(even) .info { order: 0; } }

.sailcase { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.sailcase article { display: grid; gap: 12px; align-content: start; }
.sailcase .ph { aspect-ratio: 3/4; overflow: hidden; }
.sailcase img { width: 100%; height: 100%; object-fit: cover; }
.sailcase h3 { font-size: var(--step-1); }
.sailcase p { font-size: .86rem; color: var(--muted); }
.sailcase .mono { color: var(--walnut); }
@media (max-width: 900px) { .sailcase { grid-template-columns: 1fr 1fr; } }

/* ---------- about page ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 28px; padding: 22px 0; border-top: 1px solid var(--line); }
.timeline .y { font-family: var(--f-latin); font-size: var(--step-2); line-height: 1.1; }
.timeline .ev { display: grid; gap: 6px; }
.timeline .ev span { display: block; }
.timeline .ev span::before { content: "— "; color: var(--muted); }
@media (max-width: 600px) { .timeline li { grid-template-columns: 4.2rem minmax(0, 1fr); gap: 14px; } }
.factsheet { display: grid; grid-template-columns: 8em minmax(0, 1fr); border-top: 1px solid var(--line); }
.factsheet dt, .factsheet dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.factsheet dt { color: var(--muted); font-size: .86rem; letter-spacing: .08em; }
.events { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.events figure .ph { aspect-ratio: 1; overflow: hidden; }
.events img { width: 100%; height: 100%; object-fit: cover; }
.events figcaption b { display: block; font-weight: 400; font-family: var(--f-cn-serif); color: var(--fg); font-size: 1rem; }
@media (max-width: 900px) { .events { grid-template-columns: 1fr 1fr; } }
.addr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.addr article { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 6px; }
.addr h3 { font-size: var(--step-1); }
.addr p { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .addr { grid-template-columns: 1fr; } }

.updated { font-size: .76rem; color: var(--muted); letter-spacing: .06em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- additions ---------- */
.partners li b:lang(zh), .cats b { font-family: var(--f-cn-serif); font-style: normal; }
.wrap > .split:nth-child(even) .ph { order: 2; }
@media (max-width: 860px) { .wrap > .split:nth-child(even) .ph { order: 0; } }
.case .pics .p2:last-child { grid-column: 3 / 6; }
.hero .poster { z-index: -3; }

/* ======================= v2 additions ======================= */
.latin { font-family: var(--f-latin); font-style: normal; letter-spacing: .08em; }
.caps { font-family: var(--f-latin); letter-spacing: .32em; text-transform: uppercase; }
body { font-weight: 300; }

/* hero v2: still landscape, vertical title */
.hero2 { position: relative; min-height: 600px; height: min(92vh, 940px); color: #F2EEE6; background: #1d211d; overflow: hidden; isolation: isolate; }
.hero2 .bgimg { position: absolute; inset: -2%; width: 104%; height: 104%; object-fit: cover; z-index: -2; animation: drift 38s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.0) translate3d(0,0,0); } to { transform: scale(1.06) translate3d(-1.2%, -0.8%, 0); } }
.hero2::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,14,12,.45) 0%, rgba(12,14,12,.08) 38%, rgba(12,14,12,.18) 62%, rgba(12,14,12,.7) 100%); }
.hero2 .wrap { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; padding-bottom: clamp(36px, 7vh, 84px); }
.hero2 h1 { position: absolute; right: max(32px, env(safe-area-inset-right, 0px)); top: 120px; writing-mode: vertical-rl; font-size: clamp(3rem, 2rem + 4.6vw, 6.4rem); font-weight: 300; letter-spacing: .42em; line-height: 1.2; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero2 h1 small { display: block; font-size: .2em; letter-spacing: .5em; font-family: var(--f-sans); margin-inline-start: 1.2em; opacity: .85; }
.hero2 .lead { max-width: 36em; }
.hero2 .lead .eyebrow { color: rgba(242,238,230,.78); }
.hero2 .lead p.big { font-family: var(--f-cn-serif); font-size: var(--step-2); font-weight: 300; line-height: 1.6; margin-top: 16px; letter-spacing: .06em; }
.hero2 .lead p.sm { margin-top: 14px; color: rgba(242,238,230,.82); line-height: 1.9; }
.hero2 .actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 700px) { .hero2 h1 { top: 96px; font-size: 2.6rem; } .hero2 .lead { padding-right: 4.2rem; } }
@media (prefers-reduced-motion: reduce) { .hero2 .bgimg { animation: none; } }

/* thesis */
.thesis { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.thesis .ph { aspect-ratio: 4/3.2; overflow: hidden; }
.thesis .ph img { width: 100%; height: 100%; object-fit: cover; }
.thesis h2 { font-size: var(--step-3); font-weight: 300; line-height: 1.5; letter-spacing: .06em; }
.thesis h2 em { font-style: normal; color: var(--walnut); }
.thesis .prose { margin-top: 28px; color: var(--muted); }
.thesis blockquote { margin: 30px 0 0; padding-left: 20px; border-left: 1px solid var(--walnut); font-family: var(--f-cn-serif); font-size: var(--step-1); }
@media (max-width: 860px) { .thesis { grid-template-columns: 1fr; } }

/* ---------- anatomy of a home ---------- */
.anatomy { position: relative; height: 760vh; background: var(--an-bg, #D7DAD3); --an-fg: #1E1F1B; --an-muted: #5E5B53; --an-line: rgba(30,31,27,.2); --an-accent: #8A5A3C; color: var(--an-fg); }
.anatomy[data-tone="dark"] { --an-fg: #ECE6DA; --an-muted: #B4AC9E; --an-line: rgba(236,230,218,.2); --an-accent: #E6BC8E; }
.an-sticky { position: sticky; top: 0; height: 100vh; min-height: 620px; display: grid; grid-template-columns: minmax(330px, 4.2fr) minmax(0, 7.8fr); overflow: hidden; }
.an-panel { position: relative; z-index: 2; padding: 96px 0 28px max(32px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.an-panel .eyebrow { color: var(--an-muted); }
.an-panel h2 { font-size: var(--step-3); font-weight: 300; letter-spacing: .04em; }
.an-chapters { display: grid; grid-template-columns: repeat(4, auto); gap: 6px 14px; justify-content: start; font-size: .7rem; letter-spacing: .2em; color: var(--an-muted); }
.an-chapter { display: grid; gap: 2px; padding-top: 8px; border-top: 1px solid var(--an-line); transition: color .4s, border-color .4s; }
.an-chapter b { font-family: var(--f-latin); font-weight: 400; letter-spacing: .28em; }
.an-chapter span { font-family: var(--f-cn-serif); letter-spacing: .12em; font-size: .78rem; }
.an-chapter.on { color: var(--an-fg); border-color: var(--an-accent); }
.an-cards { position: relative; flex: 1; min-height: 300px; }
.an-card { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.an-card.on { opacity: 1; transform: none; pointer-events: auto; }
.an-card .glyph { font-family: var(--f-cn-serif); font-size: clamp(4rem, 3rem + 3vw, 6.4rem); line-height: 1; font-weight: 300; color: var(--an-fg); }
.an-card .nm { display: flex; gap: 12px; align-items: baseline; margin-top: 10px; }
.an-card .nm b { font-family: var(--f-cn-serif); font-weight: 400; font-size: 1.15rem; letter-spacing: .1em; }
.an-card .nm .caps { font-size: .68rem; color: var(--an-muted); }
.an-card .q { font-family: var(--f-cn-serif); font-size: var(--step-1); margin-top: 14px; line-height: 1.6; }
.an-card p.t { color: var(--an-muted); margin-top: 10px; font-size: .93rem; line-height: 1.85; max-width: 30em; }
.an-card ul { margin-top: 14px; display: grid; gap: 4px; font-size: .84rem; color: var(--an-muted); }
.an-card ul li::before { content: "— "; color: var(--an-accent); }
.an-card .ref { margin-top: 12px; font-size: .78rem; color: var(--an-accent); letter-spacing: .06em; }
.an-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.an-chips button { all: unset; cursor: pointer; width: 34px; height: 34px; display: grid; place-items: center; font-family: var(--f-cn-serif); font-size: 1rem; border: 1px solid var(--an-line); color: var(--an-fg); transition: background .3s, color .3s; }
.an-chips button[aria-current="true"] { background: var(--an-fg); color: var(--an-bg, #D7DAD3); border-color: var(--an-fg); }
.an-chips button:focus-visible { outline: 2px solid var(--an-accent); outline-offset: 2px; }
.an-chips .sep { width: 10px; }
.an-stage { position: relative; min-width: 0; }
.an-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.an-stage .fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.an-stage.ready .fallback { display: none; }
.an-labels { position: absolute; inset: 0; pointer-events: none; }
.an-label { position: absolute; left: 0; top: 0; display: flex; align-items: baseline; gap: 8px; color: var(--an-fg); white-space: nowrap; opacity: 0; transition: opacity .4s; will-change: transform; }
.an-label::before { content: ""; width: 34px; height: 1px; background: var(--an-line); align-self: center; }
.an-label i { font-style: normal; font-family: var(--f-mono); font-size: .66rem; color: var(--an-muted); }
.an-label b { font-family: var(--f-cn-serif); font-weight: 400; font-size: 1.15rem; }
.an-label span { font-size: .74rem; color: var(--an-muted); letter-spacing: .08em; }
.an-label.on b { color: var(--an-accent); }
.an-label.on::before { background: var(--an-accent); }
.an-clock { position: absolute; right: max(28px, env(safe-area-inset-right, 0px)); top: 92px; z-index: 3; display: grid; justify-items: end; gap: 6px; color: var(--an-fg); }
.an-clock b { font-family: var(--f-mono); font-weight: 400; font-size: 1.6rem; letter-spacing: .06em; }
.an-clock span { font-family: var(--f-cn-serif); font-size: .9rem; color: var(--an-muted); letter-spacing: .3em; }
.an-time { display: flex; gap: 4px; }
.an-time button { all: unset; cursor: pointer; font-family: var(--f-cn-serif); font-size: .8rem; padding: 2px 8px; border: 1px solid var(--an-line); color: var(--an-muted); }
.an-time button[aria-pressed="true"] { color: var(--an-fg); border-color: var(--an-fg); }
.an-time button:focus-visible { outline: 2px solid var(--an-accent); }
.an-note { font-size: .72rem; color: var(--an-muted); }
@media (min-width: 901px) and (max-height: 820px) { .an-panel h2 { font-size: var(--step-2); } .an-card .glyph { font-size: 3.6rem; } .an-card ul { display: none; } }
@media (max-width: 900px) {
  .anatomy { height: 820vh; }
  .an-sticky { grid-template-columns: 1fr; grid-template-rows: 54vh minmax(0, 1fr); }
  .an-stage { order: -1; }
  .an-panel { padding: 10px var(--gutter-r) 14px var(--gutter); gap: 10px; }
  .an-panel h2, .an-chapters, .an-panel > .eyebrow, .an-note { display: none; }
  .an-card .glyph { font-size: 2.6rem; display: inline; }
  .an-card .nm { display: inline-flex; margin: 0 0 0 10px; }
  .an-card .q { font-size: 1.02rem; margin-top: 6px; }
  .an-card p.t { font-size: .84rem; margin-top: 6px; }
  .an-card ul, .an-card .ref { display: none; }
  .an-chips { flex-wrap: nowrap; gap: 4px; }
  .an-chips button { width: 28px; height: 28px; font-size: .86rem; }
  .an-chips .sep { width: 4px; }
  .an-clock { top: 74px; right: var(--gutter-r); }
  .an-time { display: none; }
  .an-clock b { font-size: 1.1rem; }
  .an-label span, .an-label i { display: none; }
  .an-label b { font-size: .95rem; }
}

/* ---------- three chapters (natural narrative) ---------- */
.chapter { background: var(--night); color: var(--night-fg); }
.chapter .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 110px); align-items: center; padding-block: clamp(64px, 9vw, 140px); }
.chapter:nth-of-type(even) .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.chapter:nth-of-type(even) .ph { order: 2; }
.chapter .ph { aspect-ratio: 4/5; overflow: hidden; max-height: 78vh; }
.chapter .ph img { width: 100%; height: 100%; object-fit: cover; }
.chapter .no { font-family: var(--f-mono); font-size: .76rem; color: var(--night-muted); letter-spacing: .1em; }
.chapter h2 { display: grid; gap: 10px; margin-top: 14px; }
.chapter h2 .caps { font-size: clamp(2.6rem, 1.6rem + 4vw, 5.6rem); letter-spacing: .22em; font-weight: 400; line-height: 1; }
.chapter h2 .cn { font-family: var(--f-cn-serif); font-size: var(--step-2); font-weight: 300; letter-spacing: .3em; }
.chapter .kw { margin-top: 18px; font-family: var(--f-cn-serif); color: var(--glow); letter-spacing: .4em; }
.chapter .prose { margin-top: 22px; color: var(--night-muted); }
.chapter .subs { margin-top: 30px; display: flex; gap: 22px; flex-wrap: wrap; }
.chapter .subs a { display: grid; gap: 2px; border-top: 1px solid var(--night-line); padding-top: 10px; min-width: 7em; }
.chapter .subs b { font-family: var(--f-cn-serif); font-weight: 400; font-size: 1.6rem; }
.chapter .subs span { font-size: .7rem; letter-spacing: .24em; color: var(--night-muted); text-transform: uppercase; font-family: var(--f-latin); }
.chapter .subs a:hover b { color: var(--glow); }
@media (max-width: 860px) { .chapter .wrap, .chapter:nth-of-type(even) .wrap { grid-template-columns: 1fr; padding-left: var(--gutter); padding-right: var(--gutter-r); } .chapter:nth-of-type(even) .ph { order: 0; } .chapter .ph { aspect-ratio: 4/3; } }

/* nine-character matrix */
.nine { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.nine a { position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 22px; align-items: center; min-height: 150px; transition: background .4s; }
.nine a:hover { background: var(--surface); color: inherit; }
.nine .g { grid-row: span 2; font-family: var(--f-cn-serif); font-size: clamp(2.6rem, 2rem + 2vw, 4rem); font-weight: 300; line-height: 1; }
.nine .en { font-family: var(--f-latin); letter-spacing: .26em; font-size: .82rem; text-transform: uppercase; }
.nine .ln { font-size: .86rem; color: var(--muted); }
.nine .ch { position: absolute; top: 12px; right: 14px; font-family: var(--f-latin); font-size: .62rem; letter-spacing: .24em; color: var(--muted); }
@media (max-width: 760px) { .nine { grid-template-columns: 1fr; } .nine a { min-height: 0; } }

/* sub-series cards (narrative page) */
.chap-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 90px); align-items: end; padding-block: clamp(56px, 8vw, 110px) clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); scroll-margin-top: 72px; }
.chap-head h2 { display: grid; gap: 8px; }
.chap-head h2 .caps { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 5rem); letter-spacing: .2em; line-height: 1; font-weight: 400; }
.chap-head h2 .cn { font-family: var(--f-cn-serif); font-weight: 300; font-size: var(--step-2); letter-spacing: .3em; }
.chap-head .prose { color: var(--muted); }
.chap-head .kw { font-family: var(--f-cn-serif); color: var(--walnut); letter-spacing: .4em; margin-bottom: 14px; display: block; }
@media (max-width: 860px) { .chap-head { grid-template-columns: 1fr; } }
.sxs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); padding-bottom: clamp(56px, 8vw, 110px); }
.sx { display: grid; gap: 14px; align-content: start; scroll-margin-top: 96px; }
.sx .ph { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--surface); }
.sx .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sx:hover .ph img { transform: scale(1.04); }
.sx .ph .g { position: absolute; left: 18px; bottom: 12px; font-family: var(--f-cn-serif); font-size: clamp(3rem, 2.4rem + 2vw, 4.6rem); color: #F4F0E8; text-shadow: 0 2px 24px rgba(0,0,0,.35); line-height: 1; }
.sx .ph .st { position: absolute; top: 14px; right: 14px; font-size: .7rem; letter-spacing: .1em; background: rgba(20,20,18,.55); color: #F1ECE2; padding: 3px 10px; backdrop-filter: blur(4px); }
.sx h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: var(--step-1); }
.sx h3 .caps { font-size: .72rem; letter-spacing: .26em; color: var(--muted); }
.sx .line { font-family: var(--f-cn-serif); color: var(--walnut); letter-spacing: .08em; }
.sx p { color: var(--muted); font-size: .92rem; }
.sx .spaces { font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.sx .spaces b { font-weight: 400; color: var(--fg); margin-right: 6px; }
@media (max-width: 900px) { .sxs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sxs { grid-template-columns: 1fr; } }
.chap-visual { position: relative; height: clamp(320px, 52vw, 640px); overflow: hidden; }
.chap-visual img { width: 100%; height: 100%; object-fit: cover; }
.chap-visual .over { position: absolute; inset: auto 0 0 0; padding: 28px var(--gutter-r) 28px var(--gutter); color: #F2EEE6; background: linear-gradient(0deg, rgba(10,10,9,.6), transparent); font-family: var(--f-cn-serif); font-size: var(--step-2); font-weight: 300; letter-spacing: .2em; }

/* project (case) cards v2 */
.proj-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.proj { display: grid; gap: 14px; align-content: start; color: inherit; }
.proj .ph { overflow: hidden; }
.proj .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.proj:hover .ph img { transform: scale(1.04); }
.proj .meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .74rem; letter-spacing: .1em; color: var(--muted); }
.proj h3 { font-size: var(--step-1); }
.proj p { color: var(--muted); font-size: .92rem; max-width: 34em; }
.proj .with { font-size: .78rem; color: var(--walnut); letter-spacing: .06em; }
.pa { grid-column: 1 / 8; } .pa .ph { aspect-ratio: 3/2; }
.pb { grid-column: 8 / 13; margin-top: 14%; } .pb .ph { aspect-ratio: 4/5; }
.pc { grid-column: 1 / 6; } .pc .ph { aspect-ratio: 4/5; }
.pd { grid-column: 6 / 13; margin-top: 10%; } .pd .ph { aspect-ratio: 3/2; }
@media (max-width: 800px) { .pa, .pb, .pc, .pd { grid-column: 1 / -1; margin-top: 0; } }

/* anatomy long-form page */
.essay { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 70px); padding-block: clamp(56px, 8vw, 120px); border-top: 1px solid var(--line); align-items: start; scroll-margin-top: 80px; }
.essay .g { font-family: var(--f-cn-serif); font-size: clamp(4rem, 3rem + 4vw, 8rem); font-weight: 300; line-height: .9; position: sticky; top: 110px; }
.essay .g small { display: block; font-family: var(--f-latin); font-size: .11em; letter-spacing: .3em; color: var(--muted); margin-top: 14px; text-transform: uppercase; }
.essay h2 { font-size: var(--step-2); font-weight: 400; }
.essay .q { font-family: var(--f-cn-serif); color: var(--walnut); margin-top: 10px; }
.essay .prose { margin-top: 20px; color: var(--muted); }
.essay .consider { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.essay .consider h3 { font-family: var(--f-sans); font-size: .72rem; letter-spacing: .2em; color: var(--muted); font-weight: 400; margin-bottom: 8px; }
.essay .consider li { padding: 4px 0; font-size: .92rem; }
.essay .consider li::before { content: "— "; color: var(--walnut); }
.essay figure .ph { overflow: hidden; aspect-ratio: 4/5; }
.essay figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .essay { grid-template-columns: 1fr; } .essay .g { position: static; } }

.chap-tag { font-family: var(--f-latin); font-size: .72rem; letter-spacing: .28em; color: var(--muted); }
.flex-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.flex-grid figure .ph { aspect-ratio: 3/4; overflow: hidden; }
.flex-grid figure img { width: 100%; height: 100%; object-fit: cover; }
.flex-grid h3 { margin-top: 14px; font-size: var(--step-1); }
.flex-grid p { color: var(--muted); font-size: .9rem; margin-top: 6px; }
@media (max-width: 860px) { .flex-grid { grid-template-columns: 1fr; } }
.steps.nine-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps.nine-steps li:nth-child(6) { padding-left: 0; border-left: 0; }
.steps.nine-steps li:nth-child(n+6) { border-top: 1px solid var(--line); }
@media (max-width: 900px) { .steps.nine-steps { grid-template-columns: 1fr 1fr; } }
.closing { text-align: center; padding-block: clamp(80px, 12vw, 180px); position: relative; color: #F2EEE6; isolation: isolate; overflow: hidden; }
.closing img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.closing::after { content: ""; position: absolute; inset: 0; background: rgba(20,18,15,.45); z-index: -1; }
.closing p.big { font-family: var(--f-cn-serif); font-size: var(--step-4); font-weight: 300; letter-spacing: .3em; }
.closing p.sm { margin-top: 18px; color: rgba(242,238,230,.85); }
.archive { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.archive a { display: grid; gap: 10px; }
.archive .ph { aspect-ratio: 4/3; overflow: hidden; }
.archive img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.archive b { font-family: var(--f-cn-serif); font-weight: 400; }
.archive small { color: var(--muted); font-size: .76rem; }
@media (max-width: 860px) { .archive { grid-template-columns: 1fr 1fr; } }
.triptych { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.tp { display: grid; gap: 16px; align-content: start; }
.tp .ph { position: relative; aspect-ratio: 3/4; overflow: hidden; display: block; background: var(--night); }
.tp .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tp .ph:hover img { transform: scale(1.04); }
.tp .ph .caps { position: absolute; left: 20px; bottom: 18px; color: #F2EEE6; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem); letter-spacing: .24em; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.tp h3 { font-size: var(--step-1); letter-spacing: .12em; }
.tp p { color: var(--muted); font-size: .9rem; }
.tp .chars { display: flex; gap: 18px; font-family: var(--f-cn-serif); font-size: 1.7rem; border-top: 1px solid var(--line); padding-top: 12px; }
.tp .chars a:hover { color: var(--walnut); }
@media (max-width: 760px) { .triptych { grid-template-columns: 1fr; } .tp .ph { aspect-ratio: 4/3; } }
.proj-grid.more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .proj-grid.more { grid-template-columns: 1fr; } }
.trace-sw { padding-bottom: clamp(56px, 8vw, 110px); }
.swatch h3 small { font-family: var(--f-latin); }
.essay .g small { font-family: var(--f-latin); }
.case .info .city { letter-spacing: .1em; text-transform: none; }

/* =====================================================================
   Shanghai store site (v3) — 溪岸上海徐汇店
   ===================================================================== */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--fg); color: var(--bg); padding: 10px 16px; font-size: .86rem; }
.skip:focus { top: 12px; color: var(--bg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.brand .loc { font-family: var(--f-cn-serif); font-size: .82rem; letter-spacing: .3em; opacity: .75; margin-left: -4px; }
.nav a.lang { font-family: var(--f-latin); letter-spacing: .2em; opacity: .8; }
.btn--ghost { border-color: var(--line); }
.btn--ghost:hover { border-color: var(--fg); }
.contact .note { margin-top: 24px; color: var(--muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.contact dd a { border-bottom: 1px solid var(--line); }
.contact .cn-addr { color: var(--muted); font-size: .88rem; }
.qr .box--qr { border-style: solid; border-color: var(--line); background: #fff; padding: 10px; }
.qrs { grid-template-columns: repeat(2, minmax(0, 220px)); }

/* store band under the hero */
.store-band { background: var(--surface); border-bottom: 1px solid var(--line); }
.store-band .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 56px); align-items: center; padding-top: 26px; padding-bottom: 26px; }
.store-band .sb-name { display: grid; gap: 4px; }
.store-band .sb-name b { font-family: var(--f-cn-serif); font-weight: 400; font-size: var(--step-1); letter-spacing: .12em; }
.store-band dl { margin: 0; display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px 28px; }
.store-band dl div { display: grid; gap: 2px; }
.store-band dt { font-size: .72rem; letter-spacing: .16em; color: var(--muted); }
.store-band dd { margin: 0; font-size: .92rem; }
.store-band .sb-act { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 1100px) { .store-band .wrap { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .store-band dl { grid-template-columns: 1fr; } }

/* international client cards */
.client-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.client-grid .cl { display: grid; gap: 10px; align-content: start; padding: 28px 22px 32px 0; border-bottom: 1px solid var(--line); transition: background .3s var(--ease); }
.client-grid .cl + .cl { padding-left: 22px; border-left: 1px solid var(--line); }
.client-grid--8 .cl:nth-child(4n + 1) { padding-left: 0; border-left: 0; }
.client-grid .cl .caps { font-size: .66rem; color: var(--walnut); letter-spacing: .26em; }
.client-grid .cl b { font-family: var(--f-cn-serif); font-weight: 400; font-size: var(--step-1); }
.client-grid .cl small { color: var(--muted); font-size: .86rem; line-height: 1.7; }
.client-grid .cl:hover b { color: var(--walnut); }
@media (max-width: 960px) { .client-grid { grid-template-columns: 1fr 1fr; } .client-grid .cl:nth-child(odd) { padding-left: 0; border-left: 0; } .client-grid .cl:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); } }
@media (max-width: 560px) { .client-grid { grid-template-columns: 1fr; } .client-grid .cl, .client-grid .cl + .cl { padding-left: 0; border-left: 0; } }

/* districts */
.district-list { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.district-list li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.district-list a, .district-list li > b { display: grid; gap: 2px; padding: 18px 14px; font-family: var(--f-cn-serif); font-size: var(--step-1); font-weight: 400; }
.district-list small { font-family: var(--f-latin); font-size: .64rem; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.district-list a:hover { background: var(--bg); }
.district-list.en-areas li { display: grid; gap: 2px; padding: 16px 14px; }
.district-list.en-areas li b { padding: 0; font-family: var(--f-latin); font-size: 1rem; letter-spacing: .04em; }
.district-list.en-areas small { font-family: var(--f-sans); letter-spacing: .04em; text-transform: none; font-size: .78rem; }
@media (max-width: 1100px) { .district-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .district-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* knowledge-base cards */
.kb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.kb { display: grid; gap: 8px; align-content: start; padding: 26px 24px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s var(--ease); }
.kb:hover { background: var(--surface); color: inherit; }
.kb .n { font-family: var(--f-mono); font-size: .8rem; color: var(--walnut); }
.kb b { font-family: var(--f-cn-serif); font-weight: 400; font-size: var(--step-2); }
.kb small { color: var(--muted); font-size: .84rem; line-height: 1.7; }

/* Q&A layout */
.qa-layout { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.qa-side { position: sticky; top: 92px; max-height: calc(100vh - 110px); display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 22px; }
.qa-tools { display: grid; gap: 10px; }
.qa-tools input, .hub-search input { width: 100%; font: inherit; font-size: .92rem; color: var(--fg); background: var(--surface); border: 1px solid var(--line); padding: 12px 14px; border-radius: 0; -webkit-appearance: none; appearance: none; }
.qa-tools input:focus, .hub-search input:focus { outline: 2px solid var(--walnut); outline-offset: 0; }
.qa-toggle { justify-self: start; background: none; border: 0; padding: 0; font: inherit; font-size: .78rem; letter-spacing: .16em; color: var(--muted); cursor: pointer; border-bottom: 1px solid var(--line); }
.qa-toc { overflow: auto; overscroll-behavior: contain; padding-right: 8px; }
.qa-toc .eyebrow { margin-bottom: 10px; }
.qa-toc ol { display: grid; gap: 2px; }
.qa-toc a { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .88rem; color: var(--muted); border-bottom: 1px solid transparent; }
.qa-toc a small { font-family: var(--f-mono); font-size: .72rem; }
.qa-toc a[aria-current="true"], .qa-toc a:hover { color: var(--fg); border-bottom-color: var(--line); }
.qa-body .faq-group { scroll-margin-top: 90px; }
.qa-body .faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 small { font-family: var(--f-mono); font-size: .74rem; color: var(--muted); margin-left: .8em; letter-spacing: .04em; }
.faq details.qa { scroll-margin-top: 90px; }
.faq details.qa summary { font-size: var(--step-0); padding: 18px 0; line-height: 1.6; }
.faq details.qa .ans { position: relative; padding-right: 32px; color: var(--fg); opacity: .86; }
.faq .alts { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: baseline; font-size: .8rem; color: var(--muted); }
.faq .alts span { letter-spacing: .12em; margin-right: 4px; }
.faq .alts i { font-style: normal; border: 1px solid var(--line); padding: 1px 8px; }
.faq .perma { position: absolute; right: 0; top: 0; font-family: var(--f-mono); color: var(--muted); border: 0 !important; opacity: .5; }
.faq .perma:hover { opacity: 1; }
.faq .src { margin-top: 10px; font-size: .8rem; }
.qa-empty { padding: 40px 0; color: var(--muted); }
.qa-more { margin-top: 56px; color: var(--muted); }
.qa-more a { border-bottom: 1px solid var(--line); }
.qa-count { margin-top: 18px; font-size: .86rem; color: var(--muted); }
.qa-count b { font-family: var(--f-mono); font-weight: 400; color: var(--walnut); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; border: 1px solid var(--line); padding: 6px 14px; font-size: .86rem; }
.chips a:hover { border-color: var(--fg); color: inherit; }
@media (max-width: 900px) {
  .qa-layout { grid-template-columns: 1fr; }
  .qa-side { position: static; max-height: none; }
  .qa-toc { display: none; }
}

/* hub search */
.hub-search { max-width: 860px; display: grid; gap: 14px; }
.hub-search input { font-size: 1.05rem; padding: 16px 18px; }
.hub-results { display: grid; border-top: 1px solid var(--line); }
.hub-results:empty { border-top: 0; }
.hub-results li a, .hub-results li.none { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hub-results li a span { font-size: .74rem; letter-spacing: .1em; color: var(--muted); }
.hub-results li.none { color: var(--muted); }

/* visit */
.addr-big { margin-top: 22px; font-family: var(--f-cn-serif); font-size: var(--step-1); line-height: 1.6; }
.visit-card { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.visit-card figure { margin: 0; }
.visit-card .ph { aspect-ratio: 4/3; overflow: hidden; }
.visit-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.visit-card figcaption { margin-top: 10px; font-size: .78rem; color: var(--muted); }
.visit-card h2 { font-size: var(--step-2); margin-top: 12px; }
.vc-dl { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px 18px; margin: 24px 0 0; }
.vc-dl dt { color: var(--muted); font-size: var(--step--1); letter-spacing: .1em; padding-top: .2em; }
.vc-dl dd { margin: 0; }
.vc-dl dd a { border-bottom: 1px solid var(--line); }
.vc-dl .copy, .taxi .copy { margin-left: 10px; font-size: .72rem; letter-spacing: .1em; border: 1px solid var(--line); background: none; color: inherit; padding: 2px 8px; cursor: pointer; font-family: var(--f-sans); }
.map-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.map-btns .btn { padding: .7em 1.2em; letter-spacing: .1em; text-transform: none; }
.transit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); }
.tr-col h3 { font-size: var(--step-1); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.tr-col li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tr-col li b { font-weight: 400; font-family: var(--f-cn-serif); }
.tr-col li span { font-size: .9rem; }
.tr-col li small, .tr-col p { color: var(--muted); font-size: .84rem; }
.tr-col p { padding-top: 10px; line-height: 1.75; }
.checklist { background: var(--surface); padding: clamp(24px, 4vw, 44px); }
.checklist h3 { font-size: var(--step-2); margin: 10px 0 18px; font-weight: 300; }
.checklist ul.ticks { display: grid; gap: 10px; }
.checklist ul.ticks li { padding-left: 1.6em; position: relative; }
.checklist ul.ticks li::before { content: ""; position: absolute; left: 0; top: .9em; width: .9em; height: 1px; background: var(--walnut); }
@media (max-width: 900px) { .visit-card { grid-template-columns: 1fr; } .transit { grid-template-columns: 1fr; } }
@media (max-width: 1100px) and (min-width: 901px) { .transit { grid-template-columns: 1fr 1fr; } }

/* route table */
.table-wrap { overflow-x: auto; }
.route-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.route-table th, .route-table td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.route-table thead th { font-family: var(--f-sans); font-weight: 400; font-size: .72rem; letter-spacing: .16em; color: var(--muted); }
.route-table tbody th { font-family: var(--f-cn-serif); font-weight: 400; white-space: nowrap; }
.route-table tbody th a { border-bottom: 1px solid var(--line); }
.route-table tbody th small { display: block; font-family: var(--f-latin); font-size: .64rem; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.route-table td:nth-child(2) { white-space: nowrap; color: var(--muted); }
.steps.seven-steps { grid-template-columns: repeat(7, minmax(0, 1fr)); }
@media (max-width: 1100px) { .steps.seven-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } .steps.seven-steps li:nth-child(5) { padding-left: 0; border-left: 0; } }
@media (max-width: 900px) { .steps.seven-steps { grid-template-columns: 1fr 1fr; } }

/* English pages */
.hero2 h1.en-h1 { writing-mode: horizontal-tb; right: auto; left: max(var(--gutter), 16px); top: 120px; font-family: var(--f-latin); letter-spacing: .32em; font-size: clamp(3rem, 2rem + 6vw, 8rem); }
.hero2 h1.en-h1 small { margin: 14px 0 0; font-family: var(--f-latin); letter-spacing: .4em; font-size: .16em; }
@media (min-width: 900px) { .hero2 h1.en-h1 { left: max(48px, env(safe-area-inset-left, 0px)); } }
@media (max-width: 700px) { .hero2 h1.en-h1 { top: 100px; font-size: 3rem; } }
html[lang="en"] .hero2 .lead { padding-right: 0; }
.en-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); border-top: 1px solid var(--line); }
.en-list li { padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--f-latin); letter-spacing: .03em; }
.taxi { margin-top: 12px; font-family: var(--f-cn-serif); font-size: var(--step-1); }
.taxi span { display: block; font-family: var(--f-sans); font-size: .76rem; letter-spacing: .12em; color: var(--muted); }

.page-hero.nf { min-height: 70vh; }
b, strong { font-weight: 500; }
.hub-results li.count { padding: 10px 0; font-size: .78rem; letter-spacing: .1em; color: var(--muted); border-bottom: 1px solid var(--line); }
