:root {
  --ink: #292724;
  --ink-soft: #45413c;
  --paper: #e7dfd3;
  --stone: #cfc4b3;
  --clay: #967b68;
  --mist: #6f7d87;
  --line: rgba(41, 39, 36, 0.26);
  --serif: "Noto Serif TC", "Songti TC", "STSong", Georgia, serif;
  --sans: "Noto Sans TC", "PingFang TC", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
button, a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.en { display: none; }
body[data-lang="en"] .zh { display: none !important; }
body[data-lang="en"] .en { display: initial; }

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3.5vw;
  color: #f3eee6;
  mix-blend-mode: difference;
  pointer-events: none;
}
.site-header a, .site-header button { pointer-events: auto; }
.wordmark { font-family: var(--serif); font-size: 1.06rem; letter-spacing: .08em; }
.site-header nav { display: flex; align-items: center; gap: 2rem; }
.site-header nav > a { font-size: .75rem; letter-spacing: .18em; }
.language-toggle {
  border: 0;
  padding: .35rem 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: .76rem;
  letter-spacing: .1em;
}
.language-toggle .divider { opacity: .45; }

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(300px, .72fr) 1.28fr;
  align-items: center;
  gap: 5vw;
  padding: 9rem 7vw 6rem;
  background: var(--ink);
  color: var(--paper);
}
.hero::before {
  content: "";
  position: absolute;
  width: 34vw;
  height: 34vw;
  left: -12vw;
  bottom: -17vw;
  border: 1px solid rgba(231, 223, 211, .16);
  border-radius: 50%;
}
.eyebrow {
  margin: 0 0 1.4rem;
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.hero-logo {
  width: min(29vw, 370px);
  height: auto;
  margin: -1.5rem 0 -1rem;
  object-fit: contain;
}
.hero-meta {
  margin: 2.5rem 0 0;
  font-size: .72rem;
  line-height: 1.8;
  letter-spacing: .19em;
  opacity: .72;
}
.hero-image {
  margin: 0;
  width: 100%;
  box-shadow: 0 32px 74px rgba(0, 0, 0, .28);
}
.hero-image img { width: 100%; aspect-ratio: 1.716; object-fit: cover; }
.scroll-cue {
  position: absolute;
  left: 7vw;
  bottom: 2.2rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  font-size: .7rem;
  letter-spacing: .18em;
}
.scroll-cue i { width: 52px; height: 1px; background: currentColor; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(-45deg); }

.introduction, .artist {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
  padding: clamp(7rem, 14vw, 13rem) 9vw;
  background: var(--stone);
}
.introduction { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 5vw; }
.section-number { position: absolute; top: 2rem; left: 3.5vw; margin: 0; font-size: .72rem; letter-spacing: .16em; opacity: .6; }
.intro-title h2, .artist-title h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.6vw, 5.4rem);
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: .01em;
}
.intro-title .zh { white-space: nowrap; }
.intro-copy, .artist-copy { max-width: 36rem; align-self: end; font-size: 1.05rem; }
.intro-copy p, .artist-copy p { margin: 0 0 1.5em; }

