:root {
  color-scheme: light;
  --paper: #f6f4ee;
  --ink: #252b25;
  --muted: #5c6558;
  --green: #233b30;
  --deep: #192c24;
  --rule: #c7ccc0;
  --wash: #e7eae0;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --serif: Baskerville, "Times New Roman", "Songti SC", serif;
  --sans: "Avenir Next", Avenir, "PingFang SC", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 var(--sans);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
:where(h1,h2,h3,p,figure,dl,dd) { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.wrap { width: min(100%, 101rem); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 10; transform: translateY(-160%); background: white; padding: .5rem 1rem; }
.skip:focus { transform: translateY(0); }
.muted { color: var(--muted); }
.overline { color: var(--muted); font-size: .8125rem; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }

.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; min-height: 5.25rem; }
.wordmark { display: inline-flex; align-items: baseline; gap: .65rem; flex-shrink: 0; text-decoration: none; }
.wordmark span:first-child { font: 1.7rem/1 var(--serif); letter-spacing: -.05em; }
.wordmark span[lang] { font-size: .8125rem; letter-spacing: .08em; color: var(--muted); }
.header-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem clamp(1rem, 3.4vw, 3.4rem); }
.header-inner nav a, .tabs a { text-decoration: none; font-size: .9375rem; font-weight: 550; padding-block: .55rem; }
.header-inner nav a:hover, .header-inner nav [aria-current] { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(18rem, .78fr) minmax(0, 1.32fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  padding-block: clamp(3rem, 7vw, 7.1rem) clamp(2rem, 5vw, 4rem);
}
.hero h1 { margin: .75rem 0 1.55rem; color: var(--deep); font-size: clamp(5.25rem, 9.3vw, 10.5rem); line-height: .77; letter-spacing: -.066em; }
.hero-intro { max-width: 29rem; font-size: clamp(1.02rem, 1.42vw, 1.25rem); line-height: 1.65; }
.hero-zh { margin-top: .75rem; max-width: 25rem; color: var(--muted); font-size: .9375rem; line-height: 1.75; }
.hero .primary { margin-top: 1.75rem; }
.hero-frame { min-width: 0; }
.hero-art { display: block; }
.hero-art img { width: 100%; }
.hero-frame figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 1rem; color: var(--muted); font-size: .8125rem; border-bottom: 1px solid var(--rule); padding: .7rem 0; }
.art-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  width: 100%;
  min-width: 0;
  padding: 1.25rem;
  overflow: hidden;
  isolation: isolate;
  background: #e0e6d9;
  color: #434f44;
}
.art-placeholder::before { content: ""; position: absolute; inset: .85rem; z-index: -1; border: 1px solid currentColor; opacity: .25; }
.art-placeholder span { font-size: .8125rem; text-align: center; line-height: 1.4; }
.hero-placeholder {
  aspect-ratio: 1.23;
  min-height: 23rem;
  background: radial-gradient(ellipse at 70% 0%, #465f50, transparent 68%), var(--deep);
  color: #e9eee4;
}
.hero-placeholder::before { inset: clamp(.9rem, 3vw, 2rem); }
.hero-placeholder::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .28;
  background: repeating-radial-gradient(ellipse at 116% 124%, transparent 0 35px, #a7b9a6 36px 37px, transparent 38px 63px);
  mask-image: linear-gradient(144deg, transparent 28%, #000 80%);
}
.hero-placeholder span { padding: .55rem .85rem; background: #263c32; }

.action { display: inline-block; width: fit-content; font-size: .875rem; font-weight: 650; }
.action:hover { text-decoration-thickness: 2px; }
.primary { padding: .8rem 1.05rem; background: var(--green); color: white; text-decoration: none; }
.primary:hover { background: #365749; }
.home-links { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: clamp(3rem, 7vw, 7rem); }
.home-link { display: grid; align-content: start; justify-items: start; gap: .75rem; padding: clamp(1.35rem, 4vw, 2.75rem); border: 1px solid var(--rule); }
.home-link + .home-link { border-inline-start: 0; }
.home-link > p:not(.overline) { max-width: 36rem; }
.home-link .action { margin-top: .45rem; }
.exhibition-card { background: var(--wash); }

.inner { min-height: 56vh; padding-block: clamp(2.5rem, 6vw, 6rem) clamp(3rem, 8vw, 7rem); }
.page-title { max-width: 60rem; margin-bottom: clamp(1.45rem, 4.5vw, 3.35rem); }
.page-title h1 { margin: .45rem 0; font-size: clamp(3.2rem, 7vw, 7.1rem); letter-spacing: -.047em; overflow-wrap: break-word; }
.lede { margin-top: .85rem; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.25rem); }
.tabs { display: flex; flex-wrap: wrap; gap: .15rem clamp(1rem, 3vw, 2.75rem); padding-block: .2rem; border-block: 1px solid var(--rule); margin-bottom: clamp(1.5rem, 4.25vw, 3.5rem); }
.tabs a { color: var(--muted); }
.tabs a:hover, .tabs [aria-current] { color: var(--green); text-decoration: underline; }
.series-tile { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; background: var(--wash); text-decoration: none; }
.series-tile div:not(.art-placeholder) { padding: clamp(1.25rem, 4vw, 3rem); }
.series-tile h2 { margin-block: .5rem; }
.series-tile .art-placeholder { background: #3b5548; color: #e8eee6; }
.text-link { display: inline-block; margin-top: 1rem; text-decoration: underline; font-weight: 650; font-size: .875rem; }
.editorial-split { display: grid; grid-template-columns: 1fr 2fr; align-items: start; gap: clamp(1rem, 6vw, 6rem); }
.prose { max-width: 41rem; font-size: 1.0625rem; line-height: 1.8; }
.prose p + p { margin-top: 1em; }
.statement { margin-top: clamp(2.25rem, 6vw, 4.5rem); border-top: 1px solid var(--rule); padding-top: 1.5rem; }
.badge { margin-top: .55rem; font-size: .8125rem; color: var(--muted); }
.portrait { max-width: 25rem; }
.portrait .art-placeholder { aspect-ratio: 4 / 5; }
.partition { margin-top: clamp(2.75rem, 7vw, 6rem); }
.partition-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .6rem 1rem; border-bottom: 1px solid var(--rule); padding-bottom: 1rem; margin-bottom: 1.25rem; }
.partition-head p { color: var(--muted); font-size: .875rem; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 3rem); }
.work-card a { display: block; text-decoration: none; }
.work-visual { aspect-ratio: 4 / 3; background: var(--wash); }
.work-visual img { width: 100%; height: 100%; object-fit: contain; }
.work-card:hover h3 { text-decoration: underline; }
.work-caption { border-bottom: 1px solid var(--rule); padding: .8rem 0 1rem; }
.work-caption p { margin-top: .35rem; color: var(--muted); font-size: .875rem; }
.empty { padding: 1.4rem; border: 1px solid var(--rule); color: var(--muted); }
.back-link { display: inline-block; margin-bottom: 1.25rem; font-size: .875rem; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(13rem, 1fr); gap: clamp(1rem, 5vw, 4rem); align-items: start; }
.details > div, .cv > div { display: grid; gap: .45rem 1rem; padding: .8rem 0; border-top: 1px solid var(--rule); }
.details dt, .cv dt { color: var(--muted); font-size: .875rem; font-weight: 600; }
.details dd { font-size: 1.05rem; }

.gallery-track { display: flex; overflow: auto; scroll-snap-type: x mandatory; background: var(--wash); }
.gallery-slide { display: grid; place-items: center; flex: 0 0 100%; scroll-snap-align: start; min-width: 0; cursor: zoom-in; }
.gallery-slide img { max-height: 75svh; object-fit: contain; }
.gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding-block: .65rem; }
.gallery-controls button, .viewer button { border: 1px solid currentColor; color: inherit; background: transparent; padding: .45rem .7rem; }
.gallery-controls button:disabled { opacity: .55; cursor: default; }
.gallery-count { color: var(--muted); font-size: .875rem; }
html:has(.viewer[open]) { overflow: hidden; }
.viewer { width: min(calc(100% - 1rem), 75rem); max-width: none; border: 0; padding: .75rem; color: var(--paper); background: var(--deep); }
.viewer::backdrop { background: rgb(0 0 0 / .8); }
.viewer-bar { display: flex; justify-content: flex-end; gap: .55rem; margin-bottom: .75rem; }
.viewer-pan { overflow: auto; max-height: 78dvh; overscroll-behavior: contain; }
.viewer-pan img { height: auto; max-height: 78dvh; margin-inline: auto; object-fit: contain; }
.viewer-pan.is-zoomed img { width: 200%; max-width: none; max-height: none; }

.records { border-top: 1px solid var(--rule); }
.record, .press-record { display: grid; gap: .65rem clamp(1rem, 4vw, 4rem); border-bottom: 1px solid var(--rule); padding-block: clamp(1.2rem, 3vw, 2.1rem); }
.record { grid-template-columns: minmax(6rem, 1fr) 5fr; }
.record:target { background: var(--wash); padding-inline: 1rem; }
.record-year { font: clamp(1.25rem, 3vw, 2rem)/1.15 var(--serif); color: var(--green); }
.record .overline, .press-record .overline { margin-bottom: .3rem; }
.record h2, .press-record h2 { font-size: clamp(1.65rem, 3.25vw, 2.75rem); }
.record-meta { margin-top: .45rem; color: var(--muted); }
.record-note { margin-top: .6rem; max-width: 45rem; }
.installation { margin-block: 1rem; }
.installation figcaption { margin-top: .45rem; color: var(--muted); font-size: .875rem; }
.exhibition-poster { max-width: 26.25rem; }
.image-credit { color: var(--muted); margin-top: .65rem; font-size: .8125rem; }
.press-record { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 4vw, 3rem); }
.overview-card { display: grid; align-content: start; gap: .75rem; padding: clamp(1.2rem, 3.5vw, 2.5rem); border: 1px solid var(--rule); background: var(--wash); }
.overview-card p:not(.overline) { max-width: 30rem; }
.cv > div { grid-template-columns: minmax(8rem, 1fr) 4fr; }
.cv dd { max-width: 45rem; }
.download-list { list-style: none; margin: 0; padding: 0; }
.download-list li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; border-bottom: 1px solid var(--rule); padding: .75rem 0; }
.download-list a { font-weight: 650; }
.last-update { margin-top: 2rem; color: var(--muted); font-size: .875rem; }

