:root {
  --paper: #e8e6df;
  --ink: #191a18;
  --muted: #686a63;
  --line: rgba(25, 26, 24, .23);
  --card: #d8d6ce;
  --max: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", "PingFang TC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
body.dialog-open { overflow: hidden; }
img, video { display: block; width: 100%; }
a { color: inherit; }
button { color: inherit; font: inherit; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 3.5vw, 64px);
  /* Opaque paper keeps navigation readable over every hero frame. */
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  mix-blend-mode: normal;
}
.wordmark { display: flex; gap: 14px; align-items: baseline; font-weight: 650; text-decoration: none; letter-spacing: .04em; }
.wordmark-en { font-size: 11px; letter-spacing: .16em; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); font-size: 13px; }
.nav a { text-decoration: none; }
.lang-toggle { border: 1px solid currentColor; border-radius: 100%; width: 42px; height: 42px; background: transparent; cursor: pointer; }
.top-edge-fade { position: fixed; z-index: 12; inset: 0 0 auto; height: clamp(105px, 15vh, 180px); pointer-events: none; opacity: 0; background: linear-gradient(to bottom, var(--paper) 0%, rgba(232,230,223,.9) 30%, rgba(232,230,223,.42) 62%, rgba(232,230,223,0) 100%); transition: opacity .65s ease; }
body.past-hero .top-edge-fade { opacity: 1; }

.hero { min-height: 100svh; position: relative; overflow: hidden; color: #f2f0e8; }
.hero-image-wrap { position: absolute; inset: 0; background: #272a25 url("/assets/video/hero-selected-works-20261003-r10.jpg") center / cover no-repeat; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: saturate(.58) contrast(1.05) brightness(.64); transform: scale(1.015); transition: opacity 1.4s ease-in-out; }
.hero-video.is-active { opacity: 1; }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,15,13,.62) 0%, rgba(13,15,13,.16) 60%, rgba(13,15,13,.32) 100%); }
.hero-copy { position: absolute; z-index: 2; left: clamp(24px, 6vw, 96px); bottom: clamp(90px, 12vh, 150px); max-width: 840px; }
.eyebrow, .section-number { margin: 0 0 18px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(51px, 9.52vw, 142.8px); line-height: .76; letter-spacing: -.065em; font-weight: 540; }
.hero-intro { margin: 42px 0 0; max-width: 580px; font-size: clamp(17px, 1.45vw, 23px); }
.scroll-cue { position: absolute; z-index: 2; right: clamp(24px, 4vw, 64px); bottom: 38px; font-size: 12px; text-decoration: none; }
.hero-film-info { position: absolute; z-index: 2; left: clamp(24px, 6vw, 96px); bottom: 25px; display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .04em; }
.hero-playback { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(242,240,232,.38); border-radius: 50%; background: transparent; cursor: pointer; font-size: 17px; }
.hero-playback:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.hero-sound { min-height: 44px; padding: 0 14px; border: 1px solid rgba(242,240,232,.38); border-radius: 24px; background: transparent; cursor: pointer; color: inherit; font-size: 11px; white-space: nowrap; }
.hero-sound:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.hero-sound[aria-pressed="true"] { background: rgba(242,240,232,.16); }

