/* Preserve the original immersive exhibition, now on a dedicated page. */
body.standalone-exhibition{display:block;position:relative;min-height:100dvh}body.standalone-exhibition .viewer-bar{display:flex;justify-content:space-between;align-items:center;gap:20px}.viewer-back{color:#f6eee0;font:12px system-ui;letter-spacing:.12em}.viewer-back:hover{color:#dfc1a0}.standalone-title{font-family:'Noto Serif SC','Songti SC',serif;font-size:clamp(30px,3.4vw,52px);font-weight:400;letter-spacing:.08em;line-height:1.3;margin:17px 0 20px}.standalone-exhibition .detail-info h2{font-size:22px;font-weight:400;letter-spacing:.12em;margin:0}.standalone-exhibition .detail-player[hidden]{display:none}.standalone-exhibition .detail-player.active{display:flex}@media(max-width:760px){body.standalone-exhibition{height:auto;min-height:100dvh;overflow:auto}.standalone-exhibition .viewer-grid-immersive{padding-bottom:30px}.standalone-exhibition .detail-info h2{font-size:18px}.standalone-exhibition .viewer-bar span{font-size:8px}}
.standalone-exhibition .viewer-grid{position:relative;z-index:2}.standalone-exhibition .detail-player{z-index:8}
/* Keep the close control in the upper-right of every project. */
body.standalone-exhibition .viewer-bar{flex-direction:row-reverse}body.standalone-exhibition .viewer-back{white-space:nowrap}body.standalone-exhibition .viewer-back span{font-size:19px;line-height:0;vertical-align:-1px;margin-left:5px}

body#exhibit-viewer.standalone-exhibition { width:100%; min-height:100dvh; height:auto; overflow-x:hidden; }
.work-page { position:relative; z-index:2; max-width:1440px; margin:auto; padding:clamp(60px,11vh,135px) clamp(22px,6vw,100px); }
.work-feature { display:grid; grid-template-columns:minmax(220px,1fr) minmax(0,2.15fr); align-items:center; gap:clamp(24px,5vw,80px); }
.work-copy p:not(.viewer-kicker) { max-width:26em; color:#f4eee3; line-height:1.85; font-family:system-ui,sans-serif; }
.work-feature video { display:block; width:100%; aspect-ratio:16/9; background:#0c1418; border:1px solid #ffffff55; box-shadow:0 22px 54px #07111788; }
@media(max-width:820px) {
  .work-page { padding-top:82px; }
  .work-feature { grid-template-columns:1fr; }
}

.work-collection { margin-top: clamp(42px, 8vw, 100px); }
.collection-title {
  font: 400 clamp(22px, 3vw, 34px)/1.4 "Noto Serif SC", "Songti SC", serif;
  margin: 0 0 22px;
}
.video-grid, .portrait-grid {
  display: grid;
  gap: clamp(18px, 3vw, 38px);
}
.video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portrait-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-card {
  align-self: start;
  min-width: 0;
  padding: clamp(12px, 2vw, 22px);
  border: 1px solid #ffffff35;
  background: #0d1b22c9;
}
.work-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.work-card h2 { margin: 0; font: 500 clamp(16px, 2.2vw, 22px)/1.4 system-ui, sans-serif; }
.work-duration { color: #ded5c8; font: 12px/1.3 system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.work-card video { display: block; width: 100%; height: auto; background: #091116; }
.portrait-card {
  display: block;
  background: #15191a;
  border: 1px solid #ffffff35;
}
.portrait-card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; }
.portrait-card:hover, .portrait-card:focus-visible { border-color: #f4eee3; }
.portrait-dialog {
  inset: 0;
  width: fit-content;
  max-width: 94vw;
  overflow: hidden;
  max-height: 94dvh;
  margin: auto;
  padding: 12px;
  border: 1px solid #ffffff55;
  color: #f4eee3;
  background: #10191d;
}
.portrait-dialog::backdrop { background: #05090de6; }
.portrait-dialog form { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.portrait-dialog button { padding: 6px 12px; border: 1px solid #ffffff55; color: inherit; background: transparent; cursor: pointer; }
.portrait-dialog img { display: block; max-width: min(calc(94vw - 26px), 1300px); max-height: calc(92dvh - 68px); object-fit: contain; }
@media (max-width:760px) {
  .portrait-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width:620px) {
  .video-grid { grid-template-columns: minmax(0, 1fr); }
}