.site-footer { color: #eef2ea; background: var(--deep); }
.footer-inner { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1.25rem 2rem; padding-block: clamp(1.5rem, 4vw, 2.5rem); font-size: .875rem; }
.footer-name { display: inline-block; margin-bottom: .45rem; font: 1.65rem/1 var(--serif); text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.15rem; }
.footer-links .muted { color: #d0dbcf; }

@media (max-width: 950px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero h1 { font-size: clamp(4.4rem, 12vw, 7.35rem); }
  .hero h1 br { display: none; }
  .hero-placeholder { aspect-ratio: 1.6; min-height: clamp(10rem, 44vw, 14rem); }
  .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: .6rem; padding-block: .95rem .45rem; }
  .header-inner nav { column-gap: clamp(.7rem, 3vw, 1.35rem); }
  .header-inner nav a { font-size: clamp(.8rem, 3.3vw, .9375rem); }
  .home-links, .editorial-split, .series-tile, .overview-grid { grid-template-columns: 1fr; }
  .home-link + .home-link { border-inline-start: 1px solid var(--rule); border-top: 0; }
  .site-footer { margin-top: 0; }
}
@media (max-width: 500px) {
  .hero h1 { font-size: clamp(3rem, 12.9vw, 4.4rem); }
  .work-grid, .record, .press-record { grid-template-columns: 1fr; }
  .cv > div { grid-template-columns: minmax(5.5rem, 1fr) 3fr; }
}