.section { max-width: var(--max); margin: 0 auto; padding: clamp(92px, 12vw, 180px) clamp(20px, 4vw, 64px); }
.section-heading { display: grid; grid-template-columns: minmax(80px, .45fr) 1.1fr 1.3fr; gap: 24px; align-items: start; border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: clamp(55px, 8vw, 110px); }
.section-heading h2 { margin: 0; font-size: clamp(36px, 5vw, 76px); line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.section-heading > p:last-child { margin: 0; max-width: 620px; }

.works-grid { position: relative; padding-top: 20px; }
.works-grid::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--line); }
.timeline-year { position: relative; }
.timeline-year-heading { position: relative; z-index: 2; display: flex; justify-content: center; padding: 12px 0 clamp(56px, 7vw, 100px); }
.timeline-year-heading span { display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); font-size: 14px; font-variant-numeric: tabular-nums; }
.timeline-work { --gray: 100%; --sat: .72; --focus: 0; --line-scale: .35; --card-opacity: .54; --image-scale: 1.035; --shift-x: 0px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr); align-items: center; min-height: clamp(430px, 54vw, 720px); }
.timeline-work::before { content: ""; grid-column: 2; grid-row: 1; width: 50%; height: 1px; background: var(--line); transform: scaleX(var(--line-scale)); transition: transform .18s linear; }
.timeline-work.side-left::before { justify-self: end; transform-origin: right; }
.timeline-work.side-right::before { justify-self: start; transform-origin: left; }
.timeline-work button { width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; opacity: var(--card-opacity); transition: opacity .18s linear, transform .18s linear; }
.timeline-work.side-left button { grid-column: 1; transform: translateX(var(--shift-x)); }
.timeline-work.side-right button { grid-column: 3; transform: translateX(var(--shift-x)); }
.work-image { overflow: hidden; aspect-ratio: 16 / 10; background: #272824; }
.work-image img { height: 100%; object-fit: cover; filter: grayscale(var(--gray)) saturate(var(--sat)); transform: scale(var(--image-scale)); transition: filter .18s linear, transform .18s linear; }
.timeline-work button:hover img { transform: scale(1.025); }
.work-meta { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); margin-top: 10px; }
.work-meta span, .work-meta p { font-size: 12px; color: var(--muted); }
.work-meta h3 { margin: 0; font-size: clamp(24px, 2.8vw, 43px); font-weight: 500; line-height: 1.15; }
.work-meta h3 span { font-size: inherit; color: inherit; }
.work-meta p { grid-column: 1; margin: 8px 0 0; }
.view-label { grid-column: 2; grid-row: 1 / span 2; }

.about-section { padding-top: 40px; }
.about-section .section-heading h2 { font-size: clamp(30px, 4vw, 60px); }
.about-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(38px, 8vw, 130px); align-items: start; }
.portrait-wrap { margin: 0; position: sticky; top: 90px; }
.portrait-wrap img { filter: saturate(.82); }
.about-copy { padding-top: 4vw; max-width: 760px; }
.about-copy p { font-size: clamp(17px, 1.5vw, 23px); margin: 0 0 1.4em; }
.about-copy .lead { font-size: clamp(22px, 2.4vw, 37px); line-height: 1.5; letter-spacing: -.025em; }
.source-note { display: flex; flex-wrap: wrap; gap: 12px 22px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 54px; font-size: 12px; color: var(--muted); }
.artist-statement { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; }
.artist-statement summary { cursor: pointer; font-size: 15px; letter-spacing: .06em; }
.artist-statement h3 { margin: 28px 0 20px; font-size: clamp(20px, 2vw, 28px); font-weight: 500; }
.artist-statement p { font-size: clamp(16px, 1.3vw, 20px); }

.download-link { justify-self: start; font-size: 13px; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.cv-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px 44px; }
.cv-group { border-top: 1px solid var(--line); padding-top: 14px; }
.cv-group h3 { margin: 0 0 30px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.cv-group ul { margin: 0; padding: 0; list-style: none; }
.cv-group li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(25,26,24,.1); }
.cv-group time { color: var(--muted); font-variant-numeric: tabular-nums; }