.wall { position: relative; padding: 9rem 6vw 16rem; overflow: hidden; }
.wall-one { background: #ded6ca; }
.wall-two { background: var(--mist); color: #f0e9df; padding-top: 11rem; }
.wall-heading { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid currentColor; padding-top: .85rem; margin-bottom: 10rem; font-size: .72rem; letter-spacing: .18em; opacity: .68; }
.wall-heading p { margin: 0; }
.artwork {
  display: block;
  width: min(62vw, 980px);
  margin: 0 0 clamp(12rem, 22vw, 23rem);
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
}
.artwork:last-child { margin-bottom: 0; }
.artwork .frame { display: block; background: #111; box-shadow: 0 24px 55px rgba(38, 33, 29, .12), 0 0 0 1px rgba(0,0,0,.08); overflow: hidden; }
.artwork img { width: 100%; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.artwork:hover img { transform: scale(1.012); filter: brightness(1.025); }
.artwork .label { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 1.1rem; padding-top: .7rem; font-size: .7rem; letter-spacing: .16em; }
.wall-two .artwork .label { border-color: rgba(240,233,223,.35); }
.artwork .label b { font-weight: 500; }
.portrait { width: min(37vw, 590px); }
.align-left { margin-left: 4vw; }
.align-left-narrow { margin-left: 15vw; }
.align-right { margin-left: auto; margin-right: 6vw; }
.align-right-wide { margin-left: auto; }
.align-center { margin-left: auto; margin-right: auto; }

.films { padding: clamp(7rem, 11vw, 11rem) 8vw clamp(8rem, 12vw, 12rem); background: var(--ink); color: #eee7dc; }
.films-intro { max-width: 54rem; margin-bottom: clamp(4rem, 7vw, 7rem); }
.films-intro h2 { margin: 0 0 1.3rem; font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 5vw, 5.5rem); line-height: 1.35; }
.films-intro > p:last-child { margin: 0; color: #bfb5a7; font-size: .92rem; letter-spacing: .04em; }
.film-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(3.5rem, 5vw, 6rem) clamp(1.2rem, 2.7vw, 3rem); }
.film-card { display: block; min-width: 0; }
.film-frame { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; overflow: hidden; background: #171716; border: 1px solid rgba(238,231,220,.14); }
.film-frame img { width: 100%; height: 100%; object-fit: contain; opacity: .8; transition: opacity .35s ease, transform .6s ease; }
.film-card:hover img, .film-card:focus-visible img { opacity: 1; transform: scale(1.025); }
.film-play { position: absolute; display: grid; place-items: center; width: 3.8rem; height: 3.8rem; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(22,22,21,.38); color: #fff; font-size: .82rem; padding-left: .18rem; transition: background .25s ease, transform .25s ease; }
.film-card:hover .film-play, .film-card:focus-visible .film-play { background: rgba(22,22,21,.7); transform: scale(1.06); }
.film-caption { display: flex; justify-content: space-between; border-top: 1px solid rgba(238,231,220,.36); margin-top: 1rem; padding-top: .7rem; font-size: .73rem; letter-spacing: .14em; }
.film-separator { color: #93897d; padding: 0 .45rem; }

.film-dialog { width: min(100vw, 1240px); max-width: none; max-height: 100svh; border: 0; padding: clamp(3.5rem, 6vw, 5rem); background: #292724; color: #eee7dc; }
.film-dialog::backdrop { background: rgba(0,0,0,.82); }
.film-dialog-close { position: absolute; top: 1rem; right: 1.5rem; padding: .25rem .6rem; border: 0; background: transparent; color: inherit; font-size: 2rem; font-weight: 200; cursor: pointer; }
.film-dialog-inner { width: 100%; }
.film-dialog-title { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.2rem; letter-spacing: .14em; }
.film-player { width: 100%; aspect-ratio: 16 / 9; background: #111; }
.film-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.film-youtube-link { display: inline-block; margin-top: 1.25rem; border-bottom: 1px solid rgba(238,231,220,.5); padding-bottom: .3rem; color: #cfc4b3; font-size: .72rem; letter-spacing: .14em; }

.turn {
  min-height: 68svh;
  position: relative;
  display: grid;
  place-items: center;
  background: linear-gradient(115deg, #ded6ca 0 49.8%, var(--mist) 50.2% 100%);
  overflow: hidden;
}
.turn-line { position: absolute; left: 50%; top: -15%; width: 1px; height: 130%; background: rgba(35,35,35,.28); transform: rotate(25deg); }
.turn p { position: relative; margin: 0; padding: 1.1rem 1.7rem; background: rgba(231,223,211,.92); color: var(--ink); font-family: var(--serif); font-size: 1.1rem; letter-spacing: .12em; }

.installation { padding: clamp(7rem, 11vw, 11rem) 7vw clamp(8rem, 12vw, 12rem); background: #ded6ca; }
.installation-heading { max-width: 38rem; margin-bottom: clamp(3.5rem, 6vw, 6rem); }
.installation-heading h2 { margin: 0 0 1.2rem; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4vw, 4.5rem); letter-spacing: .07em; line-height: 1.5; }
.installation-heading > p:last-child { max-width: 32rem; margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 2; letter-spacing: .045em; }
.installation-grid { display: grid; grid-template-columns: 1.2fr 1fr .78fr; align-items: start; gap: clamp(1rem, 2vw, 2.5rem); }
.installation-view { min-width: 0; margin: 0; }
.installation-view:nth-child(2) { margin-top: 8vw; }
.installation-view:nth-child(3) { margin-top: 3vw; }
.installation-view img { width: 100%; height: auto; box-shadow: 0 14px 35px rgba(41,39,36,.12); }
.installation-view figcaption { display: flex; gap: 1rem; align-items: baseline; padding-top: 1rem; border-top: 1px solid var(--line); margin-top: 1.25rem; font-size: .72rem; letter-spacing: .12em; }
.installation-view figcaption > span:first-child { color: #806b59; font-size: .65rem; }

.artist { background: var(--clay); color: #f3ece3; }
.artist .section-number { color: #f3ece3; }
.artist-title h2 span { font-size: .42em; font-family: var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.artist-social { display: flex; align-items: baseline; gap: 1.4rem; width: fit-content; max-width: 100%; padding: .9rem 0; margin-top: 2.5rem; border-top: 1px solid rgba(243,236,227,.52); font-size: .8rem; letter-spacing: .08em; transition: opacity .25s ease; }
.artist-social span:nth-child(2) { font-size: .92rem; letter-spacing: .025em; }
.artist-social:hover, .artist-social:focus-visible { opacity: .7; }
.collect { padding: clamp(5rem, 9vw, 9rem) 9vw; background: var(--stone); }
.collect-inner { max-width: 850px; margin: auto; border-top: 1px solid var(--line); padding-top: 2.2rem; }
.collect h2 { margin: 1.5rem 0 2.7rem; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 3.3rem); letter-spacing: .06em; line-height: 1.5; }
.collect-link { display: inline-flex; align-items: baseline; justify-content: space-between; gap: 3rem; min-width: min(100%, 19rem); padding: .85rem 0; border-bottom: 1px solid currentColor; font-size: .95rem; letter-spacing: .08em; transition: color .25s ease; }
.collect-link:hover, .collect-link:focus-visible { color: #6c5342; }
.press { display: grid; grid-template-columns: minmax(190px, .55fr) 1.45fr; gap: 6vw; padding: clamp(6rem, 9vw, 9rem) 9vw; background: var(--paper); }
.press-heading h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3vw, 3.5rem); letter-spacing: .06em; }
.press-links { border-top: 1px solid var(--line); }
.press-links a { display: grid; grid-template-columns: minmax(9rem, .7fr) minmax(0, 1.8fr) 1.5rem; gap: 1.5rem; align-items: center; padding: 1.8rem 0; border-bottom: 1px solid var(--line); transition: color .25s ease; }
.press-links a:hover, .press-links a:focus-visible { color: #806753; }
.press-outlet { font-size: .78rem; font-weight: 500; letter-spacing: .04em; }
.press-title { font-family: var(--serif); font-size: .95rem; line-height: 1.6; }
.press-arrow { text-align: right; font-size: 1.2rem; font-weight: 300; }
footer { display: flex; justify-content: space-between; align-items: center; padding: 3rem 3.5vw; background: var(--ink); color: var(--paper); font-size: .72rem; letter-spacing: .16em; }
footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; }
footer a:hover, footer a:focus-visible { text-decoration: underline; text-underline-offset: .4em; }

.lightbox {
  width: 100vw;
  height: 100svh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 3.5rem 5vw 2rem;
  border: 0;
  background: rgba(31, 31, 30, .97);
  color: #f3eee6;
  overflow: hidden;
}
.lightbox[open] { display: grid; grid-template-columns: 4rem minmax(0, 1fr) 4rem; align-items: center; }
.lightbox::backdrop { background: rgba(0,0,0,.75); }
.lightbox-content { min-width: 0; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 350px); gap: clamp(2rem, 4vw, 5rem); align-items: center; }
.lightbox figure { display: flex; height: 100%; min-width: 0; margin: 0; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.lightbox img { max-width: 100%; max-height: calc(100svh - 9rem); object-fit: contain; box-shadow: 0 26px 70px rgba(0,0,0,.34); }
.lightbox figcaption { width: min(100%, 1100px); display: flex; justify-content: space-between; font-size: .72rem; letter-spacing: .16em; }
.lightbox-description { max-height: calc(100svh - 8rem); overflow-y: auto; overscroll-behavior: contain; padding: 1.5rem 1rem 1.5rem 0; scrollbar-color: #746c61 transparent; }
.lightbox-kicker { margin: 0 0 1.1rem; color: #b8ab99; font-size: .68rem; letter-spacing: .2em; }
.lightbox-description h2 { margin: 0 0 1.7rem; font-family: var(--serif); font-weight: 400; font-size: clamp(1.55rem, 2.3vw, 2rem); letter-spacing: .1em; }
.lightbox-description-body { color: #ddd5c9; font-size: .94rem; line-height: 2.05; letter-spacing: .045em; }
.lightbox-description-body p { margin: 0 0 1.25em; }
.lightbox button { border: 0; background: transparent; color: inherit; cursor: pointer; }
.lightbox-close { position: absolute; right: 2rem; top: 1.2rem; font-size: 2rem; font-weight: 200; }
.lightbox-nav { font-size: 1.65rem; padding: 2rem .7rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 820px) {
  .site-header { height: 60px; padding: 0 5vw; }
  .site-header nav > a { display: none; }
  .site-header nav { gap: 0; }
  .hero { grid-template-columns: 1fr; align-content: center; padding: 7.5rem 5vw 7rem; gap: 3rem; }
  .hero-logo { width: min(58vw, 330px); max-height: 45svh; margin: -1rem 0; }
  .hero-image { width: 94%; margin-left: auto; }
  .scroll-cue { left: 5vw; bottom: 1.8rem; }
  .introduction, .artist { grid-template-columns: 1fr; gap: 3.5rem; padding: 8rem 7vw; }
  .intro-title h2, .artist-title h2 { font-size: clamp(2.25rem, 10vw, 3.5rem); }
  .intro-title h2 { font-size: clamp(1.7rem, 7.8vw, 3.5rem); }
  .intro-copy, .artist-copy { font-size: 1rem; }
  .press { grid-template-columns: 1fr; gap: 2.5rem; padding: 6rem 7vw; }
  .collect { padding: 6rem 7vw; }
  .press-links a { grid-template-columns: minmax(0, 1fr) 1.5rem; gap: .45rem 1rem; }
  .press-outlet { grid-column: 1; }
  .press-title { grid-column: 1; }
  .press-arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .wall { padding: 7rem 5vw 12rem; }
  .wall-heading { margin-bottom: 7rem; }
  .artwork, .portrait { width: 88vw; margin-left: auto; margin-right: auto; margin-bottom: 11rem; }
  .artwork:nth-of-type(even) { width: 76vw; margin-left: 0; }
  .artwork:nth-of-type(odd) { width: 80vw; margin-right: 0; }
  .turn { min-height: 48svh; }
  .installation { padding: 7rem 6vw 8rem; }
  .installation-grid { grid-template-columns: 1fr 1fr; gap: 3rem 1.5rem; }
  .installation-view:nth-child(2) { margin-top: 5rem; }
  .installation-view:nth-child(3) { grid-column: 1 / -1; width: min(55%, 24rem); margin: 0 auto; }
  .films { padding: 7rem 6vw 9rem; }
  .film-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem 1.4rem; }
  .film-dialog { padding: 3.5rem 1rem 2rem; }
  .film-dialog-close { top: .4rem; right: .75rem; }
  footer { padding: 2rem 5vw; }
  .lightbox { padding: 3.2rem 1rem 1rem; }
  .lightbox[open] { grid-template-columns: 2.2rem minmax(0, 1fr) 2.2rem; align-items: start; overflow-y: auto; }
  .lightbox-content { height: auto; display: block; min-width: 0; }
  .lightbox figure { height: auto; min-height: 49svh; gap: .9rem; }
  .lightbox img { max-height: 45svh; }
  .lightbox-description { max-height: none; overflow: visible; padding: 2.6rem .3rem 4rem; border-top: 1px solid rgba(243,238,230,.22); margin-top: 1.4rem; }
  .lightbox-nav { position: sticky; top: 27svh; z-index: 2; font-size: 1.25rem; padding: 1.5rem .2rem; }
  .lightbox-close { right: 1rem; top: .5rem; }
}

@media (max-width: 600px) {
  .installation-grid { display: block; }
  .installation-view, .installation-view:nth-child(2), .installation-view:nth-child(3) { width: 100%; margin: 0 0 4rem; }
  .installation-view:nth-child(3) { width: 77%; margin-left: auto; margin-right: 0; }
  .film-grid { grid-template-columns: 1fr; gap: 3rem; }
  .film-frame { aspect-ratio: 16 / 9; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .artwork img { transition: none; }
  .film-frame img, .film-play { transition: none; }
}
