:root {
  --paper: #fff;
  --ink: #111;
  --muted: #5a5a5a;
  --line: #d7d7d7;
  --blue: #22306b;
  --yellow: #ffee6f;
  --pad: clamp(20px, 2.8vw, 48px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
body[data-lang="en"] [data-zh], body[data-lang="zh"] [data-en], [hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { border: 0; background: transparent; cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img, video { display: block; width: 100%; max-width: 100%; height: auto; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.028em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(46px, 6vw, 96px); }
h2 { font-size: clamp(32px, 4vw, 68px); }
h3 { font-size: 28px; }
p { text-wrap: pretty; }
p + p { margin-top: 1.35em; }
main { min-height: 70vh; }
section, article { position: relative; }
.visually-hidden { 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: 8px; left: 12px; z-index: 100; padding: 14px 16px; background: #fff; color: #111; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 20px; font-size: 13px; font-weight: 700; line-height: 1.25; text-transform: uppercase; letter-spacing: -.01em; }
.link-arrow { display: inline-block; font-size: 1.35em; transition: transform .3s var(--ease); }
.text-link:hover .link-arrow, .header-contact:hover .link-arrow, .footer-privacy:hover .link-arrow { transform: translate(4px, -4px); }

/* Five alignment bands are available to each authored composition. */
.grid-lines { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); pointer-events: none; }
.grid-lines i { border-right: 1px solid currentColor; opacity: .12; }
.grid-lines:before, .grid-lines:after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; opacity: .1; }
.grid-lines:before { top: 33.333%; }
.grid-lines:after { top: 66.666%; }

/* Transparent navigation stays present on pages, readers and image-led scenes. */
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; padding: var(--pad) 0; color: #fff; mix-blend-mode: difference; pointer-events: none; font-size: clamp(12px, 1vw, 15px); font-weight: 700; line-height: 1.15; text-transform: uppercase; letter-spacing: -.02em; }
.site-header a, .site-header button { pointer-events: auto; }
.wordmark { grid-column: 1; padding: 0 var(--pad); white-space: nowrap; }
.header-note { grid-column: 3; padding: 0 var(--pad); }
#site-nav { grid-column: 4; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 var(--pad); }
#site-nav a { position: relative; min-height: 18px; }
#site-nav a:after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
#site-nav a:hover:after, #site-nav a[aria-current="page"]:after { transform: scaleX(1); }
.header-actions { grid-column: 5; display: flex; flex-direction: column; align-items: flex-end; gap: 16px; padding: 0 var(--pad); }
.header-contact { display: inline-flex; gap: 8px; white-space: nowrap; }
.language { min-height: 32px; padding: 4px 0; font-size: 12px; text-transform: none; white-space: nowrap; }
.menu-toggle, .mobile-contact { display: none !important; }

/* Tian Lai keeps the image open while giving each navigation zone a stable
   foreground against the blue sky and dark foliage. */
.site-header[data-nav-context="tian-lai"] { color: #111; mix-blend-mode: normal; }
.site-header[data-nav-context="tian-lai"] .wordmark { color: #111; -webkit-text-stroke: 0; text-shadow: none; }
.site-header[data-nav-context="tian-lai"] .header-note,
.site-header[data-nav-context="tian-lai"] #site-nav,
.site-header[data-nav-context="tian-lai"] .header-contact,
.site-header[data-nav-context="tian-lai"] .language { color: #111; text-shadow: 0 1px 2px rgba(255, 255, 255, .5); }
.site-header[data-nav-context="light-home"] { color: #111; mix-blend-mode: normal; text-shadow: 0 1px 2px rgba(255, 255, 255, .7); }
.site-header[data-nav-context="dark-home"] { color: #fff; mix-blend-mode: normal; text-shadow: 0 1px 2px rgba(0, 0, 0, .72); }
.site-header[data-nav-context="who-home"] { color: var(--yellow); mix-blend-mode: normal; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }

/* Opening: native scroll edits one image into a complete reading field. */
.opening-sequence { min-height: 0; background: var(--paper); }
.opening-motion-shell { min-height: 0; }
.opening-stage { position: sticky; top: 0; height: 100svh; min-height: 540px; overflow: hidden; isolation: isolate; background: #fff; }
html:not(.hero-ready) .opening-stage { position: relative; height: auto; min-height: 100svh; overflow: visible; }
.opening-art-window { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.opening-art { width: 100%; height: 200%; object-fit: cover; object-position: center top; opacity: 1; mix-blend-mode: normal; }
.opening-title { position: absolute; right: var(--pad); bottom: var(--pad); z-index: 3; color: #fff; mix-blend-mode: difference; }
.opening-title h1 { font-size: clamp(64px, 8.4vw, 150px); font-weight: 400; letter-spacing: -.04em; line-height: .94; white-space: nowrap; }
.opening-scroll-hint { position: absolute; left: var(--pad); top: 50%; z-index: 3; color: #fff; mix-blend-mode: difference; font-size: 11px; letter-spacing: .01em; }
.opening-credit { position: absolute; left: var(--pad); bottom: var(--pad); z-index: 3; color: #fff; mix-blend-mode: difference; font-size: 11px; }
.tile-curtain { position: absolute; inset: 0; z-index: 6; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(3, 1fr); pointer-events: none; }
.tile-curtain i { background: #fff; transform: scaleY(0); transform-origin: bottom; }
.opening-scroll-mask { position: absolute; inset: 0; z-index: 2; display: none; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(3, 1fr); pointer-events: none; }
.opening-scroll-mask i { background: #fff; transform: scaleY(0); transform-origin: bottom; }
.opening-intro { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); min-height: 80svh; padding: clamp(84px, 10vw, 160px) 0; background: #fff; }
.opening-intro h2 { grid-column: 2 / 4; align-self: center; padding: 0 var(--pad); font-size: clamp(42px, 5vw, 78px); }
.opening-prose { grid-column: 4 / 6; align-self: end; max-width: 430px; padding: 0 var(--pad); font-size: 18px; line-height: 1.55; }
.opening-prose .text-link { margin-top: 28px; }
html.hero-ready .opening-sequence { height: auto; min-height: 0; }
html.hero-ready .opening-motion-shell { height: 280svh; min-height: 280svh; }
html.hero-ready .opening-stage { position: sticky; height: 100svh; min-height: 540px; overflow: hidden; }
html.hero-ready .opening-scroll-mask { display: grid; }
html.hero-ready .opening-intro { position: absolute; inset: 0; display: block; min-height: 0; padding: 0; background: transparent; pointer-events: none; }
html.hero-ready .opening-intro h2 { position: absolute; top: 36svh; left: 40%; right: 0; padding: 0 var(--pad); }
html.hero-ready .opening-prose { position: absolute; top: 62svh; left: 60%; right: 0; max-width: 430px; padding: 0 var(--pad); }
html.hero-ready .opening-stage.is-entering .tile-curtain i { animation: opening-unfold .72s var(--ease) both; animation-delay: calc(var(--n) * .028s); }
@keyframes opening-unfold { from { transform: scaleY(1); } to { transform: scaleY(0); } }

/* Each work gets its own stage, image proportion and copy relationship. */
.project-sequence { background: #fff; }
.project-scene { overflow: hidden; background: #fff; color: var(--ink); }
.project-stage { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: clamp(72px, 10vw, 150px) 0; }
.project-visual { position: relative; z-index: 1; }
.project-art { width: 100%; height: 100%; object-fit: cover; opacity: 1; mix-blend-mode: normal; }
.project-meta { position: relative; z-index: 2; }
.project-copy { display: grid; align-items: end; }
.project-title { font-size: clamp(34px, 4.2vw, 72px); font-weight: 500; }
.project-description { font-size: 17px; line-height: 1.55; }
.project-description > p:not(.project-kind) { max-width: 430px; }
.project-kind { margin-bottom: 16px; color: #555; font-size: 12px; line-height: 1.4; letter-spacing: .01em; text-transform: uppercase; }
.project-description .text-link { margin-top: 22px; }

.scene-carefree .project-stage { row-gap: 28px; padding-bottom: clamp(86px, 12vw, 170px); }
.scene-carefree .project-visual { grid-column: 1 / 6; width: 84%; aspect-ratio: 1.85 / 1; }
.scene-carefree .project-meta { grid-column: 1 / 6; padding: 0 var(--pad); }
.scene-carefree .project-copy { grid-template-columns: 3fr 2fr; gap: clamp(28px, 6vw, 96px); padding-top: 24px; border-top: 1px solid var(--line); }
.scene-carefree .project-title { align-self: end; }

.scene-lotus .project-stage { min-height: 100svh; align-items: center; padding: clamp(96px, 12vw, 170px) 0; }
.scene-lotus .project-visual { grid-column: 3 / 6; grid-row: 1; aspect-ratio: 2 / 1; }
.scene-lotus .project-art { object-fit: contain; }
.scene-lotus .project-meta { grid-column: 1 / 3; grid-row: 1; padding: 0 var(--pad); }
.scene-lotus .project-copy { display: block; }
.scene-lotus .project-description { margin-top: 34px; }

.scene-bamboo .project-stage { min-height: 100svh; align-items: end; padding: clamp(96px, 12vw, 180px) 0 clamp(78px, 9vw, 130px); }
.scene-bamboo .project-visual { grid-column: 1 / 3; grid-row: 1; width: 100%; aspect-ratio: .94 / 1; align-self: start; }
.scene-bamboo .project-art { object-fit: contain; }
.scene-bamboo .project-meta { grid-column: 3 / 6; grid-row: 1; padding: 0 var(--pad); }
.scene-bamboo .project-copy { display: block; }
.scene-bamboo .project-description { margin-top: 34px; }

.scene-flying-wing .project-stage { min-height: 92svh; align-items: end; padding: clamp(80px, 10vw, 140px) 0; }
.scene-flying-wing .project-visual { grid-column: 1 / 5; grid-row: 1; width: 100%; aspect-ratio: 1.45 / 1; }
.scene-flying-wing .project-art { object-fit: cover; }
.scene-flying-wing .project-meta { grid-column: 5 / 6; grid-row: 1; padding: 0 var(--pad) 0 24px; }
.scene-flying-wing .project-copy { display: block; }
.scene-flying-wing .project-description { margin-top: 30px; font-size: 16px; }

.scene-tian-lai .project-stage { display: block; padding: 0; }
.scene-tian-lai .project-visual { width: 100%; aspect-ratio: 3 / 2; min-height: 0; }
.scene-tian-lai .project-art { object-fit: cover; object-position: 37% center; }
.scene-tian-lai .project-meta { position: static; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 34px 0 100px; background: var(--paper); }
.scene-tian-lai .project-copy { display: contents; }
.scene-tian-lai .project-title { position: absolute; top: clamp(112px, 13vw, 180px); right: var(--pad); z-index: 3; width: min(34%, 460px); color: #111; mix-blend-mode: normal; }
.scene-tian-lai .title-phrase { display: inline-block; white-space: nowrap; }
.scene-tian-lai .project-description { grid-column: 3 / 6; padding: 0 var(--pad); }

.scene-yi-life .project-stage { min-height: 92svh; align-items: end; padding: clamp(78px, 10vw, 140px) 0; background: #fff; }
.scene-yi-life .project-visual { grid-column: 1 / 5; grid-row: 1; width: 84%; aspect-ratio: 16 / 9; }
.scene-yi-life .project-art { object-fit: cover; object-position: center; }
.scene-yi-life .project-meta { grid-column: 4 / 6; grid-row: 1; padding: 0 var(--pad) 0 calc(7.2vw + 24px); }
.scene-yi-life .project-copy { display: block; }
.scene-yi-life .project-description { margin-top: 24px; }

/* One-shot scene arrivals. Defaults are complete before motion JS runs. */
html.motion-ready .scene-carefree .project-visual { transform: translateX(-2%); clip-path: inset(0 5% 0 0); transition: transform .72s var(--ease), clip-path .72s var(--ease); }
html.motion-ready .scene-carefree.is-visible .project-visual { transform: none; clip-path: inset(0); }
html.motion-ready .scene-bamboo .project-visual { transform: translateY(3%); transition: transform .72s var(--ease); }
html.motion-ready .scene-bamboo.is-visible .project-visual { transform: none; }
html.motion-ready .scene-flying-wing .project-visual { transform: scale(1.02); transition: transform .8s var(--ease); }
html.motion-ready .scene-flying-wing.is-visible .project-visual { transform: scale(1); }
html.motion-ready .who-poster .who-project-label,
html.motion-ready .who-poster .who-project-title,
html.motion-ready .who-poster .who-project-note { transform: translateY(10px); opacity: .92; transition: transform .55s var(--ease), opacity .55s var(--ease); }
html.motion-ready .who-poster.is-visible .who-project-label,
html.motion-ready .who-poster.is-visible .who-project-title,
html.motion-ready .who-poster.is-visible .who-project-note { transform: none; opacity: 1; }

/* Who is one continuous blue poster with one connected yellow action plane. */
.who-poster { overflow: hidden; background: var(--blue); color: #fafaf7; }
.who-copy { width: min(100%, 1200px); padding: clamp(92px, 12vw, 180px) var(--pad) clamp(74px, 9vw, 130px); }
.who-project-label { margin-bottom: clamp(40px, 6vw, 84px); font-size: 13px; line-height: 1.25; }
.who-project-title { max-width: 850px; font-size: clamp(42px, 6.6vw, 96px); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; }
.who-project-note { max-width: 530px; margin: clamp(46px, 7vw, 96px) 0 0 36%; font-size: 17px; line-height: 1.55; }
.who-credit { margin-top: 20px; font-size: 12px; }
.who-project-action { display: flex; width: min(100%, 620px); min-height: 62px; align-items: center; justify-content: space-between; gap: 24px; margin: 42px 0 0 36%; padding: 18px var(--pad); background: var(--yellow); color: #1a1a1c; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.who-project-action .link-arrow { font-size: 1.6em; }
html[lang="zh-CN"] .who-project-title, body[data-lang="zh"] .who-project-title { max-width: 920px; font-size: clamp(56px, 8vw, 118px); line-height: 1.02; letter-spacing: 0; }

/* Yi Life uses the bright original film frame and keeps playback behind an action. */
.page-yi-life .page-intro { min-height: 56svh; }
.page-yi-life .film { width: min(100%, 1100px); margin: 0 auto; }
.page-yi-life .film video { display: block; width: 100%; background: #111; }
.page-yi-life .caption, .page-yi-life main > .text-link { width: min(100%, 1100px); margin-left: auto; margin-right: auto; }
.page-yi-life .caption { margin-top: 14px; }
.page-yi-life main > .text-link { margin-top: 18px; margin-bottom: 90px; }

/* Footer remains a useful continuation with correct contrast. */
.site-footer { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: minmax(250px, 1fr) minmax(270px, 1fr) 120px; min-height: max(640px, 100svh); background: #111; color: #fff; }
.site-footer .grid-lines { color: #fff; }
.footer-copy { grid-area: 1 / 2 / 2 / 4; align-self: center; padding: var(--pad); z-index: 1; }
.footer-copy p:first-child { margin-bottom: 26px; font-size: 22px; letter-spacing: -.02em; }
.footer-copy a { overflow-wrap: anywhere; }
.footer-copy > a { font-size: 13px; }
.footer-nav { grid-area: 2 / 1 / 3 / 2; display: flex; flex-direction: column; justify-content: center; padding: var(--pad); background: #fff; color: #111; z-index: 1; }
.footer-nav .text-link { justify-content: space-between; }
.footer-cta { grid-area: 2 / 4 / 3 / 5; display: flex; align-items: flex-end; justify-content: space-between; padding: var(--pad); background: #fff; color: #111; font-size: clamp(34px, 3.8vw, 62px); font-weight: 600; line-height: .98; letter-spacing: -.04em; text-transform: uppercase; z-index: 1; }
.footer-cta .link-arrow { align-self: flex-start; font-size: 42px; }
.footer-brand { grid-area: 2 / 2 / 3 / 4; align-self: end; padding: var(--pad); font-size: clamp(42px, 6vw, 98px); font-weight: 650; line-height: .86; letter-spacing: -.06em; z-index: 1; }
.footer-copyright { grid-area: 3 / 1 / 4 / 3; align-self: end; padding: var(--pad); font-size: 11px; z-index: 1; }
.footer-privacy { grid-area: 3 / 5 / 4 / 6; align-self: end; padding: var(--pad); font-size: 11px; z-index: 1; }

/* Detail pages and catalogues preserve their content while sharing the new shell. */
.page-intro { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); min-height: 62svh; padding: 25vh 0 9vh; }
.page-intro h1 { grid-column: 2 / 5; padding: 0 var(--pad); }
.page-intro .lead { grid-column: 4 / 6; max-width: 420px; padding: 0 var(--pad); font-size: 18px; line-height: 1.55; align-self: end; }
.work-opening { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); min-height: 94svh; align-items: end; padding: 0 0 clamp(42px, 5vw, 80px); }
.work-opening .page-intro { grid-column: 1 / 3; grid-row: 1; display: block; min-height: 0; padding: 0 var(--pad) 10vh; }
.work-opening .page-intro h1 { padding: 0; font-size: clamp(36px, 4.4vw, 72px); }
.work-opening .page-intro .lead { display: block; padding: 0; margin-top: 38px; font-size: 17px; }
.work-opening .work-hero { grid-column: 3 / 6; grid-row: 1; padding: 18vh var(--pad) 0 0; }
.work-hero img { max-height: 70svh; object-fit: contain; }
.work-hero figcaption, .caption { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.page-tian-lai .work-opening { display: block; padding: 0; }
.page-tian-lai .work-opening .page-intro { position: absolute; left: auto; right: var(--pad); top: 180px; bottom: auto; width: min(34%, 460px); padding: 0; z-index: 2; color: #111; mix-blend-mode: normal; }
.page-tian-lai .work-opening .work-hero { padding: 0; }
.page-tian-lai .work-opening .work-hero img { width: 100%; max-height: none; aspect-ratio: 3 / 2; object-fit: cover; object-position: 37% center; }
.page-tian-lai .tian-detail-description { max-width: 620px; margin: 24px var(--pad) 68px auto; padding: 0 var(--pad); font-size: 17px; line-height: 1.55; }
.work-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: var(--pad) 0 6vh; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.work-facts > div { padding: var(--pad); }
.work-facts > div:first-child { grid-column: 2; }
.work-facts dt { margin-bottom: 10px; color: var(--muted); font-size: 12px; text-transform: uppercase; }
.work-chapters { display: flex; flex-wrap: wrap; gap: 24px 30px; margin: 0 var(--pad); padding: 36px 0; border-bottom: 1px solid var(--line); }
.work-chapters .text-link { min-height: 40px; font-size: 12px; text-transform: none; letter-spacing: 0; }
.essay-section { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: clamp(72px, 10vw, 145px) 0; border-bottom: 1px solid var(--line); }
.essay-section > h2 { grid-column: 2 / 4; padding: 0 var(--pad); font-size: clamp(32px, 3.8vw, 62px); }
.essay-section > .prose { grid-column: 4 / 6; max-width: 660px; padding: 0 var(--pad); font-size: 17px; line-height: 1.65; }
.prose p + p { margin-top: 1.35em; }
.prose > .text-link { margin-top: 26px; }
.source-links { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); }
.source-links .text-link { display: flex; margin-top: 12px; font-size: 12px; }
.wide-image { width: 60%; margin-left: 20%; padding: clamp(24px, 6vw, 80px) 0; }
.wide-image img { max-height: 90svh; object-fit: contain; }
.profile-opening { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); min-height: 92svh; align-items: stretch; }
.profile-opening > .artist-portrait { grid-column: 2; height: 100%; overflow: hidden; }
.artist-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 48% center; }
.profile-opening > .page-intro { grid-column: 3 / 6; min-height: 0; padding: 28vh var(--pad) 10vh 0; }
.profile-opening .page-intro h1 { padding: 0; }
.profile-opening .page-intro .lead { display: block; padding: 0; margin: 12vh 0 0; }
.artist-opening { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 10vh 0; }
.artist-opening > .prose { grid-column: 3 / 5; padding: 0 var(--pad); }
.gallery-matrix { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(230px, 30svh)); min-height: 120svh; }
.matrix-title { grid-area: 3 / 4 / 4 / 6; align-self: end; padding: var(--pad); }
.matrix-intro { grid-area: 3 / 2 / 4 / 3; align-self: end; padding: var(--pad); }
.gallery-cell { position: relative; overflow: hidden; z-index: 1; }
.gallery-cell img { height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-cell:hover img { transform: scale(1.035); }
.gallery-cell-0 { grid-area: 1 / 2 / 2 / 3; }
.gallery-cell-1 { grid-area: 2 / 1 / 3 / 2; }
.gallery-cell-2 { grid-area: 2 / 3 / 3 / 4; }
.gallery-cell-3 { grid-area: 3 / 5 / 4 / 6; }
.gallery-cell-4 { grid-area: 4 / 2 / 5 / 4; }
.gallery-label { position: absolute; inset: auto 0 0; padding: 16px 20px; background: #111; color: #fff; transform: translateY(calc(100% - 42px)); transition: transform .4s var(--ease); }
.gallery-label h2 { font-size: 18px; }
.gallery-label p { margin-top: 12px; font-size: 11px; }
.gallery-cell:hover .gallery-label, .gallery-cell:focus-visible .gallery-label { transform: none; }
.library-index { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(220px, 30svh)); background: #111; color: #fff; }
.library-title { grid-area: 2 / 4 / 3 / 6; align-self: start; padding: var(--pad); font-size: clamp(40px, 5vw, 82px); z-index: 1; }
.library-intro { grid-area: 3 / 4 / 4 / 6; align-self: end; padding: var(--pad); z-index: 1; }
.library-book { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 0; }
.library-book-0 { grid-area: 1 / 2 / 3 / 3; }
.library-book-1 { grid-area: 3 / 1 / 5 / 3; }
.library-book-2 { grid-area: 4 / 4 / 5 / 6; }
.library-cover { flex: 1; min-height: 0; overflow: hidden; padding: var(--pad); background: #e7e7e7; }
.library-cover img { width: 100%; height: 100%; object-fit: contain; }
.library-caption { position: relative; padding: 18px var(--pad); background: #fff; color: #111; }
.library-caption h2 { padding-right: 20px; font-size: 23px; }
.library-caption p { margin-top: 8px; font-size: 12px; }
.library-caption > span { position: absolute; top: 18px; right: var(--pad); font-size: 24px; }

.contact-block { margin-left: 20%; padding: 6vh var(--pad) 15vh; }
.contact-email { display: block; overflow-wrap: anywhere; font-size: clamp(26px, 5vw, 82px); line-height: 1.1; letter-spacing: -.04em; }
.contact-block p { margin-top: 32px; font-size: 14px; }
.form-layout { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 3vh 0 15vh; }
.form-layout > aside { grid-column: 2; padding: var(--pad); }
.form-layout > form { grid-column: 3 / 5; padding: var(--pad); }
.form-layout h3 { margin-bottom: 28px; font-size: 23px; }
.field { margin-bottom: 26px; }
.field label { display: block; margin-bottom: 9px; font-size: 13px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 13px 12px; border: 1px solid #999; border-radius: 0; background: #fff; font-size: 16px; }
.field textarea { min-height: 160px; resize: vertical; }
.check { display: flex; align-items: flex-start; gap: 12px; margin: 32px 0; font-size: 13px; line-height: 1.55; }
.check input { width: 20px; height: 20px; flex-shrink: 0; accent-color: #111; }
.button { display: inline-flex; min-height: 52px; align-items: center; gap: 18px; padding: 17px 26px; background: #111; color: #fff; border: 1px solid #111; font-size: 14px; font-weight: 700; }
.button:hover { background: #fff; color: #111; }
.notice { margin-top: 24px; padding: 18px; border: 1px solid #111; font-size: 14px; }
.notice a { display: inline-block; margin-top: 14px; font-weight: 700; }
.small { font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.legal { max-width: 850px; margin-left: 40%; padding: 24vh var(--pad) 15vh; }
.legal h1 { margin-bottom: 56px; font-size: clamp(38px, 4vw, 66px); }
.legal h2 { margin: 42px 0 18px; font-size: 26px; }
.page-curtain { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(3, 1fr); visibility: hidden; pointer-events: none; }
.page-curtain i { background: #111; }
.loader-mark { position: absolute; inset: 50% auto auto 50%; color: #fff; transform: translate(-50%, -50%); font-size: 14px; letter-spacing: .08em; }

@media (max-width: 1000px) and (min-width: 701px) {
  .project-description { font-size: 15px; }
  .scene-flying-wing .project-meta { padding-left: 16px; }
  .who-project-note { margin-left: 28%; }
}

@media (max-width: 700px) {
  :root { --pad: 20px; }
  html { scroll-behavior: auto; }
  .site-header { grid-template-columns: 1fr auto auto; padding: 20px; font-size: 11px; }
  .wordmark { grid-column: 1; padding: 0; }
  .header-note, .header-actions { display: none; }
  .header-actions { display: flex; grid-column: 2; grid-row: 1; align-items: flex-start; gap: 0; padding: 0 8px 0 0; }
  .header-actions .header-contact { display: none; }
  .header-actions .language { display: inline-flex; min-height: 28px; align-items: center; padding: 0 4px; }
  .menu-toggle { grid-column: 3; display: flex !important; width: 36px; height: 28px; flex-direction: column; justify-content: center; gap: 7px; color: inherit; }
  .menu-toggle span { display: block; width: 28px; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
  .site-header.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .site-header.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  #site-nav { position: fixed; inset: 0; z-index: -1; display: flex; visibility: hidden; justify-content: center; gap: 24px; padding: 120px 20px 48px; transform: translateY(-10px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; opacity: 0; font-size: clamp(30px, 9vw, 46px); }
  .site-header.menu-open { color: var(--ink); mix-blend-mode: normal; }
  .site-header.menu-open #site-nav { visibility: visible; transform: none; opacity: 1; background: var(--paper); color: var(--ink); mix-blend-mode: normal; }
  .site-header[data-nav-context="tian-lai"] .wordmark { color: #111; -webkit-text-stroke: 0; text-shadow: none; }
  .site-header[data-nav-context="tian-lai"] .menu-toggle { color: #111; }
  .site-header[data-nav-context="tian-lai"] .menu-toggle span { height: 2px; }
  #site-nav a { min-height: 42px; }
  #site-nav .mobile-contact { display: inline-flex !important; margin-top: 22px; font-size: 16px; }
  .opening-sequence { min-height: 0; }
  .opening-motion-shell { min-height: 0; }
  .opening-stage { position: relative; height: 100svh; min-height: 560px; }
  .opening-art { height: 200%; object-position: 50% top; }
  .opening-title { left: 20px; right: 20px; bottom: 20px; }
  .opening-title h1 { font-size: clamp(48px, 13vw, 82px); }
  .opening-scroll-hint { top: 30%; left: 20px; font-size: 10px; }
  .opening-credit { top: 100px; bottom: auto; left: 20px; max-width: 150px; font-size: 10px; }
  .opening-intro { display: block; min-height: 0; padding: 76px 20px 96px; }
  .opening-intro h2 { padding: 0; font-size: 40px; }
  .opening-prose { max-width: 440px; margin-top: 52px; padding: 0; font-size: 16px; }
  .opening-prose .text-link { margin-top: 24px; }
  .opening-scroll-mask { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); }
  .opening-scroll-mask i:nth-child(n + 7) { display: none; }
  html.hero-ready .opening-motion-shell { height: 190svh; min-height: 190svh; }
  html.hero-ready .opening-stage { position: sticky; height: 100svh; min-height: 560px; overflow: hidden; }
  html.hero-ready .opening-intro { top: 38%; right: 0; bottom: 0; left: 0; display: block; min-height: 40%; padding: 0 20px; }
  html.hero-ready .opening-intro h2 { position: relative; top: auto; left: auto; right: auto; padding: 0; font-size: clamp(36px, 10vw, 52px); }
  html.hero-ready .opening-prose { position: relative; top: auto; left: auto; right: auto; max-width: none; margin: 28px 0 0; padding: 0; font-size: 16px; }
  .grid-lines { display: none; }
  .project-stage { display: block; padding: 76px 20px 86px; }
  .project-meta { padding: 32px 0 0; }
  .project-title { font-size: clamp(32px, 9vw, 48px); line-height: 1.08; }
  .project-description { margin-top: 30px; font-size: 16px; line-height: 1.6; }
.project-kind { color: #555; font-size: 12px; line-height: 1.4; }
  .project-description .text-link { margin-top: 18px; }
  .scene-carefree .project-stage, .scene-lotus .project-stage, .scene-bamboo .project-stage, .scene-flying-wing .project-stage, .scene-yi-life .project-stage { min-height: 0; }
  .scene-lotus .project-stage, .scene-bamboo .project-stage, .scene-flying-wing .project-stage, .scene-yi-life .project-stage { display: block; padding: 76px 0 86px; }
  .scene-carefree .project-visual { width: 100%; aspect-ratio: 1.38 / 1; }
  .scene-carefree .project-meta { padding: 30px 0 0; }
  .scene-carefree .project-copy { display: block; padding-top: 0; border-top: 0; }
  .scene-carefree .project-description { margin-top: 28px; }
  .scene-lotus .project-visual { width: 100%; aspect-ratio: 2 / 1; }
  .scene-lotus .project-meta { padding: 34px 20px 0; }
  .scene-lotus .project-description { margin-top: 26px; }
  .scene-bamboo .project-visual { width: 42%; aspect-ratio: .94 / 1; margin-left: 8px; }
  .scene-bamboo .project-meta { padding: 44px 20px 0; }
  .scene-bamboo .project-description { margin-top: 26px; }
  .scene-flying-wing .project-visual { width: 100%; aspect-ratio: 1.18 / 1; }
  .scene-flying-wing .project-meta { padding: 30px 20px 0; }
  .scene-flying-wing .project-description { margin-top: 26px; }
  .scene-tian-lai .project-stage { display: block; padding: 0; }
  .scene-tian-lai .project-visual { width: 100%; height: 630px; aspect-ratio: auto; }
  .scene-tian-lai .project-art { object-position: 37% center; }
  .scene-tian-lai .project-meta { display: block; padding: 30px 20px 78px; }
  .scene-tian-lai .project-title { position: static; width: auto; color: var(--ink); mix-blend-mode: normal; }
  .scene-tian-lai .project-description { padding: 0; margin-top: 26px; }
  .scene-yi-life .project-visual { width: 100%; aspect-ratio: 16 / 9; }
  .scene-yi-life .project-meta { padding: 30px 20px 0; }
  .scene-yi-life .project-description { margin-top: 24px; }
  .who-copy { padding: 76px 20px 68px; }
  .who-project-label { margin-bottom: 42px; font-size: 11px; }
  .who-project-title { max-width: none; font-size: clamp(34px, 9vw, 48px); line-height: 1.13; }
  html[lang="zh-CN"] .who-project-title, body[data-lang="zh"] .who-project-title { max-width: none; font-size: clamp(54px, 16vw, 68px); line-height: 1.1; letter-spacing: 0; }
  .who-project-note { max-width: none; margin: 46px 0 0; font-size: 16px; }
  .who-project-action { width: 100%; min-height: 58px; margin: 36px 0 0; padding: 16px 18px; }
  .page-yi-life .page-intro { min-height: 50svh; }
  .page-yi-life .film { width: 100%; }
  .page-yi-life .caption, .page-yi-life main > .text-link { width: auto; margin-left: 20px; margin-right: 20px; }
  .page-yi-life main > .text-link { margin-bottom: 64px; }
  .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(220px, 1fr) minmax(230px, 1fr) 140px; min-height: max(590px, 100svh); }
  .footer-copy { grid-area: 1 / 1 / 2 / 3; padding: 90px 20px 20px; }
  .footer-copy p:first-child { font-size: 22px; }
  .footer-nav { grid-area: 2 / 1 / 3 / 2; padding: 20px; }
  .footer-nav .text-link { font-size: 11px; }
  .footer-cta { grid-area: 2 / 2 / 3 / 3; padding: 20px; background: #111; color: #fff; border-top: 1px solid #444; font-size: 36px; }
  .footer-brand { display: none; }
  .footer-copyright { grid-area: 3 / 1 / 4 / 2; padding: 20px; font-size: 9px; }
  .footer-privacy { grid-area: 3 / 2 / 4 / 3; padding: 20px; font-size: 10px; }
  .page-intro { display: block; min-height: 52svh; padding: 150px 20px 58px; }
  .page-intro h1 { padding: 0; font-size: clamp(42px, 12vw, 66px); }
  .page-intro .lead { max-width: 420px; margin-top: 34px; padding: 0; font-size: 17px; }
  .work-opening { display: block; min-height: 0; padding: 0 20px 68px; }
  .work-opening .page-intro { padding: 0; }
  .work-opening .page-intro h1 { font-size: clamp(35px, 10vw, 52px); }
  .work-opening .page-intro .lead { margin-top: 24px; }
  .work-opening .work-hero { padding: 56px 0 0; }
  .work-hero img { max-height: none; }
  .page-tian-lai .work-opening .page-intro { position: static; left: auto; right: auto; top: auto; bottom: auto; width: auto; padding: 50px 20px; color: var(--ink); mix-blend-mode: normal; }
  .page-tian-lai .work-opening .work-hero img { width: 100%; margin-left: 0; aspect-ratio: 3 / 2; }
  .page-tian-lai .tian-detail-description { max-width: none; margin: 24px 20px 58px; padding: 0; font-size: 16px; }
  .work-facts { display: block; padding: 24px 20px; }
  .work-facts > div, .work-facts > div:first-child { padding: 15px 0; }
  .essay-section { display: block; padding: 72px 20px; }
  .essay-section > h2 { padding: 0; font-size: 34px; }
  .essay-section > .prose { max-width: 680px; padding: 34px 0 0; font-size: 16px; line-height: 1.7; }
  .work-chapters { gap: 8px 24px; margin: 0 20px; padding: 28px 0; }
  .wide-image { width: 100%; margin: 0; padding: 20px; }
  .profile-opening { display: block; min-height: 0; }
  .profile-opening > .artist-portrait { height: 74svh; }
  .profile-opening > .page-intro { padding: 64px 20px 88px; }
  .profile-opening .page-intro .lead { margin-top: 36px; }
  .artist-opening { display: block; padding: 72px 0; }
  .artist-opening > .prose { padding: 0 20px; }
  .gallery-matrix { display: block; min-height: 0; }
  .matrix-title, .matrix-intro { padding: 32px 20px; }
  .gallery-cell { display: block; height: 76vw; margin-bottom: 2px; }
  .gallery-cell-4 { height: 50vw; }
  .gallery-label { transform: none; }
  .library-index { display: block; min-height: 0; padding: 80px 20px 90px; }
  .library-title, .library-intro { padding: 0; }
  .library-intro { margin: 32px 0 60px; }
  .library-book, .library-book-0, .library-book-1, .library-book-2 { display: flex; min-height: 0; margin: 0 0 52px; }
  .library-cover { min-height: 320px; padding: 34px; }
  .library-caption { padding: 17px 20px; }
  .contact-block, .legal { margin-left: 0; padding: 64px 20px 100px; }
  .contact-email { font-size: clamp(28px, 9vw, 52px); }
  .form-layout { display: block; padding: 0 20px 100px; }
  .form-layout > aside, .form-layout > form { padding: 24px 0; }
}

@media (max-height: 679px) {
  html.hero-ready.hero-short .opening-motion-shell { height: 140svh; min-height: 140svh; }
  html.hero-ready.hero-short .opening-stage { position: sticky; height: 100svh; min-height: 560px; overflow: hidden; }
  html.hero-ready.hero-short .opening-intro { position: relative; inset: auto; display: block; min-height: 40svh; padding: 56px 20px 72px; background: #fff; pointer-events: auto; }
  html.hero-ready.hero-short .opening-intro h2 { position: relative; top: auto; left: auto; right: auto; padding: 0; font-size: clamp(36px, 10vw, 52px); }
  html.hero-ready.hero-short .opening-prose { position: relative; top: auto; left: auto; right: auto; max-width: 440px; margin: 28px 0 0; padding: 0; font-size: 16px; }
}

@media (pointer: coarse), (max-height: 600px) {
  html.motion-ready .scene-carefree .project-visual,
  html.motion-ready .scene-bamboo .project-visual,
  html.motion-ready .scene-flying-wing .project-visual,
  html.motion-ready .who-poster .who-project-label,
  html.motion-ready .who-poster .who-project-title,
  html.motion-ready .who-poster .who-project-note { transform: none; clip-path: inset(0); opacity: 1; transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .tile-curtain, .opening-scroll-mask, .page-curtain { display: none; }
  .opening-stage { position: relative; }
  .opening-sequence { min-height: 0; }
  .scene-carefree .project-visual, .scene-bamboo .project-visual, .scene-flying-wing .project-visual, .who-poster .who-copy { transform: none !important; clip-path: inset(0) !important; opacity: 1 !important; }
}

/* Continuous homepage v9 --------------------------------------------------
   One sticky coordinate stage carries the semantic chapter layers. The rail
   supplies native scroll distance; motion-v7.js only changes the active layer
   and its small set of geometry variables. */
:root {
  --home-pad: clamp(24px, 2.1vw, 36px);
  --home-line: rgba(17, 17, 17, .18);
  --home-black: #111;
  --home-paper: #fff;
  --home-blue: #22306b;
  --home-yellow: #ffee6f;
}

.home-page { position: relative; background: #fff; overflow: clip; }
.home-motion-sequence { position: relative; isolation: isolate; background: #fff; }
.home-stage { position: sticky; top: 0; z-index: 2; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate; background: #fff; }
.home-rail { position: relative; z-index: 0; margin-top: -100svh; }
.home-chapter { height: var(--chapter-height, 200svh); min-height: 100svh; }
.home-stage-tail { height: 100svh; background: #111; }
.home-layer { position: absolute !important; inset: 0; z-index: 1; display: block; visibility: hidden; opacity: 0; pointer-events: none; overflow: hidden; background: #fff; color: #111; }
.home-layer.is-active { visibility: visible; opacity: 1; pointer-events: auto; }
.home-layer.is-active { z-index: 3; }
.home-layer[aria-hidden="true"] { pointer-events: none; }
.home-grid { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); pointer-events: none; opacity: var(--grid-alpha, .14); color: currentColor; }
.home-grid i { border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.home-grid i:nth-child(5n) { border-right: 0; }
.home-grid i:nth-child(n+11) { border-bottom: 0; }
.home-grid-dark { color: #fff; }
.home-art-window { position: absolute; z-index: 1; overflow: hidden; background: transparent; left: var(--window-left, 20%); top: var(--window-top, 2%); width: var(--window-width, 20%); height: var(--window-height, 96%); }
.layer-art { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; opacity: 1 !important; filter: none !important; mix-blend-mode: normal !important; }
.home-copy { position: absolute; z-index: 5; color: #111; }
.layer-title, .layer-description, .layer-cta, .copy-reveal { --clip-top: 100%; --line-y: 18px; clip-path: inset(var(--clip-top) 0 0); transform: translateY(var(--line-y)); opacity: var(--copy-alpha, 0); }
.layer-title .copy-line, .layer-description .copy-line { display: block; clip-path: inset(var(--clip-top, 100%) 0 0); transform: translateY(var(--line-y, 18px)); opacity: var(--copy-alpha, 0); }
.layer-title { font-size: clamp(38px, 5.4vw, 82px); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.layer-description { max-width: 430px; margin-top: 34px; font-size: 17px; line-height: 1.55; }
.layer-description .copy-line { max-width: 100%; }
.layer-cta { margin-top: 26px; }
.project-kind { font-size: 11px; line-height: 1.4; letter-spacing: .02em; text-transform: uppercase; }
.copy-reveal { --clip-top: 100%; --line-y: 12px; }
.home-layer a { position: relative; z-index: 8; }

/* A chapter hands off through a single opaque paper/black surface. The
   boundary frame is geometry only; it never carries a previous artwork. */
.chapter-closure { position: absolute; inset: 0; z-index: 7; pointer-events: none; --closure-progress: 0; --entry-frame-alpha: 0; --exit-frame-alpha: 0; }
.chapter-closure::before { content: ""; position: absolute; inset: 0; background: #fff; clip-path: inset(calc((1 - var(--closure-progress)) * 100%) 0 0 0); }
.chapter-closure.boundary-dark::before { background: #111; }
.transition-frame { position: absolute; z-index: 1; display: block; border: 1px solid rgba(17, 17, 17, .34); opacity: 0; }
.transition-frame-entry { opacity: var(--entry-frame-alpha); }
.transition-frame-exit { opacity: var(--exit-frame-alpha); }
.boundary-dark .transition-frame { border-color: rgba(255, 255, 255, .58); }
.chapter-closure.boundary-exit-dark::before { background: #111; }
.boundary-exit-dark .transition-frame-exit { border-color: rgba(255, 255, 255, .58); }
.frame-none { display: none; }
.frame-r3c2 { left: 20%; top: 66.666%; width: 20%; height: 33.333%; }
.frame-r2c3c4 { left: 40%; top: 33.333%; width: 40%; height: 33.333%; }
.frame-r2c3 { left: 40%; top: 33.333%; width: 20%; height: 33.333%; }
.boundary-art { clip-path: inset(0); }

/* The loading agent keeps these hooks: .opening-art is the one Hero source. */
.home-layer.opening-stage { position: absolute !important; min-height: 0; height: 100%; background: #fff; }
.layer-hero .opening-art-window { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.layer-hero .opening-art { display: block; width: 100%; height: 200%; max-width: none; object-fit: cover; object-position: center top; opacity: 1; filter: none; mix-blend-mode: normal; }
.layer-hero .tile-curtain { position: absolute; inset: 0; z-index: 8; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(3, 1fr); pointer-events: none; }
.layer-hero .tile-curtain i { background: #111; transform: scaleY(0); transform-origin: top; }
.layer-hero .opening-scroll-mask { position: absolute; inset: 0; z-index: 4; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(3, 1fr); pointer-events: none; }
.layer-hero .opening-scroll-mask i { background: #fff; transform: scaleY(0); transform-origin: bottom; }
.hero-title { position: absolute; right: var(--home-pad); bottom: var(--home-pad); z-index: 7; color: #fff; mix-blend-mode: difference; }
.hero-title h1 { display: flex; flex-direction: column; align-items: flex-end; font-size: clamp(64px, 8.4vw, 150px); font-weight: 400; line-height: 1.06; letter-spacing: -.055em; white-space: nowrap; }
.hero-word { display: block; clip-path: inset(0 0 var(--hero-clip, 0%) 0); transform: translateY(var(--hero-y, 0px)); }
.opening-scroll-hint { position: absolute; left: var(--home-pad); top: 50%; z-index: 7; color: #fff; mix-blend-mode: difference; font-size: 11px; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.opening-credit { position: absolute; left: var(--home-pad); bottom: var(--home-pad); z-index: 7; color: #fff; mix-blend-mode: difference; font-size: 11px; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.opening-scroll-hint, .opening-credit { clip-path: inset(var(--clip-top, 0) 0 0); transform: translateY(var(--line-y, 0)); opacity: var(--copy-alpha, 1); }
.layer-hero .tile-curtain { opacity: 0; }
.hero-sr-title { z-index: -1; }

/* Carefree: one retained vertical window grows into a complete painting. */
.layer-carefree { background: #fff; }
.carefree-window { left: var(--window-left, 20%); top: var(--window-top, 2%); width: var(--window-width, 20%); height: var(--window-height, 96%); }
.carefree-window .layer-art { object-fit: cover; object-position: 50% top; }
/* Presentation-only triptych: every panel is a clipped view of the same
   Carefree source. The DOM is aria-hidden and never replaces the semantic art. */
.carefree-fragments { position: absolute; inset: 0; z-index: 2; visibility: hidden; pointer-events: none; overflow: hidden; }
.carefree-fragment-panel { position: absolute; overflow: hidden; clip-path: inset(0); background: transparent; }
.carefree-fragment-art { position: absolute; display: block; max-width: none; object-fit: fill; object-position: 0 0; opacity: 1 !important; filter: none !important; mix-blend-mode: normal !important; }
.carefree-copy { left: var(--home-pad); right: var(--home-pad); top: 17%; }
.carefree-title { position: relative; width: min(75%, 900px); color: #111; mix-blend-mode: normal; text-shadow: none; transform: translate(var(--carefree-title-x, 0px), var(--line-y, 0px)); }
.carefree-description { position: absolute; left: 60vw; top: 38vh; margin: 0; }
.carefree-copy .project-kind { position: absolute; left: 60vw; top: 31vh; }
.carefree-copy .layer-cta { position: absolute; left: 60vw; top: 66vh; }
.layer-carefree .home-grid { opacity: var(--grid-alpha, .13); }

/* Lotus: a horizontal full-picture hold followed by three diagonal cells. */
.layer-lotus { background: #fff; }
.lotus-window { left: var(--window-left, 40%); top: var(--window-top, 12%); width: var(--window-width, 24%); height: var(--window-height, 76%); }
.lotus-window .layer-art { object-fit: contain; }
.lotus-copy { left: var(--home-pad); top: 22%; width: 31%; }
.lotus-title { color: #111; mix-blend-mode: normal; text-shadow: none; }
.lotus-description { margin-top: 34px; }
.lotus-theme-cells { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.lotus-theme-cells > div { position: absolute; display: grid; place-items: center; width: 20%; height: 33.333%; background: #fff; color: #111; font-size: clamp(13px, 1.25vw, 20px); }
.lotus-theme-cells > div:nth-child(1) { left: 20%; top: 0; }
.lotus-theme-cells > div:nth-child(2) { left: 40%; top: 33.333%; }
.lotus-theme-cells > div:nth-child(3) { left: 60%; top: 66.666%; }
.lotus-theme-cells > div span { grid-area: 1 / 1; }

/* Bamboo: the inherited double-width white window yields to the full painting. */
.layer-bamboo { background: #fff; }
.bamboo-window { left: var(--window-left, 3%); top: var(--window-top, 9%); width: var(--window-width, 39%); height: var(--window-height, 78%); }
.bamboo-window .layer-art { object-fit: contain; }
.bamboo-window .layer-art { clip-path: inset(var(--bamboo-clip, 0) 0 0); }
.bamboo-copy { left: 42%; right: var(--home-pad); top: 21%; }
.bamboo-description { max-width: 390px; }

/* Wing: an opening in black expands into one original-colour photograph. */
.layer-wing { background: #111; color: #fff; }
.layer-wing .project-kind { color: #fff; }
.wing-window { left: var(--window-left, 40%); top: var(--window-top, 33.333%); width: var(--window-width, 20%); height: var(--window-height, 33.333%); background: #111; }
.wing-window .layer-art { object-fit: contain; }
.wing-copy { left: 62%; right: var(--home-pad); top: 24%; color: #fff; }
.wing-description { max-width: 390px; }

/* Tian is intentionally natural flow between the two shared stages. */
.tian-natural { position: relative; z-index: 1; overflow: visible; background: #fff; color: #111; }
.tian-natural-visual { position: relative; width: 100%; margin: 0; aspect-ratio: 3 / 2; overflow: visible; background: #fff; }
.tian-natural-visual .project-art { width: 100%; height: 100%; object-fit: contain; object-position: center; opacity: 1; filter: none; mix-blend-mode: normal; }
.tian-natural-title { position: relative; grid-column: 1 / 3; grid-row: 1; align-self: start; z-index: 2; width: auto; padding: 38px var(--home-pad) 0; font-size: clamp(38px, 5vw, 76px); font-weight: 500; line-height: .98; text-shadow: none; }
.tian-natural-title .title-phrase { white-space: nowrap; }
.tian-natural-copy { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); min-height: 56svh; padding: 0; background: #fff; }
.tian-natural-reading { grid-column: 3 / 6; grid-row: 1; align-self: start; padding: 38px var(--home-pad) 110px; max-width: 760px; font-size: 17px; line-height: 1.55; }
.tian-natural-reading .project-kind { margin-bottom: 18px; }
.tian-natural-reading .text-link { margin-top: 24px; }

/* Who: one complete blue/yellow poster with safe text zones. */
.layer-who { background: var(--home-blue); color: var(--home-yellow); }
.layer-who .who-copy { position: relative; width: 100%; height: 100%; padding: 0; color: var(--home-yellow); }
.layer-who .who-project-label { position: absolute; left: var(--home-pad); top: 12vh; color: var(--home-yellow); font-size: 12px; line-height: 1.3; }
.layer-who .who-project-title { position: absolute; left: var(--home-pad); top: 20vh; width: min(68vw, 920px); color: var(--home-yellow); font-size: clamp(44px, 6.5vw, 102px); line-height: .99; letter-spacing: -.045em; }
.layer-who .who-project-note { position: absolute; left: 60%; top: 59vh; width: min(34vw, 470px); margin: 0; color: var(--home-yellow); font-size: 16px; line-height: 1.5; }
.layer-who .who-project-note .who-credit { margin-top: 18px; font-size: 12px; }
.layer-who .who-project-action { position: absolute; left: 60%; top: 77vh; width: min(34vw, 470px); min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0; padding: 16px var(--home-pad); background: var(--home-yellow); color: var(--home-blue); font-size: 12px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.layer-who .who-project-action .link-arrow { font-size: 1.6em; }
.layer-who .copy-line { display: block; }

/* Yi Life: the yellow action plane hands its exact 16:9 frame to one film layer. */
.layer-yi-life { background: #111; color: #fff; }
.layer-yi-life .project-kind { color: #fff; }
.yi-life-window { left: var(--window-left, 20%); top: var(--window-top, 26%); width: var(--window-width, 60%); height: var(--window-height, 48%); background: #111; }
.yi-life-window .layer-art { object-fit: contain; }
.yi-life-copy { left: 60%; right: var(--home-pad); top: 21%; padding-left: var(--home-pad); color: #fff; }
.yi-life-description { max-width: 310px; }
.yi-life-zh-link { display: block; margin-top: 28px; color: currentColor; font-size: 12px; line-height: 1.4; }
body[data-lang="en"] [data-language-only="zh"] { display: none !important; }
.yicheng-film { max-width: 1120px; margin: 0 auto; padding: 72px var(--home-pad) 120px; }
.yicheng-film h2 { margin-top: 20px; font-size: clamp(38px, 5vw, 76px); }
.yicheng-film video { display: block; width: 100%; margin-top: 34px; background: #111; }

/* Footer remains the last inherited 5-column grid. */
.home-page + .site-footer { margin-top: 0; }

/* No JavaScript and reduced motion expose every semantic layer in document flow. */
html.no-js .home-stage, html.motion-static .home-stage { position: relative; height: auto; min-height: 0; margin: 0; overflow: visible; }
html.no-js .home-rail, html.motion-static .home-rail { display: none; }
html.no-js .home-stage-tail, html.motion-static .home-stage-tail { display: none; }
html.no-js .home-layer, html.motion-static .home-layer { position: relative !important; inset: auto; min-height: 0; height: auto; visibility: visible !important; opacity: 1 !important; pointer-events: auto; }
html.no-js .home-layer .layer-title, html.no-js .home-layer .layer-description, html.no-js .home-layer .layer-cta, html.no-js .home-layer .copy-reveal,
html.motion-static .home-layer .layer-title, html.motion-static .home-layer .layer-description, html.motion-static .home-layer .layer-cta, html.motion-static .home-layer .copy-reveal { clip-path: none; transform: none; opacity: 1; }
html.no-js .home-layer .layer-title .copy-line, html.no-js .home-layer .layer-description .copy-line,
html.motion-static .home-layer .layer-title .copy-line, html.motion-static .home-layer .layer-description .copy-line { clip-path: none !important; transform: none !important; opacity: 1 !important; }
html.no-js .home-layer .home-art-window, html.motion-static .home-layer .home-art-window { position: relative; left: auto; top: auto; width: min(100%, 920px); height: auto; aspect-ratio: 3 / 2; margin: 0 auto; }
html.no-js .layer-hero .opening-art-window, html.motion-static .layer-hero .opening-art-window { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
html.no-js .layer-hero .opening-art, html.motion-static .layer-hero .opening-art { height: 100%; object-fit: cover; }
html.no-js .carefree-window .layer-art, html.motion-static .carefree-window .layer-art { object-fit: contain; object-position: center; }
html.no-js .chapter-closure, html.motion-static .chapter-closure { display: none; }

@media (max-width: 700px) {
  .home-page { overflow: visible; }
  .home-stage { position: relative; top: auto; height: auto; min-height: 0; overflow: visible; }
  .home-rail { display: none; }
  .home-stage-tail { display: none; }
  html.no-js .home-layer, html.motion-static .home-layer, html:not(.no-js) .home-layer,
  html.no-js .home-layer.is-active, html.motion-static .home-layer.is-active, html:not(.no-js) .home-layer.is-active { position: relative !important; inset: auto; z-index: auto !important; display: grid; min-height: 0; height: auto; visibility: visible !important; opacity: 1 !important; pointer-events: auto; overflow: visible; }
  html.no-js .chapter-closure, html.motion-static .chapter-closure, html:not(.no-js) .chapter-closure { display: none; }
  .home-grid, .layer-hero .opening-scroll-mask, .layer-hero .tile-curtain { display: none; }
  .home-copy { position: relative; inset: auto; width: auto; max-width: none; padding: 0 20px 76px; }
  .layer-title, .layer-description, .layer-cta, .copy-reveal { clip-path: none !important; transform: none !important; opacity: 1 !important; }
  .layer-title .copy-line, .layer-description .copy-line { clip-path: none !important; transform: none !important; opacity: 1 !important; }
  .layer-title { font-size: clamp(36px, 10vw, 56px); line-height: 1.03; letter-spacing: -.04em; }
  .layer-description { max-width: none; margin-top: 28px; font-size: 16px; line-height: 1.62; }
  .layer-cta { margin-top: 24px; }
  html.no-js .layer-hero, html.motion-static .layer-hero, html:not(.no-js) .layer-hero { display: block !important; min-height: 100svh; height: 100svh; background: #fff; }
  .layer-hero .opening-art-window { position: absolute; inset: 0; height: 100%; }
  .layer-hero .opening-art { height: 100%; object-fit: cover; object-position: center top; }
  .hero-title { left: 20px; right: 20px; bottom: 28px; }
  .hero-title h1 { font-size: clamp(54px, 15vw, 88px); }
  .opening-scroll-hint { left: 20px; top: 29%; }
  .opening-credit { left: 20px; bottom: 28px; max-width: 150px; }
  .layer-carefree { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 66px; background: #fff; }
  .layer-carefree .home-art-window { grid-column: 1 / 3; position: relative; left: auto; top: auto; width: 82%; height: auto; aspect-ratio: 3 / 4; margin-left: 9%; }
  .carefree-fragments { display: none !important; }
  .layer-carefree .home-copy { grid-column: 1 / 3; margin-top: 42px; padding-bottom: 40px; }
  .carefree-copy .project-kind { position: relative; left: auto; top: auto; margin-bottom: 20px; }
  .carefree-title, .carefree-description, .carefree-copy .layer-cta { position: relative; left: auto; top: auto; width: auto; }
  .carefree-description { margin-top: 28px; }
  .layer-lotus { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 64px; }
  .layer-lotus .home-art-window { grid-column: 1 / 3; position: relative; left: auto; top: auto; width: 100%; height: auto; aspect-ratio: 2 / 1; }
  .layer-lotus .home-copy { grid-column: 1 / 3; margin-top: 42px; padding-right: 28px; }
  .lotus-theme-cells { position: relative; grid-column: 1 / 3; min-height: 160px; margin: 10px 20px 54px; }
  .lotus-theme-cells > div { width: 50%; height: 80px; font-size: 13px; }
  .lotus-theme-cells > div:nth-child(1) { left: 0; top: 0; }
  .lotus-theme-cells > div:nth-child(2) { left: 25%; top: 40px; }
  .lotus-theme-cells > div:nth-child(3) { left: 50%; top: 80px; }
  .layer-bamboo { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 66px; }
  .layer-bamboo .home-art-window { grid-column: 1 / 3; position: relative; left: 8px; top: auto; width: 62%; height: auto; aspect-ratio: .94 / 1; margin: 0; }
  .layer-bamboo .home-copy { grid-column: 1 / 3; margin-top: 26px; padding-left: 29%; }
  .layer-wing { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 76px; }
  .layer-wing .home-art-window { grid-column: 1 / 3; position: relative; left: auto; top: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .layer-wing .home-copy { grid-column: 1 / 3; margin-top: 30px; padding-bottom: 86px; }
  .tian-natural-visual { aspect-ratio: 3 / 2; }
  .tian-natural-title { position: relative; right: auto; top: auto; width: auto; padding: 30px 20px 0; font-size: clamp(37px, 10vw, 56px); text-shadow: none; }
  .tian-natural-copy { display: block; min-height: 0; padding: 24px 20px 80px; }
  .tian-natural-reading { padding: 0; font-size: 16px; }
  .layer-who { display: block !important; min-height: 0; height: auto; }
  .layer-who .who-copy { height: auto; padding: 88px 20px 84px; }
  .layer-who .who-project-label, .layer-who .who-project-title, .layer-who .who-project-note, .layer-who .who-project-action { position: relative; left: auto; top: auto; width: auto; }
  .layer-who .who-project-label { font-size: 11px; }
  .layer-who .who-project-title { margin-top: 44px; font-size: clamp(38px, 10vw, 58px); line-height: 1.05; letter-spacing: -.035em; }
  .layer-who .who-project-note { margin-top: 48px; font-size: 16px; }
  .layer-who .who-project-action { margin-top: 34px; min-height: 58px; padding: 15px 18px; }
  .layer-yi-life { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 70px; }
  .layer-yi-life .home-art-window { grid-column: 1 / 3; position: relative; left: auto; top: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .layer-yi-life .home-copy { grid-column: 1 / 3; margin-top: 28px; padding-bottom: 88px; }
  .yi-life-copy { color: #fff; }
  .site-footer { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.no-js) .home-stage { position: relative; height: auto; min-height: 0; overflow: visible; }
  html:not(.no-js) .home-rail { display: none; }
  html:not(.no-js) .home-stage-tail { display: none; }
  html:not(.no-js) .home-layer { position: relative !important; inset: auto; min-height: 0; height: auto; visibility: visible !important; opacity: 1 !important; pointer-events: auto; }
  html:not(.no-js) .home-layer .layer-title, html:not(.no-js) .home-layer .layer-description, html:not(.no-js) .home-layer .layer-cta, html:not(.no-js) .home-layer .copy-reveal { clip-path: none !important; transform: none !important; opacity: 1 !important; }
  html:not(.no-js) .home-layer .layer-title .copy-line, html:not(.no-js) .home-layer .layer-description .copy-line { clip-path: none !important; transform: none !important; opacity: 1 !important; }
  .carefree-fragments { display: none !important; }
}

/* Reduced-motion desktop still needs a concrete poster frame for absolute
   copy such as Who. Mobile keeps the natural-flow override above. */
@media (prefers-reduced-motion: reduce) and (min-width: 701px) {
  html:not(.no-js) .home-layer { min-height: 92svh; height: 92svh; }
  html:not(.no-js) .home-layer.opening-stage { min-height: 100svh; height: 100svh; }
}

/* Keep static mobile layout independent from retained desktop scroll styles. */
@media (max-width: 700px) {
  html:not(.no-js) .home-layer.layer-hero,
  html:not(.no-js) .home-layer.layer-hero.is-active { min-height: 100svh; height: 100svh; }
  .layer-who .who-project-action { left: auto !important; top: auto !important; }
}

html.motion-static .hero-word, html.no-js .hero-word { clip-path: none !important; transform: none !important; }
html.motion-static .opening-scroll-hint, html.motion-static .opening-credit { opacity: 1 !important; }
