@font-face {
  font-family: Inter;
  src: url("./assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #101116;
  --text: #f1f2f7;
  --muted: #b8bcc9;
  --line: rgb(203 214 246 / .16);
  --display-font: Georgia, serif;
  --display-color: #f7f2e8;
  --reading-color: #cbd0df;
  --frost: blur(10px) brightness(.38);
  --photo-radius: 24px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  scroll-padding-top: 100px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 17% 0, rgb(83 115 188 / .34), transparent 41rem),
    radial-gradient(ellipse at 96% 8%, rgb(123 96 175 / .21), transparent 37rem),
    linear-gradient(#1c2331 0, var(--background) 58rem);
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
:focus-visible { outline: 2px solid var(--display-color); outline-offset: 5px; }
::selection { background: #e6dac5; color: var(--background); }
[hidden] { display: none !important; }

.skip { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 12px; background: #1e1e1e; transform: translateY(-160%); }
.skip:focus { transform: none; }

#site {
  --gutter: clamp(20px, 2.6vw, 48px);
  --prose-inset: clamp(0px, 3cqi, 54px);
  container-type: inline-size;
  padding: 14px var(--gutter) 0;
}
.masthead {
  position: sticky;
  top: 12px;
  z-index: 5;
  min-height: 64px;
  padding: 7px 9px 7px clamp(13px, 2cqi, 27px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 22px;
  font-size: 14px;
}
.dock-surface {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: 31px;
  border: 1px solid var(--line);
}
.dock-surface, .menu-surface { background: #22252d; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .dock-surface, .menu-surface {
    background: none;
    -webkit-backdrop-filter: var(--frost);
    backdrop-filter: var(--frost);
  }
}
.masthead-controls { display: contents; }
.masthead-leading { display: flex; align-items: center; gap: clamp(12px, 2cqi, 24px); min-width: 0; max-width: 65%; }
.brand { min-width: 0; overflow-wrap: anywhere; font-weight: 630; letter-spacing: -.025em; }
.masthead-back { display: inline-flex; flex: none; align-items: center; gap: 7px; min-height: 44px; padding-inline: 12px; border-radius: 999px; color: var(--text); }
.masthead-back:hover, .masthead-back:focus-visible { color: var(--text); }
.language-toggle {
  --language-option-width: 44px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, var(--language-option-width));
  flex: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #22252d;
}
.language-toggle button {
  position: relative;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: var(--muted);
  font-weight: 620;
  cursor: pointer;
}
.language-toggle button[aria-pressed="true"] { color: var(--text); }
.language-toggle button:focus-visible { outline-offset: -3px; }
.language-indicator {
  position: absolute;
  inset: 3px auto 3px 0;
  width: var(--language-option-width);
  pointer-events: none;
  border: 1px solid rgb(248 248 247 / .36);
  border-radius: inherit;
  background: #495064;
}
.language-toggle[data-language="en"] .language-indicator { transform: translateX(100%); }
.masthead nav { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; margin-inline-start: auto; justify-content: flex-end; }
.menu-surface { display: none; }
.menu-items { display: contents; }
.masthead nav a, .breadcrumb { color: var(--muted); overflow-wrap: anywhere; }
.menu-items > :is(a, .nav-pending) { padding: 8px clamp(9px, 1.2cqi, 19px); }
.masthead nav a { display: flex; align-items: center; min-height: 44px; border-radius: 999px; }
.nav-pending { color: var(--muted); overflow-wrap: anywhere; }
.nav-pending small { display: block; margin-top: 2px; font-size: 11px; }
.masthead nav a:hover, .masthead nav a[aria-current] { color: var(--text); }
.breadcrumb a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.menu-toggle {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
}

html[lang="zh-CN"] {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --display-font: Georgia, "Songti SC", "Noto Serif CJK SC", serif;
}
html[lang="zh-CN"] :is(.headline, .editorial-lead, .closing-note h2, .work h2) {
  letter-spacing: -.025em;
}
.menu-toggle span {
  position: relative;
  width: 18px;
  height: 1px;
  background: currentColor;
}
.menu-toggle span::before, .menu-toggle span::after { position: absolute; inset: 0; background: currentColor; content: ""; }
.menu-toggle span::before { transform: translateY(-5px); }
.menu-toggle span::after { transform: translateY(5px); }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }
.menu-toggle[aria-expanded="true"], .lightbox button:active { background-color: #3b4050; }

h1, h2, p, figure { margin: 0; }
.headline {
  margin: clamp(30px, 5cqi, 76px) 0;
  max-width: 20ch;
  color: var(--display-color);
  font: 400 clamp(39px, 7.5cqi, 120px)/1 var(--display-font);
  letter-spacing: -.059em;
  overflow-wrap: anywhere;
  text-wrap: balance;
  white-space: pre-line;
}
.headline:first-child { max-width: none; font-size: clamp(39px, 7cqi, 100px); }
.frame { display: block; position: relative; overflow: hidden; background: #1a1a1a; }
.frame > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-frame { aspect-ratio: 2.17; max-height: 80vh; border-radius: var(--photo-radius); }
.caption { margin-top: clamp(12px, 1.25cqi, 18px); color: var(--reading-color); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.caption > strong { display: block; color: var(--display-color); font: 400 clamp(24px, 3cqi, 42px)/1.08 var(--display-font); letter-spacing: -.037em; text-wrap: balance; }
.caption > p { max-width: 62ch; line-height: 1.72; font-size: clamp(15px, 1.3cqi, 18px); white-space: pre-line; }
.caption > small { display: block; font-size: 12px; }
.caption > * + * { margin-top: 12px; }
.feature { margin: clamp(62px, 10cqi, 160px) 0; }
.feature h2 { font: 400 clamp(24px, 3cqi, 46px)/1.1 var(--display-font); letter-spacing: -.04em; margin-bottom: 24px; }

.breadcrumb { display: flex; gap: 9px 14px; align-items: baseline; flex-wrap: wrap; font-size: 14px; margin-top: clamp(22px, 4cqi, 68px); }
.breadcrumb a:hover { color: var(--text); }
.gallery { display: grid; align-items: start; gap: clamp(27px, 5cqi, 78px) clamp(8px, 1.55cqi, 24px); margin: clamp(48px, 7cqi, 100px) 0; }
.photo { display: block; padding: 0; border: 0; width: 100%; overflow: hidden; border-radius: var(--photo-radius); background: #191d26; cursor: zoom-in; }
.photo img { display: block; width: 100%; height: auto; }
.empty-view { color: var(--muted); margin: 44px 0; }

.cover-opening { margin-top: clamp(20px, 3.4cqi, 48px); }
.cover-stage { position: relative; display: grid; align-items: end; min-height: clamp(360px, min(72svh, 65cqi), 820px); }
.cover-image { position: absolute; inset: 0; border-radius: var(--photo-radius); }
.cover-image::after {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgb(12 11 10 / .92), rgb(12 11 10 / .48) 33%, transparent 66%);
  content: "";
}
.cover-title {
  position: relative;
  margin: 0;
  padding: clamp(26px, 5cqi, 86px) 8%;
  color: var(--display-color);
  font: 400 clamp(50px, 10cqi, 166px)/.95 var(--display-font);
  letter-spacing: -.064em;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.editorial-intro {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  align-items: start;
  gap: clamp(28px, 8cqi, 142px);
  margin-inline: auto;
  max-width: 1290px;
  padding: clamp(66px, 10cqi, 140px) var(--prose-inset);
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.headline + .editorial-intro { padding-top: clamp(22px, 3cqi, 48px); }
.editorial-intro:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.editorial-lead { max-width: 28ch; color: var(--display-color); font: 400 clamp(29px, 4.3cqi, 57px)/1.11 var(--display-font); letter-spacing: -.05em; }
.editorial-body { max-width: 62ch; color: var(--reading-color); font-size: clamp(16px, 1.4cqi, 20px); line-height: 1.72; }
.editorial-body p + p { margin-top: 1.1em; }

.index { display: grid; gap: 16px; margin: clamp(48px, 7cqi, 110px) 0; }
.headline + .index { margin-top: clamp(24px, 5cqi, 76px); }
.editorial-intro + :is(.index, .gallery) { margin-top: 0; }
.index .work.has-cover { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.index .work.has-cover:not(:first-child) { margin-top: clamp(12px, calc(7cqi - 16px), 94px); }
.work-link { display: block; position: relative; }
.has-cover .work-link { grid-column: 1 / span 9; }
.work:nth-child(3n + 2 of .has-cover) .work-link { grid-column: 6 / -1; }
.work:nth-child(3n of .has-cover) .work-link { grid-column: 2 / span 10; }
.work .frame { aspect-ratio: 1.85; border-radius: var(--photo-radius); }
.work .frame > img {
  object-fit: cover;
  transform: translateY(var(--photo-shift, 0%)) scale(var(--photo-zoom, 1));
}
.work:not(.has-cover) { border: 1px solid var(--line); border-radius: 19px; background: rgb(131 151 204 / .08); }
.work.is-pending { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 16px; padding: 15px clamp(14px, 2.2cqi, 30px); }
.work.is-pending p { color: var(--muted); font-size: 13px; }
.work-label { padding: 14px 0 0; color: var(--display-color); }
.work:not(.has-cover) .work-label { padding: 15px clamp(14px, 2.2cqi, 30px); }
.work h2 { font: 400 clamp(22px, 3.15cqi, 50px)/1.07 var(--display-font); letter-spacing: -.043em; overflow-wrap: anywhere; text-wrap: balance; }
.work:not(.has-cover) h2 { font-size: clamp(20px, 2.25cqi, 32px); }
.work-link:is(:hover, :focus-visible) h2 { color: white; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

.gallery:not(.gallery-single) { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.gallery:not(.gallery-single) > figure:nth-child(3n + 1) { grid-column: 1 / span 6; }
.gallery:not(.gallery-single) > figure:nth-child(3n + 2) { grid-column: 8 / -1; margin-top: clamp(34px, 10cqi, 148px); }
.gallery:not(.gallery-single) > figure:nth-child(3n) { grid-column: 3 / span 8; }
.gallery:not(.gallery-single) > figure.is-portrait:nth-child(3n) { grid-column: 4 / span 6; }
.gallery-single > figure { max-width: 760px; }
.gallery-single > figure:has(.caption) { max-width: none; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); align-items: start; gap: clamp(24px, 5cqi, 86px); }
.gallery-single .caption { margin-top: clamp(0px, 2cqi, 28px); }
.overview-gallery > figure, .overview-gallery > figure:has(.caption) { max-width: 1080px; width: 100%; margin-inline: auto; }
.overview-gallery > figure:has(.caption) { display: block; }
.overview-gallery .caption { margin: 16px 0 0; padding-inline: var(--prose-inset); }

.heard-body {
  display: grid;
  gap: clamp(36px, 5.5cqi, 102px);
  max-width: 1290px;
  margin: 0 auto clamp(70px, 11cqi, 155px);
  padding: clamp(42px, 6.5cqi, 94px) var(--prose-inset) 0;
  border-top: 1px solid var(--line);
}
.heard-body-heading h2 {
  margin: 0;
  color: var(--display-color);
  font: 400 clamp(35px, 5.6cqi, 78px)/1.02 var(--display-font);
  letter-spacing: -.054em;
  text-wrap: balance;
}
html[lang="zh-CN"] :is(.heard-body-heading h2, .heard-body-quote p) { letter-spacing: 0; }
.heard-body-heading p {
  max-width: 27ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.heard-body-progress { display: none; }
.heard-body-quote {
  margin: 0;
  padding-block: clamp(32px, calc(5cqi + 4px), 70px);
  border-top: 1px solid var(--line);
}
.heard-body-quote:first-child { padding-top: 0; border-top: 0; }
.heard-body-quote:last-child { padding-bottom: 0; }
.heard-body-quote p {
  max-width: 38ch;
  color: var(--display-color);
  font: 400 clamp(21px, 3.15cqi, 40px)/1.38 var(--display-font);
  letter-spacing: -.018em;
  text-wrap: pretty;
}
.heard-body-quote.is-featured { padding-block: clamp(60px, calc(10cqi + 4px), 122px); }

.heard-body-quotes.is-focused::after {
  content: "";
  display: block;
  height: calc(var(--voice-last) * clamp(185px, 40svh, 375px));
}
.is-focused .heard-body-stage {
  position: sticky;
  top: clamp(77px, 15svh, 140px);
  height: min(68svh, 650px);
  display: grid;
  align-items: center;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.is-focused .heard-body-quote {
  grid-area: 1 / 1;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  transform: translateY(var(--voice-offset, 0px));
}
.is-focused .heard-body-quote[data-position="current"] { opacity: 1; z-index: 1; }
.is-focused .heard-body-quote[data-position="near"] { opacity: .3; filter: blur(3px); }
@media (prefers-reduced-motion: no-preference) {
  .is-focused.is-ready .heard-body-quote {
    transition: transform 540ms cubic-bezier(.22, .82, .25, 1), opacity 360ms ease-out, filter 360ms ease-out;
  }
}

@media (min-width: 880px) and (min-height: 560px) and (pointer: fine) {
  .heard-body { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .heard-body-heading { position: sticky; top: max(108px, 17vh); align-self: start; }
  .heard-body-heading h2 { max-width: 11ch; }
  html[lang="zh-CN"] .heard-body-heading h2 { max-width: none; }
  .heard-body:has(.heard-body-quotes.is-focused) .heard-body-progress {
    position: relative;
    display: block;
    width: 2px;
    height: calc(var(--voice-count) * 12px);
    margin-top: 26px;
    border-radius: 999px;
    background: var(--line);
  }
  .heard-body-progress::after {
    position: absolute;
    inset: 0 0 auto;
    height: 12px;
    border-radius: inherit;
    background: #e7d5b6;
    transform: translateY(calc(var(--voice-index, 0) * 100%));
    content: "";
  }
}

.closing-note {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: clamp(24px, 6cqi, 100px);
  border-top: 1px solid var(--line);
  padding: clamp(30px, 5cqi, 76px) var(--prose-inset) 0;
  color: var(--muted);
  font-size: 15px; line-height: 1.65;
  overflow-wrap: anywhere;
}
.closing-note h2 { font: 400 clamp(28px, 4cqi, 56px)/1.07 var(--display-font); letter-spacing: -.047em; color: var(--display-color); }
.closing-note p + p { margin-top: 1em; }
.closing-note strong { color: var(--text); font-weight: 570; }
.closing-note a { color: var(--text); text-underline-offset: .18em; text-decoration: underline; }

.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  border-top: 1px solid var(--line); margin-top: clamp(55px, 9cqi, 130px);
  padding: 24px 0 34px; color: var(--muted); font-size: 13px;
}
.footer-curators { margin-inline-start: auto; text-align: end; }
.lightbox { padding: 0; border: 0; background: rgb(15 17 24 / .96); color: var(--text); width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; }
.lightbox::backdrop { background: rgb(4 7 16 / .6); }
.lightbox figure { display: grid; place-content: center; justify-items: center; min-height: 100%; padding: 62px 58px; }
.lightbox img { display: block; max-width: 100%; max-height: 77vh; max-height: 77dvh; width: auto; height: auto; object-fit: contain; }
.lightbox .caption { text-align: center; white-space: pre-line; font-variant-numeric: tabular-nums; }
.lightbox button { position: absolute; border-radius: 50%; width: 44px; height: 44px; cursor: pointer; font-size: 24px; }
.light-close { top: 12px; right: 12px; }
.light-prev { top: 50%; left: 8px; translate: 0 -50%; }
.light-next { top: 50%; right: 8px; translate: 0 -50%; }
html:has(.lightbox[open]) { overflow: hidden; }

.menu-toggle, .masthead-back, .lightbox button, .masthead nav a[aria-current] {
  border: 1px solid var(--line);
  background: #292c35;
}
.masthead :is(.brand, .masthead-back, nav) { text-shadow: 0 1px 2px rgb(0 0 0 / .78), 0 1px 6px rgb(0 0 0 / .78); }
.masthead nav a:hover { background-color: #333742; }

@container (max-width: 750px) {
  .masthead { padding: 6px 7px 6px 13px; min-height: 56px; column-gap: 8px; }
  .masthead-leading { max-width: none; gap: 8px; }
  .menu-toggle { display: grid; place-items: center; margin-left: auto; }
  .masthead nav {
    position: absolute;
    inset: calc(100% + 8px) 0 auto auto;
    width: max-content;
    max-width: 100%;
    z-index: 1;
    border-radius: 21px;
    display: none;
  }
  .menu-toggle[aria-expanded="true"] + nav { display: block; }
  .menu-surface {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 1px solid var(--line);
    border-radius: inherit;
  }
  .menu-items {
    position: relative;
    z-index: 1;
    display: grid;
    max-height: 72dvh;
    overflow: auto;
    gap: 2px;
    padding: 7px 8px;
  }
  .menu-items > :is(a, .nav-pending) {
    display: block;
    padding: 12px 14px;
    min-height: 44px;
    color: #e5e7ec;
  }
  .masthead nav a { border-radius: 14px; }
}

@container (max-width: 650px) {
  #content { --photo-radius: 18px; --prose-inset: 0px; }
  .headline { letter-spacing: -.05em; }
  .hero-frame { aspect-ratio: 1.43; }
  .cover-stage { min-height: 0; aspect-ratio: 1.34; }
  .cover-title { padding: 24px 5%; font-size: clamp(42px, 11cqi, 78px); }
  .editorial-intro, .closing-note { grid-template-columns: minmax(0, 1fr); padding-inline: 0; }
  .editorial-intro { padding-block: 52px; }
  .index .work.has-cover .work-link { grid-column: 1 / -1; }
  .work:nth-child(3n + 2 of .has-cover) .work-link { margin-left: 10%; }
  .work .frame { aspect-ratio: 1.38; }
  .gallery:not(.gallery-single), .gallery-single > figure:has(.caption) { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .gallery-single:not(.overview-gallery) .caption { margin-top: 0; }
  .gallery:not(.gallery-single) > figure:nth-child(n), .gallery:not(.gallery-single) > figure.is-portrait:nth-child(n) { grid-column: 1; margin-top: 0; }
  .gallery:not(.gallery-single) > figure:nth-child(3n + 1).is-portrait { margin-right: 10%; }
  .gallery:not(.gallery-single) > figure:nth-child(3n + 2).is-portrait { margin-left: 10%; }
}

@container (max-width: 360px) {
  .language-toggle { --language-option-width: 39px; }
}

@media (hover: hover) and (pointer: fine) {
  .masthead-back:hover, .menu-toggle:hover, .lightbox button:hover { background-color: #3b4050; border-color: rgb(248 248 247 / .40); }
  .language-toggle button:hover { color: var(--text); }
}

@media (max-width: 950px) and (pointer: coarse) {
  :root { --frost: blur(6px) brightness(.38); }
}

@media (prefers-reduced-motion: no-preference) {
  .heard-body-progress::after { transition: transform 220ms var(--ease-out); }
  .language-indicator { transition: transform 220ms var(--ease-out); }
  .menu-toggle[aria-expanded="true"] + nav .menu-items { animation: menu-in 200ms var(--ease-out); }
  .menu-toggle span::before, .menu-toggle span::after { transition: transform 190ms var(--ease-out); }
  .masthead-back, .menu-toggle, .masthead nav a, .lightbox button { transition: scale 200ms var(--ease-out), background-color 180ms ease, border-color 180ms ease; }
  .masthead-back:active, .menu-toggle:active, .masthead nav a:active, .lightbox button:active { scale: 1.045 .92; }
  .lightbox[open] figure { animation: viewer-in 240ms var(--ease-out); }
  @keyframes menu-in {
    from { opacity: .65; translate: 0 -7px; }
  }
  @keyframes viewer-in { from { opacity: .6; scale: .985; } }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 950px) and (pointer: coarse) {
  .menu-toggle[aria-expanded="true"] + nav .menu-items { animation: touch-menu-in 150ms var(--ease-out); }
  @keyframes touch-menu-in { from { opacity: .8; translate: 0 -4px; } }
}

@media (prefers-reduced-transparency: reduce), (prefers-contrast: more), (forced-colors: active) {
  .dock-surface, .menu-surface { background: #22252d; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .dock-surface, .menu-surface { background: #22252d; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .language-indicator { background: #49546d; }
}

@media (forced-colors: active) {
  .language-toggle button[aria-pressed="true"] { color: Highlight; }
  .language-indicator { border-color: Highlight; }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .work .frame > img, .photo img { transition: scale 220ms var(--ease-out); }
  .work-link:hover .frame > img, .photo:hover img { scale: 1.02; }
  .photo:active img { scale: 1.01; }
}