.site-footer { display: flex; justify-content: space-between; padding: 28px clamp(20px, 4vw, 64px); border-top: 1px solid var(--line); font-size: 12px; }
.contact-kicker { margin: 0 0 14px; color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.contact-email { display: inline-block; max-width: 100%; font-size: clamp(25px, 3.4vw, 52px); line-height: 1.08; letter-spacing: -.045em; overflow-wrap: anywhere; text-decoration-thickness: 1px; text-underline-offset: 8px; }

.work-dialog { width: min(1180px, calc(100vw - 28px)); max-height: calc(100svh - 28px); border: 0; padding: 0; background: #d9d7cf; color: var(--ink); box-shadow: 0 28px 80px rgba(0,0,0,.38); }
.work-dialog::backdrop { background: rgba(16,17,15,.78); backdrop-filter: blur(8px); }
.dialog-close { position: sticky; float: right; top: 18px; right: 18px; z-index: 3; margin: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(232,230,223,.9); cursor: pointer; font-size: 25px; line-height: 1; }
#dialog-content { padding: clamp(28px, 5vw, 72px); }
.dialog-header { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 20px; align-items: end; margin: 20px 0 64px; }
.dialog-header p { margin: 0; }
.dialog-header h2 { margin: 0; font-size: clamp(36px, 5.6vw, 78px); line-height: .95; font-weight: 500; letter-spacing: -.05em; }
.dialog-header h2 { text-wrap: balance; overflow-wrap: anywhere; }
.dialog-header h2.long-title { font-size: clamp(32px, 4vw, 56px); }
.dialog-medium { font-size: 13px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-film-info { display: none; }
}
.work-dialog video { background: #0f100f; aspect-ratio: 16 / 9; }
.work-dialog .work-player-wide { aspect-ratio: 32 / 9; }
.media-choices { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 18px; }
.media-choices button { padding: 8px 0; min-height: 44px; border: 0; border-bottom: 1px solid transparent; border-radius: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.media-choices button[aria-pressed="true"] { color: var(--ink); border-bottom-color: currentColor; }
.media-choices button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.work-credit { font-size: 13px; color: var(--muted); }
.media-error { font-size: 13px; color: var(--ink); }
.media-caption, .installation-grid figcaption { margin: 8px 0 0; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.dialog-body { max-width: 790px; margin: 80px 0; font-size: clamp(18px, 2vw, 28px); }
.work-source { display: inline-block; margin-top: 24px; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.installation-gallery { margin-top: clamp(90px, 12vw, 170px); }
.gallery-heading { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 34px; border-top: 1px solid var(--line); }
.gallery-heading h3 { margin: 0; font-size: clamp(26px, 4vw, 56px); font-weight: 500; letter-spacing: -.04em; }
.gallery-heading span { color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.installation-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(45px, 7vw, 90px) 18px; align-items: end; }
.installation-grid figure { margin: 0; }
.installation-grid figure:nth-child(1) { grid-column: 1 / span 8; }
.installation-grid figure:nth-child(2) { grid-column: 9 / span 4; }
.installation-grid figure:nth-child(3) { grid-column: 2 / span 10; }
.installation-grid figure:nth-child(4) { grid-column: 1 / span 6; }
.installation-grid figure:nth-child(5) { grid-column: 7 / span 6; }
.installation-grid figure:nth-child(6) { grid-column: 3 / span 8; }
.installation-grid img { background: #171815; }

@media (max-width: 800px) {
  .site-header { align-items: flex-start; }
  .nav a { display: none; }
  .hero h1 { font-size: clamp(45.05px, 16.32vw, 81.6px); }
  .section-heading { grid-template-columns: 46px 1fr; }
  .section-heading > p:last-child, .section-heading .download-link { grid-column: 2; }
  .works-grid::before { left: 18px; }
  .timeline-year-heading { justify-content: flex-start; padding-bottom: 58px; }
  .timeline-year-heading span { width: 58px; height: 58px; margin-left: 18px; transform: translateX(-50%); font-size: 12px; }
  .timeline-work { grid-template-columns: 48px minmax(0, 1fr); min-height: 0; margin-bottom: 92px; }
  .timeline-work::before, .timeline-work.side-left::before, .timeline-work.side-right::before { grid-column: 1; width: 30px; justify-self: start; transform-origin: left; }
  .timeline-work.side-left button, .timeline-work.side-right button { grid-column: 2; }
  .work-meta { grid-template-columns: 1fr; }
  .work-meta h3, .work-meta p { grid-column: 1; }
  .view-label { display: none; }
  .about-grid, .cv-content { grid-template-columns: 1fr; }
  .portrait-wrap { position: static; }
  .dialog-header { grid-template-columns: 1fr; }
  .dialog-header h2 { font-size: 40px; }
  .dialog-header h2.long-title { font-size: 34px; }
  .installation-grid { display: block; }
  .installation-grid figure { margin-bottom: 48px; }
  .contact-email { font-size: clamp(24px, 8vw, 40px); }
}

@media (max-width: 800px) and (orientation: portrait) {
  .hero { min-height: 100svh; }
  .hero-video { object-position: center; transform: none; }
  .hero-image-wrap { background-image: url("/assets/video/hero-selected-works-20261003-r10-mobile.jpg"); }
  .hero-film-info { left: 24px; bottom: 18px; max-width: calc(100% - 150px); flex-wrap: wrap; gap: 6px 10px; }
  .hero-work-label { line-height: 1.4; flex-basis: 100%; }
  .hero-wash { background: linear-gradient(180deg, rgba(13,15,13,.22) 0%, rgba(13,15,13,.22) 40%, rgba(13,15,13,.76) 100%); }
  .hero-copy { left: 24px; right: 24px; bottom: 108px; }
  .hero-intro { max-width: 88vw; margin-top: 30px; }
  .scroll-cue { right: 24px; bottom: 28px; }
}

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


/* Bilingual static preview: retain the deployed design above. */
img { height: auto; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
.nav a.lang-toggle {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  line-height: 1;
  text-decoration: none;
}
.wordmark, .nav { min-width: 0; }

/* Real work links occupy the same timeline tracks as the original buttons. */
.timeline-work .work-link {
  display: block;
  grid-row: 1;
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  opacity: var(--card-opacity);
  transition: opacity .18s linear, transform .18s linear;
}
.timeline-work.side-left .work-link { grid-column: 1; transform: translateX(var(--shift-x)); }
.timeline-work.side-right .work-link { grid-column: 3; transform: translateX(var(--shift-x)); }
.timeline-work .work-link:hover img,
.timeline-work .work-link:focus-visible img { transform: scale(1.025); }
.timeline-work .work-link:focus-visible { opacity: 1; }
.work-meta, .work-meta > * { min-width: 0; }
.work-meta h3, .work-meta p { overflow-wrap: anywhere; }

/* The preview label stays below the header and scrolls away with the page. */
.preview-notice {
  position: absolute;
  z-index: 4;
  top: 88px;
  left: clamp(20px, 3.5vw, 64px);
  max-width: calc(100% - 40px);
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(25, 26, 24, .2);
  background: rgba(232, 230, 223, .94);
  color: var(--ink);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}

/* Full-page works keep the paper palette and the original media typography. */
.work-page .site-header {
  min-height: 80px;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  mix-blend-mode: normal;
}
.standalone-work {
  width: 100%;
  max-width: 1320px;
  min-width: 0;
  margin: 0 auto;
  padding: 120px clamp(20px, 5vw, 72px) clamp(64px, 9vw, 120px);
  scroll-margin-top: 100px;
}
.preview-page .standalone-work { padding-top: 168px; }
.work-content, .work-content > * { min-width: 0; }
.work-nav-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-bottom: clamp(34px, 5vw, 64px);
}
.work-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}
.work-content .dialog-header {
  grid-template-columns: 72px minmax(0, 1.5fr) minmax(160px, .65fr);
  gap: 20px clamp(20px, 3vw, 44px);
  margin: 0 0 clamp(36px, 6vw, 72px);
}
.work-content .dialog-header > * { min-width: 0; }
.work-content .dialog-header h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.03;
  font-weight: 500;
  letter-spacing: -.045em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.work-content .dialog-header h1.long-title { font-size: clamp(38px, 4.5vw, 64px); }
.work-content .dialog-medium { line-height: 1.65; overflow-wrap: anywhere; }
.work-content .work-player {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #0f100f;
  object-fit: contain;
}
.work-content .work-player-wide { aspect-ratio: 32 / 9; }
.work-content .media-choices { gap: 8px 24px; }
.work-content .media-choices button { max-width: 100%; text-align: left; overflow-wrap: anywhere; }
.work-content .dialog-body { margin: clamp(48px, 7vw, 80px) 0; overflow-wrap: anywhere; }
.work-content .dialog-body p:first-child { margin-top: 0; }
.work-content .installation-gallery { margin-top: clamp(64px, 8vw, 110px); }
.work-content .gallery-heading { gap: 16px; flex-wrap: wrap; }
.work-content .gallery-heading h2, .work-content .gallery-heading h3 { min-width: 0; overflow-wrap: anywhere; }
.work-content .gallery-heading h2 { margin: 0; font-size: clamp(26px, 4vw, 56px); font-weight: 500; letter-spacing: -.04em; }
.work-content .installation-grid > figure { min-width: 0; }
.work-content .installation-grid img { height: auto; }
.clip-links {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.clip-links summary { min-height: 44px; padding: 10px 0; cursor: pointer; }
.clip-links ul { margin: 4px 0 0; padding-left: 20px; }
.clip-links li + li { margin-top: 10px; }
.clip-links a { display: inline-block; padding: 6px 0; text-underline-offset: 4px; }
.work-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: clamp(64px, 10vw, 120px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.work-pagination a {
  display: block;
  min-width: 0;
  min-height: 60px;
  padding: 8px 0;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.work-pagination .work-prev { grid-column: 1; }
.work-pagination .work-next { grid-column: 2; text-align: right; }
.work-pagination a > span { display: block; margin-bottom: 10px; color: var(--muted); font-size: 12px; }
.work-pagination strong { display: block; font-size: clamp(20px, 2.5vw, 32px); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.work-pagination a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.work-nav-placeholder { min-width: 0; }
.work-page .site-footer { flex-wrap: wrap; gap: 8px 24px; }
.work-page .site-footer > * { min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 800px) {
  .nav a.lang-toggle { display: inline-flex; }
  .timeline-work.side-left .work-link,
  .timeline-work.side-right .work-link { grid-column: 2; }
  .work-content .dialog-header { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .work-content .dialog-header h1 { font-size: clamp(36px, 7vw, 56px); }
  .work-content .dialog-header h1.long-title { font-size: clamp(32px, 6.3vw, 48px); }
  .work-content .dialog-medium { max-width: 52ch; }
  .work-content .dialog-body { font-size: clamp(18px, 2.8vw, 23px); }
}

@media (max-width: 520px) {
  .site-header { gap: 12px; }
  .wordmark { flex-wrap: wrap; column-gap: 8px; row-gap: 0; line-height: 1.4; }
  .wordmark-en { font-size: 9.5px; letter-spacing: .12em; }
  .nav { flex: 0 0 auto; }
  .preview-notice { max-width: calc(100% - 40px); font-size: 10px; }
  .preview-page .standalone-work { padding-top: 164px; }
  .work-content .dialog-header { margin-bottom: 32px; }
  .work-content .gallery-heading { align-items: flex-start; }
  .work-content .gallery-heading h2, .work-content .gallery-heading h3 { font-size: 28px; }
  .work-pagination { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .work-pagination .work-prev, .work-pagination .work-next { grid-column: 1; }
  .work-pagination .work-nav-placeholder { display: none; }
  .work-page .site-footer p { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-work .work-link { transition: none; }
}

/* Searchable language grid stays readable over every video frame. */
.language-menu { position: relative; flex: 0 0 auto; color: var(--ink); }
.language-menu summary {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 44px; min-width: 112px; padding: 8px 14px;
  border: 1px solid var(--ink); border-radius: 24px;
  background: var(--paper); color: var(--ink); cursor: pointer; list-style: none;
  font-size: 13px; line-height: 1.2; white-space: nowrap;
}
.language-globe { flex: 0 0 18px; }
.language-current { min-width: 0; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu[open] summary { border-radius: 18px; }
.language-options {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; width: 660px;
  max-width: calc(100vw - 40px); max-height: calc(100vh - 110px);
  max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain;
  display: block; padding: 10px; border: 1px solid var(--ink); border-radius: 12px;
  background: var(--paper); color: var(--ink); box-shadow: 0 8px 24px #191a1826;
}
.language-search { position: sticky; top: 0; z-index: 1; display: block; width: 100%; min-height: 44px; margin: 0 0 8px; padding: 10px 12px; border: 1px solid var(--muted); border-radius: 7px; font: inherit; font-size: 16px; background: var(--paper); color: var(--ink); }
.language-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.language-empty { margin: 10px 12px; font-size: 14px; }
.language-menu:not([open]) .language-options { display: none; }
.nav .language-options a {
  display: flex; align-items: center; min-height: 44px; padding: 10px 12px;
  min-width: 0; font-size: 15px; line-height: 1.4; border-radius: 6px; text-decoration: none;
  white-space: normal; overflow-wrap: break-word; text-align: start; unicode-bidi: isolate;
}
.language-options a[hidden], .language-empty[hidden] { display: none; }
.language-options a[aria-current="page"] { font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.language-options a:hover { background: #191a1810; }
.language-options a:focus-visible { outline-offset: -2px; }
.original-note { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }
.section-heading > *, .hero-film-info > *, .cv-group span { min-width: 0; overflow-wrap: anywhere; }
.hero-film-info { max-width: calc(100% - 48px); flex-wrap: wrap; }
.hero-work-label { flex: 1 1 160px; }
.hero-playback, .hero-sound { flex: 0 0 auto; }
html:lang(ja) body { font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif; }
html:lang(ko) body { font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; word-break: keep-all; }
html:lang(zh-Hans) body { font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Noto Sans SC', sans-serif; }
html:lang(ar) body { font-family: -apple-system, BlinkMacSystemFont, 'Geeza Pro', 'Noto Sans Arabic', Tahoma, sans-serif; }
html:lang(hi) body { font-family: -apple-system, BlinkMacSystemFont, 'Kohinoor Devanagari', 'Noto Sans Devanagari', sans-serif; }
html:lang(bn) body { font-family: -apple-system, BlinkMacSystemFont, 'Bangla Sangam MN', 'Noto Sans Bengali', sans-serif; }
html:lang(ar) :is(.eyebrow, .hero-film-info, .section-heading h2, .about-copy .lead, .artist-statement summary, .cv-group h3, .contact-kicker, .media-caption, .installation-grid figcaption, .work-source, .gallery-heading h2, .gallery-heading span),
html:lang(hi) :is(.eyebrow, .section-heading h2, .artist-statement summary, .cv-group h3, .contact-kicker, .media-caption, .installation-grid figcaption, .work-source, .gallery-heading h2, .gallery-heading span),
html:lang(bn) :is(.eyebrow, .section-heading h2, .artist-statement summary, .cv-group h3, .contact-kicker, .media-caption, .installation-grid figcaption, .work-source, .gallery-heading h2, .gallery-heading span) { letter-spacing: normal; text-transform: none; line-height: 1.5; }
html:lang(ar) :is(.hero-intro, .dialog-body, .about-copy, .cv-group li), html:lang(hi) :is(.hero-intro, .dialog-body, .about-copy, .cv-group li), html:lang(bn) :is(.hero-intro, .dialog-body, .about-copy, .cv-group li) { line-height: 1.8; }
[dir="ltr"], bdi { unicode-bidi: isolate; }
html[dir="rtl"] .hero-film-info { left: auto; right: clamp(24px, 6vw, 96px); }
html[dir="rtl"] .scroll-cue { right: auto; left: clamp(24px, 4vw, 64px); }
html[dir="rtl"] .work-pagination .work-prev { text-align: start; }
html[dir="rtl"] .work-pagination .work-next { text-align: end; }
html[dir="rtl"] .timeline-work .work-link { text-align: start; }
@media (min-width: 1101px) { html[dir="rtl"] .hero-copy { left: auto; right: clamp(24px, 6vw, 96px); } }
@media (max-width: 800px) {
  html[dir="rtl"] .works-grid::before { left: auto; right: 18px; }
  html[dir="rtl"] .timeline-year-heading span { margin-left: 0; margin-right: 18px; transform: translateX(50%); }
  html[dir="rtl"] .timeline-work::before, html[dir="rtl"] .timeline-work.side-left::before, html[dir="rtl"] .timeline-work.side-right::before { transform-origin: right; }
}
html:lang(th) body { font-family: -apple-system, BlinkMacSystemFont, 'Thonburi', 'Noto Sans Thai', Tahoma, sans-serif; word-break: normal; }
.language-options a:lang(th), .language-menu summary span:lang(th) { font-family: 'Thonburi', 'Noto Sans Thai', Tahoma, sans-serif; }
html:lang(th) :is(.eyebrow, .hero-film-info, .artist-statement summary, .cv-group h3, .contact-kicker, .media-caption, .installation-grid figcaption, .work-source, .gallery-heading span) { letter-spacing: normal; text-transform: none; }
html:lang(th) :is(.section-heading h2, .cv-group h3, .gallery-heading h2, .gallery-heading h3) { line-height: 1.45; letter-spacing: normal; }
html:lang(th) :is(.hero-intro, .dialog-body, .about-copy, .cv-group li, .cv-group span) { line-height: 1.75; word-break: normal; overflow-wrap: break-word; }
@media (max-width: 1100px) {
  .nav > a { display: none; }
  .hero-copy { position: relative; left: auto; right: auto; bottom: auto; max-width: none; padding: 160px 24px 180px; }
  .hero { min-height: max(100svh, 680px); }
  .hero-film-info { bottom: 70px; }
  .section-heading > div { grid-column: 2 / -1; }
}
@media (max-width: 520px) {
  .site-header { padding-top: 14px; padding-bottom: 14px; }
  .wordmark { display: grid; gap: 0; }
  .wordmark-en { white-space: nowrap; }
  .language-menu summary { min-width: 0; max-width: calc(100vw - 170px); padding: 8px 9px; font-size: 12px; gap: 6px; }
  .language-current { white-space: normal; overflow-wrap: break-word; }
  .language-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav .language-options a { padding: 9px 8px; font-size: 14px; }
  .hero-copy { padding-top: 150px; padding-bottom: 175px; }
  .hero { min-height: max(100svh, 680px); }
  .hero-film-info { bottom: 70px; }
  .hero-work-label { flex-basis: 100%; }
  .hero-intro { overflow-wrap: anywhere; }
}
@media (max-width: 280px) { .language-grid { grid-template-columns: minmax(0, 1fr); } }
