:root {
  color-scheme: dark;
  background: #000;
  color: #f5f5f5;
  font-family: "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  --edge: clamp(20px, 5vw, 84px);
  --gap: clamp(28px, 5vw, 86px);
  --rule: #363636;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
a:focus-visible { outline: 1px solid #fff; outline-offset: 5px; }
main, .project-nav, .detail-footer { width: min(100% - 2 * var(--edge), 1440px); margin-inline: auto; }
.project-nav, .detail-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  font-size: 13px;
  color: #aaa;
}
.project-nav { border-bottom: 1px solid var(--rule); }
.detail-hero, .project-section {
  display: grid;
  grid-template-columns: minmax(230px, .62fr) minmax(0, 1.38fr);
  gap: var(--gap);
  align-items: start;
}
.detail-hero { margin-block: clamp(34px, 8vh, 90px) clamp(30px, 5vw, 68px); }
.detail-title { align-self: end; padding-bottom: 8px; }
h1 {
  margin: 14px 0 0;
  font-weight: 400;
  font-size: clamp(37px, 5vw, 82px);
  line-height: .98;
  letter-spacing: -.062em;
  overflow-wrap: anywhere;
}
h1[lang="zh-Hans"] { font-size: clamp(35px, 4.35vw, 71px); line-height: 1.12; letter-spacing: -.058em; }
.medium, .detail-footer span { color: #aaa; font: 12px/1.5 "IBM Plex Mono", Consolas, monospace; }
.subtitle { color: #bcbcbc; font-size: clamp(15px, 1.7vw, 23px); margin: 17px 0 0; }
figure { margin: 0; }
img, video { display: block; width: 100%; max-width: 100%; height: auto; background: #111; }
.detail-lead {
  max-width: 63ch;
  margin: 0 0 clamp(52px, 9vw, 118px);
  font-size: clamp(17px, 1.85vw, 25px);
  line-height: 1.6;
  color: #ddd;
}
.detail-lead[lang="zh-Hans"], .section-text [lang="zh-Hans"] { max-width: 36em; line-height: 1.8; }
.detail-lead p, .section-text p { margin: 0 0 1em; }
.project-section { border-top: 1px solid var(--rule); padding-block: clamp(20px, 3vw, 39px) clamp(42px, 7vw, 95px); }
.section-text h2 { font-size: clamp(18px, 2.1vw, 28px); font-weight: 400; letter-spacing: -.025em; margin: 0 0 18px; }
.section-text p { color: #c8c8c8; font-size: 15px; line-height: 1.65; }
.project-section:has(.section-text:only-child) .section-text { max-width: 660px; grid-column: 1 / -1; }
.detail-images { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.detail-images figure:only-child { grid-column: span 2; }
video { aspect-ratio: 16/9; }
.detail-footer { border-top: 1px solid var(--rule); }
.detail-footer a:last-child { display: grid; gap: 3px; text-align: right; }
.detail-footer strong { color: #fff; font-size: 15px; font-weight: 400; }
@media (max-width: 760px) {
  .detail-hero, .project-section { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  .detail-hero { margin-top: 30px; }
  .detail-title { padding-bottom: 2px; }
  .detail-lead { margin-bottom: 48px; }
  .section-text h2 { margin-bottom: 10px; }
}
@media (max-width: 460px) {
  .detail-images { grid-template-columns: minmax(0, 1fr); }
  .detail-images figure:only-child { grid-column: auto; }
}
