@font-face {font-family:TitleSerif;src:url('assets/title-serif.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face {font-family:ProfileSerif;src:url('assets/profile-serif.ttf') format('truetype');font-style:normal;font-weight:500;font-display:swap}
@font-face {font-family:Manrope;src:url('assets/manrope-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face {font-family:Manrope;src:url('assets/manrope-600.ttf') format('truetype');font-weight:600;font-display:swap}
:root {--ink:#303c45;--muted:#51636c;--cyan:#72bdbd;--cyan-deep:#397a7c;--gold:#b39348;--gold-light:#e7cb80;--rule:rgba(72,104,115,.3);--head:78px;--foot:74px;--hero-height:min(78dvh,780px);color-scheme:light}
* {box-sizing:border-box}
html, body {width:100%;height:100%;margin:0;overflow:hidden}
body {font-family:Manrope,"Microsoft YaHei",sans-serif;color:var(--ink);background:#dde5e9;-webkit-font-smoothing:antialiased}
button, a, input {-webkit-tap-highlight-color:transparent}
button {font:inherit;border:0;background:none;color:inherit;cursor:pointer}
a {color:inherit;text-decoration:none}
button:focus-visible, a:focus-visible, input:focus-visible, main:focus-visible {outline:2px solid var(--cyan-deep);outline-offset:5px}
::selection {background:#b7d8d4;color:#233e42}
svg {width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.svg-defs, .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}
.skip-link {position:fixed;top:12px;left:20px;z-index:100;transform:translateY(-180%);padding:12px;background:#fff}
.skip-link:focus {transform:none}
#journey {position:relative;height:calc(100dvh - var(--head) - var(--foot));width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x;cursor:grab;isolation:isolate}
#journey::-webkit-scrollbar {display:none}
#journey.dragging {cursor:grabbing}
#journey.dragging button {cursor:grabbing}
.journey-track {display:flex;width:max-content;height:100%;position:relative}
.panel {position:relative;flex:none;height:100%}
.walls {display:flex;height:100%;flex:none}
.wall {width:100vw;min-width:900px;position:relative;height:100%;padding:64px 7vw 170px;flex:none}
.wall::before {content:"";position:absolute;left:2vw;top:4%;bottom:5%;width:1px;background:linear-gradient(transparent,var(--rule),transparent)}
.wall-header {position:absolute;top:5px;left:7vw;right:7vw;display:flex;align-items:center;gap:20px}
.wall-header h2 {font-family:TitleSerif,"SimSun",serif;font-weight:600;font-size:24px;line-height:1.4;margin:0}
.wall-header span {font-size:12px;color:#526b71;letter-spacing:.05em}
.wall-grid {display:grid;grid-template-columns:1fr 1fr 1.08fr 1.08fr 1fr 1fr;grid-template-rows:1fr 1fr;gap:38px 25px;height:100%;align-items:center;justify-items:center}
.hanging {position:relative;padding:0;display:block;max-width:100%;max-height:100%;min-width:0;width:100%;transform-origin:50% -21px;will-change:transform;transition:filter .2s;user-select:none;-webkit-user-select:none}
.hanging:nth-child(1) {grid-area:1/1/3/3}
.hanging:nth-child(2) {grid-area:1/3/2/5}
.hanging:nth-child(3) {grid-area:1/5/3/7}
.hanging:nth-child(4) {grid-area:2/3/3/4}
.hanging:nth-child(5) {grid-area:2/4/3/5}
.hanging .cord {position:absolute;bottom:100%;left:4%;width:92%;height:25px;stroke:#827d6a;stroke-width:.55;overflow:visible;pointer-events:none}
.cord circle {fill:#b7a469;stroke:none}
.mat {position:relative;padding:clamp(6px,.7vw,11px);background:#e9e7dd;box-shadow:4px 9px 17px #40576722;display:block;overflow:hidden}
.mat img {width:100%;height:100%;display:block;object-fit:contain;background:#e3e2dc}
.rod {position:absolute;height:5px;left:-7px;right:-7px;border-radius:4px;background:linear-gradient(#d0c2a0,#9a8b64 55%,#c5b28a);box-shadow:0 2px 2px #52625b22;pointer-events:none}
.rod.top {top:-3px}
.rod.bottom {bottom:-3px}
.rod::before, .rod::after {content:"";position:absolute;top:-1px;width:5px;height:7px;background:#b69a5f;border-radius:2px;left:0}
.rod::after {left:auto;right:0}
.tassel {position:absolute;right:-5px;top:100%;height:17px;width:2px;background:var(--cyan-deep);transform-origin:top}
.tassel:after {content:"";position:absolute;bottom:-4px;left:-2px;width:6px;height:9px;background:var(--cyan);border-radius:0 0 2px 2px}
.hanging:focus-visible, .hanging:hover {outline:none;filter:brightness(1.035)}
.hanging:focus-visible .mat, .hanging:hover .mat {box-shadow:4px 10px 24px #40576730,0 0 0 1.5px var(--gold)}
.hanging .expand-sign {position:absolute;right:8px;bottom:9px;padding:5px;background:#e6ece8e0;opacity:0;transform:translateY(3px);transition:opacity .18s,transform .18s;color:var(--cyan-deep)}
.hanging:hover .expand-sign, .hanging:focus-visible .expand-sign {opacity:1;transform:none}
.expand-sign svg {display:block;width:17px;height:17px}
.picture-error .mat {background:#dce4e5;min-height:120px;display:grid;place-items:center;font-size:14px}
.wall-hint {position:absolute;bottom:47px;left:7vw;font-size:12px;color:var(--jade-ink)}
.wall-credit {position:absolute;right:7vw;bottom:47px;font-size:11px;color:#526870}
#wind-trail {position:fixed;inset:0;pointer-events:none;z-index:6;width:100%;height:100%}
#flight {position:fixed;left:0;top:0;width:160px;height:160px;padding:0;z-index:7;transform:translate3d(calc(100vw - 220px),calc(100dvh - 270px),0);touch-action:manipulation;will-change:transform;cursor:pointer;outline-offset:-20px}
#flight .flight-body {display:block;width:100%;height:100%;transform-origin:55% 74%;will-change:transform}
#flight img, #flight canvas {display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.flight-shadow {position:absolute;left:28%;right:10%;bottom:-3px;height:6px;background:#45616b24;border-radius:50%;filter:blur(5px);transform:scaleX(var(--shadow-scale,1));pointer-events:none}
#flight:focus-visible {outline:1px dashed var(--cyan-deep);border-radius:50%}
dialog#viewer {position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;padding:0;margin:0;border:0;overflow:hidden;background:#162128f5;color:#edf0eb;z-index:30}
dialog#viewer::backdrop {background:#14212855;backdrop-filter:blur(10px)}
.viewer-backdrop {position:absolute;inset:0;background:radial-gradient(ellipse at 50% 40%,#31454f40,transparent 75%)}
.viewer-top {position:absolute;left:4vw;right:4vw;top:20px;display:flex;align-items:center;justify-content:space-between;z-index:4;pointer-events:none;gap:10px}
.viewer-top>* {pointer-events:auto}
#image-position {font-size:14px;font-variant-numeric:tabular-nums;color:#c7d7d9}
.viewer-tools {display:flex;align-items:center;gap:10px}
.icon-button {display:grid;place-items:center;width:44px;height:44px;border:1px solid #d2e2e333;border-radius:50%;background:#20333d5c}
.icon-button:hover {background:#3d5b6566}
.icon-button:disabled {opacity:.25;cursor:default}
.viewer-tools>button svg {width:20px;height:20px}
#zoom-reset {min-width:48px;font-size:12px;padding:10px 0}
#original-link {display:flex;align-items:center;gap:7px;font-size:12px;padding:10px 15px;color:#e3ede7}
#original-link svg {width:14px;height:14px}
.viewer-stage {position:absolute;inset:80px 75px 70px;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;z-index:2}
.viewer-stage img {display:block;object-fit:contain;will-change:transform;user-select:none;-webkit-user-select:none;cursor:zoom-in;transform-origin:center}
.viewer-stage.zoomed img {cursor:grab}
.viewer-stage.zoomed.dragging img {cursor:grabbing}
.viewer-prev, .viewer-next {position:absolute;top:calc(50% - 22px);z-index:4}
.viewer-prev {left:20px}
.viewer-next {right:20px}
.viewer-hint {position:absolute;left:0;right:0;bottom:20px;text-align:center;font-size:12px;color:#b6ccce;pointer-events:none}
.viewer-close {margin-left:9px;border-color:#d2e2e369}
#viewer-status {position:absolute;left:0;right:0;bottom:42px;text-align:center;font-size:12px;color:#e1d39d;z-index:4;pointer-events:none}
@media(max-height:760px) and (min-width:701px) {
.wall {padding-top:56px;padding-bottom:160px}
.wall-grid {gap:30px 22px}
.wall-header {top:4px}
.wall-hint, .wall-credit {bottom:35px}
}
@media(max-width:700px) {
#journey {outline-offset:-3px}
#flight {width:126px;height:126px;z-index:7}
.wall {width:100vw;min-width:0;padding:57px 25px 137px}
.wall::before {left:10px}
.wall-header {left:25px;right:25px;top:9px;gap:14px}
.wall-header h2 {font-size:23px}
.wall-header span {font-size:11px}
.wall-grid {display:flex;justify-content:center;align-items:center;height:100%;gap:0}
.wall-grid>.hanging {display:none;max-width:90%;width:auto;max-height:100%}
.wall-grid>.hanging:first-child {display:block}
.hanging .mat {padding:9px}
.hanging .cord {height:25px}
.wall-hint {left:27px;bottom:102px;font-size:11px}
.wall-credit {display:none}
.hanging .expand-sign {opacity:.85}
.viewer-top {left:14px;right:14px;top:12px}
.viewer-tools {gap:2px}
.viewer-tools .icon-button {width:37px;height:37px}
.viewer-close {margin-left:5px}
#image-position {font-size:11px}
#original-link {font-size:11px;padding:10px 7px}
#original-link svg {display:none}
#zoom-reset {min-width:37px;font-size:10px}
.viewer-stage {inset:70px 15px 95px}
.viewer-prev, .viewer-next {top:auto;bottom:35px}
.viewer-prev {left:calc(50% - 65px)}
.viewer-next {right:calc(50% - 65px)}
.viewer-hint {bottom:10px;font-size:10px}
#viewer-status {bottom:80px}
}
@media(max-height:670px) and (max-width:700px) {
.wall {padding-bottom:120px}
#flight {width:106px;height:106px}
}
@media(max-height:480px) and (min-width:701px) {
.wall {padding:45px 7vw 58px}
.wall-grid {gap:22px 18px}
.wall-header h2 {font-size:20px}
.wall-hint, .wall-credit {bottom:23px}
#flight {width:115px;height:115px}
}
@media(prefers-reduced-motion:reduce) {
*, *::before, *::after {scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}
}
.wall-credit {display:none}
@media(max-width:700px) {
.wall {padding-bottom:137px}
#flight {width:126px;height:126px}
}
@media(max-height:670px) and (max-width:700px) {
.wall {padding-bottom:120px}
#flight {width:106px;height:106px}
}
@media(max-height:480px) and (min-width:701px) {
.wall {padding-bottom:90px}
#flight {width:95px;height:95px}
}
.wall-grid:has(>.hanging:only-child) {display:flex;justify-content:center;align-items:center}

/* Homepage composition follows the approved 1672 × 941 reference.
   The heading reuses a bounded portion; previews use supplied live-model images.
   Biography, navigation, controls, characters and gallery remain separate layers. */
:root {
  --head: 6.5dvh;
  --foot: 7.5dvh;
  --hero-height: 86dvh;
  --divider-x: 23.3vw;
  --gallery-clearance:200px;
  --ink: #303740;
  --cyan: #79b9b5;
  --cyan-deep: #487e7d;
  --jade-ink: #315856;
  --gold: #b49a60;
  --gold-light: #d7c38c;
  --rule: rgba(59, 97, 102, .34);
}
#journey {height:calc(100dvh - var(--head))}
.wall {padding-bottom:calc(var(--gallery-clearance) + var(--foot))}
.world {position:fixed;inset:0;overflow:hidden;pointer-events:none;background:#d4dde6 url('assets/world-background.webp') center/cover no-repeat}
.world::before {content:"";position:absolute;inset:0;background:inherit;filter:url('#world-jade');mask-image:linear-gradient(90deg,transparent 9%,#0007 36%,#000 76%);pointer-events:none}
.world::after {content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 85% 76%,#5caba519,transparent 64%);mix-blend-mode:multiply;pointer-events:none}
.world .moon,.world .horizon,.world .light {display:none}
.site-header {height:var(--head);padding:0 2.4vw 0 5.3vw;display:grid;grid-template-columns:18vw 1fr auto;align-items:center;position:relative;z-index:10}
.site-header::after {content:"";position:absolute;left:var(--divider-x);top:1.5dvh;bottom:0;width:1px;background:var(--rule);pointer-events:none}
.brand {display:flex;gap:1.2vw;align-items:center;justify-self:start;padding:0;font-family:Georgia,"SimSun",serif;font-size:2.1vw;line-height:1.1;letter-spacing:.08em;white-space:nowrap}
.brand i {height:1.5em;width:1px;background:var(--rule);transform:rotate(23deg)}
.brand-cn {font-family:TitleSerif,"SimSun",serif;font-size:.98em;letter-spacing:.2em}
.header-rule {height:1px;background:var(--rule);margin-right:4vw;transform:translateY(-.5dvh);position:relative}
.header-rule i {display:block;position:absolute;left:0;top:-.5px;width:44px;height:2px;background:linear-gradient(90deg,var(--gold-light) 0 54%,var(--cyan) 54% 100%)}
nav {display:flex;align-items:center;gap:2.7vw}
.nav-link {position:relative;min-width:3.6vw;min-height:40px;padding:4px 0;font-family:TitleSerif,"SimSun",serif;font-size:1.5vw;letter-spacing:.15em;white-space:nowrap}
.nav-link::after {content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--gold);transform:scaleX(0);transition:transform .2s}
.nav-link.active::after {transform:scaleX(1)}
.nav-link:hover,nav .official:hover {color:var(--jade-ink)}
nav .official {display:flex;width:9vw;align-items:center;justify-content:flex-end;gap:.7vw;font-family:TitleSerif,"SimSun",serif;font-size:1.35vw;white-space:nowrap}
nav .official svg {width:1.1vw;height:1.1vw;stroke-width:1.6}
.home {width:100vw;min-width:320px;position:relative;overflow:hidden}
.hero-line {position:absolute;top:0;bottom:0;left:var(--divider-x);width:1px;background:var(--rule);z-index:1}
.hero-line i {display:block;position:absolute;left:-.5px;top:27%;width:2px;height:11%;background:linear-gradient(var(--gold-light),var(--cyan));opacity:.65}
.hero-art {position:absolute;top:calc(7.5dvh - var(--head));left:calc(var(--divider-x) - var(--hero-height)*.473);width:calc(var(--hero-height)*.6666667);height:var(--hero-height);pointer-events:none;z-index:2}
.hero-art img,.hero-art canvas {display:block;width:100%;height:100%;object-fit:contain}
.hero-art::after {content:"";position:absolute;left:20%;right:-25%;bottom:-.5%;height:2.8%;border-radius:50%;background:radial-gradient(ellipse,#31465e3d,transparent 69%);filter:blur(4px);z-index:-1}
.home-copy {position:absolute;left:31.4vw;top:calc(-1*var(--head));height:100dvh;width:44vw;text-align:center;z-index:3}
.home-copy h1 {position:absolute;left:-1.5vw;top:9.56dvh;width:47.85vw;height:auto;aspect-ratio:800/190;margin:0;padding:0;line-height:1}
.heading-cloud {position:absolute;left:45.2vw;top:19.1dvh;width:10.17vw;height:auto;aspect-ratio:170/100;stroke:none;pointer-events:none}
.title-art {display:block;width:100%;height:100%;stroke:none;overflow:hidden}
.identity-line {position:absolute;top:29.9dvh;left:4%;right:4%;display:flex;justify-content:center;align-items:center;gap:1.25vw;line-height:1}
.latin-name {font:400 2.1vw/1 Georgia,serif;letter-spacing:.12em;color:#86620b}
.identity-rule {height:1px;flex:1;background:rgba(65,86,101,.58);position:relative}
.identity-rule:first-child::before,.identity-rule:last-child::after {content:"";position:absolute;top:-2px;width:4px;height:4px;background:var(--gold);transform:rotate(45deg)}
.identity-rule:first-child::before {left:0}.identity-rule:last-child::after {right:0}
.affiliation {position:absolute;top:34.6dvh;left:0;width:100%;margin:0;font-family:TitleSerif,"SimSun",serif;font-size:1.45vw;line-height:1.45;letter-spacing:.18em;color:#303d48}
.hero-facts {position:absolute;top:40.3dvh;left:9%;right:9%;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:3vw;font-family:"Microsoft YaHei","PingFang SC",sans-serif;font-size:clamp(14px,1.25vw,18px);font-weight:400;line-height:1.5;letter-spacing:.06em}
.hero-facts::after {content:"";position:absolute;left:50%;top:3px;width:1px;height:1.3em;background:var(--rule)}
.hero-facts div {display:flex;justify-content:center;align-items:baseline;gap:1em;min-width:0;padding-bottom:.55vw;border-bottom:1px solid var(--rule)}
.hero-facts dt {font:inherit;letter-spacing:inherit;color:var(--jade-ink);white-space:nowrap}
.hero-facts dd {margin:0;font:inherit;letter-spacing:inherit;white-space:nowrap;font-variant-numeric:tabular-nums}
.hero-facts div:first-child {border-bottom-color:#b49a6080}
.hero-facts div:last-child {border-bottom-color:#6caaa78c}
.hero-description {position:absolute;top:46.25dvh;left:4%;right:4%;margin:0;display:flex;align-items:center;justify-content:center;gap:1.7vw;font-family:TitleSerif,"SimSun",serif;font-size:1.4vw;line-height:1.4;letter-spacing:.18em;color:#3e4f5c;white-space:nowrap}
.hero-description::before,.hero-description::after {content:"";height:1px;flex:1;background:var(--rule)}
.home-previews {position:absolute;top:51.96dvh;left:0;width:100%;height:18.28dvh;display:flex;gap:1.7vw}
.preview {position:relative;flex:1;min-width:0;margin:0;height:100%;box-shadow:4px 10px 18px #33495b25;background:transparent;overflow:hidden}
.preview::before {content:"";position:absolute;left:0;top:0;width:18px;height:9px;border-left:1px solid #c2aa7399;border-top:1px solid #c2aa7399;z-index:1;pointer-events:none}
.preview::after {content:"";position:absolute;right:0;bottom:0;width:18px;height:9px;border-right:1px solid #6daba8bb;border-bottom:1px solid #6daba8bb;z-index:1;pointer-events:none}
.preview-art {width:100%;height:100%;display:block;object-fit:cover;object-position:50% 40%}
.home-actions {position:absolute;top:73.2dvh;left:0;width:100%;display:flex;justify-content:center;align-items:center}
.enter-gallery {font-family:TitleSerif,"SimSun",serif;display:flex;align-items:center;gap:1.5vw;padding:0 0 10px;min-height:44px;font-size:1.8vw;line-height:1.4;letter-spacing:.17em;position:relative;color:#303e48}
.enter-gallery svg {color:var(--cyan-deep);width:2.1vw;height:2.1vw;stroke-width:1.2;transition:transform .25s}
.enter-gallery:hover svg {transform:translateX(7px)}
.home-wind {position:absolute;top:85%;left:2%;width:96%;height:3dvh;pointer-events:none;fill:none;stroke:var(--cyan-deep);stroke-width:1.3;opacity:.6;z-index:-1}
.home-wind path+path {stroke-width:.6;opacity:.65}
.journey-footer {height:var(--foot);margin:0;position:fixed;bottom:0;left:7.8vw;right:7.8vw;z-index:10;display:flex;align-items:center;gap:1.2vw}
.route-name {font-family:TitleSerif,"SimSun",serif;font-size:1.25vw;letter-spacing:.2em;white-space:nowrap}
.route {position:relative;flex:1;height:44px;display:flex;align-items:center}
.route::before {content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:linear-gradient(90deg,var(--rule) 0 42%,transparent 42% 58%,var(--rule) 58% 100%)}
.route-progress {position:absolute;left:0;top:50%;height:1px;width:var(--progress,0%);background:linear-gradient(90deg,#c4aa6b,#70aaa6);mask-image:linear-gradient(90deg,#000 0 42%,transparent 42% 58%,#000 58% 100%);pointer-events:none}
.route input {width:100%;height:44px;appearance:none;-webkit-appearance:none;background:transparent;position:relative;margin:0;z-index:1;cursor:ew-resize}
.route input::-webkit-slider-thumb {appearance:none;width:10px;height:10px;border-radius:50%;background:var(--gold);border:1px solid #705d32;box-shadow:0 0 0 3px #85b7b329}
.route input::-moz-range-thumb {width:10px;height:10px;border-radius:50%;background:var(--gold);border:1px solid #705d32}
.direction {position:absolute;width:32px;height:36px;display:grid;place-items:center;top:calc(50% - 18px);color:#596f7b;opacity:.7}
#journey-prev {left:-4.4vw}#journey-next {right:-4.4vw}
.direction svg {width:18px;height:18px}.direction:disabled {opacity:.15;cursor:default}
.motion-toggle {position:absolute;right:-7vw;top:calc(50% - 18px);width:32px;height:36px;display:grid;place-items:center;opacity:.7}
.motion-toggle svg {width:14px;height:14px}
#journey-hint {position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-family:TitleSerif,"SimSun",serif;font-size:1.15vw;letter-spacing:.12em;white-space:nowrap;color:#3d515f;pointer-events:none}
#flight {width:var(--avatar-size,190px);height:var(--avatar-size,190px)}
#flight img {filter:saturate(.8)}
#flight .flight-body {filter:drop-shadow(1px 3px 2px #3f6f7620)}

@media(max-width:1000px) and (min-width:701px) {
  .site-header {min-height:46px}.brand {font-size:23px}.nav-link {font-size:17px;min-width:38px}
  nav .official {font-size:14px;width:90px}nav .official svg{width:14px;height:14px}
  .affiliation{font-size:15px}.hero-facts{font-size:14px}
  .hero-description{font-size:14px}.enter-gallery{font-size:20px}.latin-name{font-size:26px}
  .route-name{font-size:13px}#journey-hint{font-size:12px}
}
@media(max-width:700px) {
  :root {--head:64px;--foot:65px;--hero-height:min(58dvh,120vw);--divider-x:29vw;--gallery-clearance:137px}
  .world {background-position:43% center}
  .site-header {padding:0 19px;display:flex;gap:15px}.site-header::after{display:none}
  .brand{font-size:20px;gap:10px;letter-spacing:.04em}.brand i{height:17px}.brand-cn{font-size:18px}
  .header-rule{display:none}nav{margin-left:auto;gap:18px}
  .nav-link{font-family:inherit;font-size:14px;letter-spacing:0;min-width:0;min-height:40px}
  nav .official{width:auto;font-size:12px;letter-spacing:0;gap:3px}nav .official svg{width:12px;height:12px}
  .hero-art{top:calc(26dvh - var(--head))}.hero-line{top:0}
  .home-copy{left:32vw;width:64vw}
  .home-copy h1{left:-2.5vw;top:8.7dvh;width:68vw}.heading-cloud{display:none}
  .identity-line{top:19.5dvh;left:2%;right:2%;gap:13px}.latin-name{font-size:28px}
  .affiliation{top:25dvh;font-size:13px;letter-spacing:.03em;line-height:1.6}
  .hero-facts{top:32dvh;left:0;right:0;gap:12px;font-size:12px;letter-spacing:0}.hero-facts div{gap:6px;padding-bottom:8px}
  .hero-description{top:38dvh;left:0;right:0;font-size:14px;letter-spacing:.05em;gap:10px}
  .home-previews{top:44dvh;height:auto;aspect-ratio:735/172;gap:10px}.preview{aspect-ratio:355/172;height:auto}
  .home-actions{top:56dvh}.enter-gallery{font-size:17px;letter-spacing:.04em;gap:8px;min-height:40px}
  .enter-gallery svg{width:22px;height:22px}.home-wind{height:20px;top:84%}
  .journey-footer{margin:0;left:37px;right:37px;gap:10px}.route-name{font-size:11px;letter-spacing:.05em}
  .route::before{background:var(--rule)}.route-progress{mask-image:none}
  #journey-hint{display:none}#journey-prev{left:-31px}#journey-next{right:-31px}
  .motion-toggle{right:-32px;top:-27px;width:30px;height:30px;opacity:.5}.motion-toggle svg{width:12px;height:12px}
}
@media(max-width:360px) {
  .brand-cn,.brand i{display:none}.site-header{gap:10px}nav{gap:17px}
  .latin-name{font-size:24px}.affiliation{font-size:11px}
  .hero-description{font-size:12px}.enter-gallery{font-size:15px}
}
@media(max-height:480px) and (min-width:701px) {
  :root {--head:40px;--foot:42px}.site-header{min-height:0}.brand{font-size:21px}
  .hero-facts{top:39dvh}.hero-description{top:46dvh}.home-previews{top:52dvh}
  .enter-gallery{font-size:16px;min-height:30px}.home-actions{top:74dvh}
}

@media(max-height:760px) and (min-width:701px){:root{--gallery-clearance:190px}}
@media(max-height:670px) and (max-width:700px){:root{--gallery-clearance:120px}}
@media(max-height:480px) and (min-width:701px){:root{--gallery-clearance:110px}}

/* Curated picture rows: no slot-based size hierarchy or mixed two-row grid. */
#walls .wall {width:100vw;min-width:0;padding:84px 24vw 90px 6vw}
#walls .wall-header {top:12px;left:6vw;right:6vw;gap:16px;height:40px}
#walls .wall-header h2 {font-size:22px;letter-spacing:.08em}
#walls .wall-header span {font-size:12px;color:var(--jade-ink);font-variant-numeric:tabular-nums}
#walls .wall-grid {display:flex;justify-content:center;align-items:center;gap:clamp(28px,3.2vw,52px);height:100%}
#walls .wall-grid .hanging:nth-child(n) {display:block;grid-area:auto;flex:0 0 auto;max-width:none;max-height:none;margin:0}
#walls .hanging .mat {height:100%;padding:8px}
#walls .hanging .mat img {width:100%;height:100%;object-fit:contain}
#walls .wall-hint {left:6vw;font-size:12px}
#gallery-categories {position:fixed;top:calc(var(--head) + 12px);right:6vw;z-index:11;display:flex;gap:clamp(14px,1.6vw,24px);align-items:center}
#gallery-categories[hidden] {display:none}
#gallery-categories button {position:relative;padding:10px 0;font-size:13px;line-height:20px;white-space:nowrap;color:#3a5759}
#gallery-categories button::after {content:"";position:absolute;left:0;right:0;bottom:3px;height:2px;background:var(--gold);transform:scaleX(0);transition:transform .2s}
#gallery-categories button.active {color:var(--ink);font-weight:600}
#gallery-categories button.active::after {transform:scaleX(1)}
#gallery-categories button:hover {color:var(--jade-ink)}
@media(max-width:700px){
  #gallery-categories {top:calc(var(--head) + 4px);left:25px;right:25px;justify-content:space-between;gap:8px}
  #gallery-categories button {font-size:12px;padding:8px 0}
  #walls .wall {padding:102px 25px calc(var(--gallery-clearance) + var(--foot))}
  #walls .wall-header {top:51px;left:25px;right:25px;height:32px;gap:14px}
  #walls .wall-header h2 {font-size:20px}
  #walls .wall-header span {font-size:11px}
  #walls .wall-grid {gap:28px}
  #walls .wall-hint {left:25px;font-size:11px}
}
@media(max-height:480px) and (min-width:701px){
  #walls .wall {padding-top:70px;padding-bottom:55px}
  #walls .wall-header {top:5px}
  #walls .wall-header h2 {font-size:20px}
  #gallery-categories {top:calc(var(--head) + 5px)}
}

/* The whole profile uses one complete Chinese/Latin/numeric font subset. */
.home-copy {--profile-size:clamp(15px,1.3vw,18px);--profile-font:ProfileSerif,serif}
.home-copy .affiliation,.home-copy .hero-facts,.home-copy .hero-description {font-family:var(--profile-font);font-size:var(--profile-size);font-style:normal;font-weight:500;line-height:1.6;letter-spacing:.04em}
.home-copy .affiliation {display:flex;justify-content:center;align-items:baseline;gap:.65em;white-space:nowrap}
.home-copy .affiliation span,.home-copy .hero-facts dt,.home-copy .hero-facts dd,.home-copy .hero-description span {font:inherit;letter-spacing:inherit}
.home-copy .hero-facts {left:6%;right:6%;gap:2vw}
.home-copy .hero-facts div {display:grid;grid-template-columns:3em 3em;justify-content:center;align-items:baseline;gap:.65em}
.home-copy .hero-facts dt {text-align:right}
.home-copy .hero-facts dd {text-align:left;font-variant-numeric:normal}
.home-copy .hero-facts::after {top:.2em;height:1.2em}
.home-copy .enter-gallery {font-family:var(--profile-font);font-weight:500;letter-spacing:.06em;font-size:clamp(17px,1.65vw,22px)}
.home-copy .preview {padding:6px;border:1px solid #ecede0;background:#e4e9e3;box-shadow:inset 0 1px 0 #fff9,2px 3px 0 #8caaa873,5px 10px 18px #304d5a33;overflow:visible}
.home-copy .preview::before {left:-1px;top:-1px;width:21px;height:10px;border-color:#ad8e4e}
.home-copy .preview::after {right:-1px;bottom:-1px;width:21px;height:10px;border-color:#498b87}
.home-copy .preview-art {object-fit:cover;object-position:50% 40%;background:#e4e9e3}
.home-copy .preview-art--promo {overflow:hidden;stroke:none}
@media(max-width:700px){
  .home-copy {--profile-size:12px}
  .home-copy .hero-facts {left:0;right:0;gap:8px}
  .home-copy .hero-facts div {grid-template-columns:3em 3em;gap:.4em}
  .home-copy .affiliation {gap:.4em;letter-spacing:0}
  .home-copy .preview {padding:4px}
  .home-copy .enter-gallery {font-size:16px;letter-spacing:.02em}
}
@media(max-width:360px){.home-copy{--profile-size:11px}.home-copy .enter-gallery{font-size:15px}}
