:root {
  color-scheme: light;
  --bg: #fff;
  --fg: #0a0a0a;
  --muted: #777;
  --line: #d7d7d7;
  --soft: #f6f6f6;
  --focus: #111;
  --max: 1320px;
  --content-max: 1320px;
  --media-max: 1500px;
  --reading-max: 720px;
  --text-primary: #0a0a0a;
  --text-secondary: #444;
  --text-tertiary: #767676;
  --border-subtle: #dedede;
  --border-strong: #aaa;
  --surface-muted: #f6f6f6;
  --surface-hover: #f1f1f1;
  --interactive-selected: #0a0a0a;
  --icon-inline: 16px;
  --icon-control: 18px;
  --control-size: 40px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --motion-fast: 120ms;
  --motion-standard: 180ms;
  --motion-slow: 280ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-emphasized: cubic-bezier(0.2, 0.8, 0.2, 1);
  --body-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --article-title-font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --display-font: "New York Large", "New York", "Iowan Old Style", Georgia, serif;
  --work-title-font: "New York Large", "New York", "Nanum Myeongjo", "NanumMyeongjo", "AppleMyungjo", "Iowan Old Style", Georgia, serif;
  font-family: var(--body-font);
}

* {
  box-sizing: border-box;
}

picture {
  display: contents;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--fg);
  font-size: 15px;
  line-height: 1.42;
  letter-spacing: 0;
}

.route-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 2px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform 520ms ease, opacity 180ms ease;
}

.route-progress.active {
  opacity: 1;
  transform: scaleX(0.72);
}

.route-progress.done {
  opacity: 0;
  transform: scaleX(1);
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  color: inherit;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.frame {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  isolation: isolate;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(247, 250, 255, 0.34));
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(80, 96, 120, 0.08),
    0 8px 28px rgba(31, 43, 61, 0.06);
  -webkit-backdrop-filter: blur(22px) saturate(175%) contrast(104%);
  backdrop-filter: blur(22px) saturate(175%) contrast(104%);
}

.topbar::before,
.topbar::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.topbar::before {
  background:
    radial-gradient(90% 180% at 12% -80%, rgba(255, 255, 255, 0.88), transparent 56%),
    radial-gradient(55% 150% at 84% 160%, rgba(190, 213, 246, 0.18), transparent 70%);
  mix-blend-mode: screen;
}

.topbar::after {
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

.nav {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr);
  align-items: center;
  min-height: 44px;
  gap: 24px;
}

.brand {
  font-family: var(--display-font);
  font-size: 17px;
  font-weight: 560;
  text-decoration: none;
  min-width: 0;
  color: var(--fg);
}

.nav-center,
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-center {
  justify-content: center;
}

.nav-center a {
  font-family: var(--body-font);
  text-transform: uppercase;
}

.nav-right {
  justify-content: flex-end;
  gap: 8px;
}

.nav a,
.nav button {
  border: 0;
  background: transparent;
  padding: 0;
  color: #8a8a8a;
  cursor: pointer;
  font-weight: 520;
  text-decoration: none;
  white-space: nowrap;
}

.nav .brand {
  color: var(--fg);
}

.nav a:hover,
.nav button:hover,
.nav .active {
  color: var(--fg);
}

.nav-icon {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-icon:hover {
  background: #f1f1f1;
  transform: translateY(-1px);
}

.nav-icon .view-icon {
  width: 18px;
  height: 18px;
}

.detail-title-bar {
  position: fixed;
  top: 44px;
  left: 0;
  right: 0;
  z-index: 9;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-8px);
  transition: top var(--motion-standard) var(--ease-emphasized), opacity 160ms ease, transform 160ms ease;
}

.detail-title-bar.visible {
  opacity: 1;
  transform: translateY(0);
}

.detail-title-bar .frame {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding-top: 0;
  padding-bottom: 0;
}

.detail-title-bar span {
  display: block;
  max-width: 920px;
  color: #000;
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 520;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
}

.search-panel.open {
  display: block;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.search-form input {
  border: 0;
  border-radius: 0;
  padding: 6px 0;
  font-size: 18px;
}

.search-form input:focus,
.search-form input:focus-visible {
  border-color: transparent;
  outline: none;
  box-shadow: none;
}

.search-form button {
  border: 0;
  background: transparent;
  color: #777;
  cursor: pointer;
}

.search-results {
  display: grid;
  gap: 0;
  max-height: min(56vh, 520px);
  overflow: auto;
  padding-bottom: 10px;
}

.search-result {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 14px 0;
  text-align: left;
  cursor: pointer;
}

.search-result span {
  color: #777;
}

.search-result strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display-font);
  font-size: 16px;
  font-weight: 520;
}

.search-result small {
  display: block;
  color: #555;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.search-empty {
  padding: 18px 0 22px;
  color: #777;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.page.detail-mode .section-head:has(.section-tools) {
  display: none;
}

.page.detail-mode .page-title {
  display: none;
}

.home-collage {
  min-height: calc(100vh - 44px);
}

.home-collage .hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - 44px);
  padding: 28px 0;
  place-items: center;
}

.home-collage .hero-inner[hidden] { display: none !important; }

.home-empty {
  position: absolute;
  inset: 50% auto auto 50%;
  margin: 0;
  color: var(--text-tertiary);
  font-size: 12px;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.home-collage.featured-mode {
  min-height: calc(100svh - 44px);
}

.home-featured {
  position: relative;
  min-height: calc(100svh - 44px);
  overflow: hidden;
  isolation: isolate;
  background: #111;
  color: #fff;
}

.home-featured-media,
.home-featured::after {
  position: absolute;
  inset: 0;
}

.home-featured::after {
  z-index: 1;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, .32) 100%);
}

.home-featured.overlay-none::after { background: transparent; }
.home-featured.overlay-light::after { background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .18)); }
.home-featured.overlay-strong::after { background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .52)); }
.home-featured.tone-black { color: #111; }
.home-featured.tone-black::after { background: linear-gradient(180deg, transparent 48%, rgba(255, 255, 255, .42)); }
.home-featured.tone-black.overlay-none::after { background: transparent; }
.home-featured.tone-black.overlay-light::after { background: linear-gradient(180deg, transparent 55%, rgba(255, 255, 255, .2)); }
.home-featured.tone-black.overlay-strong::after { background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .64)); }

.home-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--home-focus-x, 50%) var(--home-focus-y, 50%);
}

.home-media-mobile { display: none; }

.home-featured-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(100svh - 44px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 22px;
  padding-top: 48px;
  padding-bottom: clamp(36px, 5vw, 72px);
}

.home-featured-copy h1 {
  max-width: 1050px;
  color: inherit;
  font-family: var(--display-font);
  font-size: clamp(32px, 4.2vw, 64px);
  font-weight: 500;
  line-height: .98;
  text-wrap: balance;
}

.home-featured-copy a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .home-collage.featured-mode,
  .home-featured,
  .home-featured-copy { min-height: calc(100svh - 122px); }
  .home-media-desktop:has(+ .home-media-mobile) { display: none; }
  .home-media-mobile { display: block; object-position: var(--home-mobile-focus-x, 50%) var(--home-mobile-focus-y, 50%); }
  .home-featured-copy { gap: 24px; padding-top: 32px; padding-bottom: 38px; }
  .home-featured-copy h1 { max-width: 92%; font-size: clamp(26px, 8vw, 42px); line-height: 1.02; }
  .home-featured-copy a { font-size: 14px; }
}

.collage-stage {
  position: relative;
  width: min(76vh, 76vw, 760px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.collage-piece {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  aspect-ratio: var(--ratio);
  border: 0;
  background: transparent;
  padding: 0;
  transform: translate(-50%, -50%) rotate(var(--rotate));
  cursor: pointer;
  clip-path: var(--clip);
  overflow: hidden;
}

.collage-piece img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus);
  transform: scale(var(--zoom));
  transition: transform 260ms ease;
}

.collage-piece:hover img,
.collage-piece:focus-visible img {
  transform: scale(calc(var(--zoom) + 0.08));
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  min-height: 320px;
  align-items: end;
  padding-top: 56px;
  padding-bottom: 34px;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-family: var(--display-font);
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 560;
}

.intro {
  max-width: 520px;
  margin: 0;
  color: #222;
  font-size: 16px;
}

.section-head {
  display: block;
  align-items: baseline;
  padding: 24px 0 14px;
  border-bottom: 1px solid var(--line);
}

.section-head:has(.section-tools) {
  position: sticky;
  top: 44px;
  z-index: 8;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  transition: top var(--motion-standard) var(--ease-emphasized);
}

.frame.page-title {
  padding: 54px 0 34px;
  border-bottom: 1px solid var(--line);
}

.page-title h1 {
  font-family: var(--display-font);
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 520;
}

.section-head h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 15px;
  font-weight: 560;
}

.section-tools {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  min-width: 0;
}

.filters {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  color: #9a9a9a;
  font-weight: 500;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filters button {
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.filters .selected {
  color: var(--fg);
}

.view-options {
  display: flex;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.view-options button {
  border: 0;
  background: transparent;
  width: 32px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #777;
  cursor: pointer;
}

.view-options button + button {
  border-left: 1px solid var(--line);
}

.view-options .selected {
  background: #f3f3f3;
  color: var(--fg);
}

.view-icon {
  width: 14px;
  height: 14px;
  display: block;
}

.view-icon rect,
.view-icon line,
.view-icon path {
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.index-list {
  padding: 16px 0 70px;
}

.index-row {
  display: grid;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.work-row {
  grid-template-columns: minmax(260px, 1fr) minmax(110px, 0.3fr) minmax(70px, 0.18fr);
}

.exhibition-row {
  grid-template-columns: minmax(260px, 1.25fr) minmax(190px, 0.75fr) minmax(260px, 1fr) minmax(120px, 0.45fr);
}

.exhibition-index-list .exhibition-row {
  min-height: 58px;
  align-items: baseline;
  transition: background-color var(--motion-fast) var(--ease-standard);
}

.exhibition-index-list .exhibition-row:hover,
.exhibition-index-list .exhibition-row:focus-visible {
  background: var(--surface-muted);
}

.article-row {
  grid-template-columns: minmax(260px, 1.1fr) minmax(360px, 1.5fr) minmax(90px, 0.25fr);
}

.article-list {
  display: grid;
  padding: 18px 0 72px;
}

.article-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(108px, 18vw);
  gap: 32px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: opacity 180ms ease;
}

.article-list-row.no-cover {
  grid-template-columns: minmax(0, 1fr);
}

.article-list-text {
  max-width: 760px;
}

.article-list-text h3 {
  margin: 0;
  font-family: var(--article-title-font);
  font-size: 22px;
  line-height: 1.12;
  font-weight: 540;
}

.article-list-text p {
  margin: 12px 0 0;
  color: #333;
  font-size: 15px;
  line-height: 1.48;
}

.article-list-image {
  justify-self: end;
  width: min(160px, 18vw);
  height: 104px;
}

.article-list-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right top;
}

.index-row strong {
  font-family: var(--work-title-font);
  font-size: 15px;
  font-weight: 520;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.index-row span {
  color: #333;
  font-size: 15px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.index-row .muted {
  color: #777;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 62px;
  padding: 28px 0 68px;
}

.work-card {
  min-width: 0;
  cursor: pointer;
  display: grid;
  gap: 0;
  text-align: center;
  transition: top var(--motion-standard) var(--ease-emphasized), opacity 180ms ease, transform 180ms ease;
}

.work-card .thumb {
  margin-bottom: 20px;
}

.article-grid {
  align-items: start;
}

.article-card {
  transition: opacity 180ms ease, transform 180ms ease;
}

.article-card:hover,
.article-card:focus-visible {
  opacity: 0.72;
  transform: translateY(-2px);
}

.article-card.no-cover {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.article-card.no-cover .thumb {
  display: none;
}

.article-card .meta {
  color: #555;
  line-height: 1.45;
}

.thumb {
  width: 100%;
  display: block;
  margin-bottom: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1.32;
  height: auto;
  background: transparent;
  object-fit: contain;
}

.no-image {
  color: #aaa;
  font-size: 13px;
}

.kicker {
  margin: 0 0 8px;
  font-size: 13px;
  color: #202020;
}

.work-card h3,
.list-item h3 {
  margin: 0;
  font-family: var(--work-title-font);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 520;
}

.work-card .meta {
  margin: 4px 0 0;
  font-size: 12px;
}

.meta {
  margin: 12px 0 0;
  color: #222;
  white-space: pre-line;
  font-size: 14px;
}

.desc {
  margin: 12px 0 0;
  color: #202020;
  font-size: 14px;
}

.list {
  padding: 18px 0 70px;
}

.list-item {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr);
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.list-item[role="button"] {
  cursor: pointer;
}

.exhibition-item {
  grid-template-columns: minmax(130px, 0.22fr) minmax(0, 0.42fr) minmax(0, 1fr);
  align-items: start;
}

.exhibition-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px 82px;
  padding: 46px 0 82px;
}

.exhibition-list-card {
  display: grid;
  grid-template-columns: minmax(130px, 0.43fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  min-width: 0;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease;
}

.exhibition-list-image {
  display: grid;
  width: 100%;
  aspect-ratio: 1.32;
  place-items: center;
  background: #f3f3f3;
  color: #777;
  font-size: 13px;
  overflow: hidden;
}

.exhibition-list-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exhibition-list-copy {
  min-width: 0;
  padding-top: 2px;
}

.exhibition-list-copy h3 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 21px;
  line-height: 1.12;
  font-weight: 420;
  overflow-wrap: anywhere;
}

.exhibition-list-copy .subtitle {
  margin: 7px 0 0;
  font-size: 11px;
  font-style: italic;
  line-height: 1.18;
  color: #222;
}

.exhibition-list-copy .date {
  margin: 48px 0 0;
  font-size: 13px;
  line-height: 1.35;
}

.exhibition-list-copy .venue {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.poster {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
}

.exhibition-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.exhibition-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.source-link {
  display: inline-block;
  margin-top: 14px;
  color: #777;
  font-size: 13px;
}

.exhibition-detail {
  padding-bottom: 88px;
}

.exhibition-viewer .frame {
  max-width: 1500px;
}

.work-detail-viewer .work-viewer-bar.frame,
.exhibition-viewer .work-viewer-bar.frame {
  position: fixed;
  top: 44px;
  right: auto;
  left: 50%;
  margin-left: 0;
  width: min(100%, 1500px);
  max-width: 1500px;
  padding-right: 28px;
  padding-left: 28px;
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  isolation: isolate;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.work-detail-viewer .work-viewer-bar.frame::before,
.exhibition-viewer .work-viewer-bar.frame::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.work-detail-viewer.chrome-visible .work-viewer-bar.frame,
.exhibition-viewer.chrome-visible .work-viewer-bar.frame {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.exhibition-hero {
  padding: 38px 0 24px;
  border-bottom: 1px solid var(--line);
}

.exhibition-viewer .exhibition-hero {
  border-bottom: 0;
}

.exhibition-hero h1 {
  max-width: 980px;
  font-size: clamp(25px, 4.2vw, 52px);
  line-height: 0.95;
  font-weight: 520;
}

.exhibition-hero .subtitle {
  margin: 4px 0 0;
  max-width: 880px;
  font-family: var(--display-font);
  font-size: clamp(28px, 4.3vw, 56px);
  line-height: 1;
  font-weight: 520;
}

.exhibition-hero-meta {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(150px, 0.24fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 26px;
  max-width: 1080px;
  color: #222;
  font-size: 16px;
}

.exhibition-hero-meta p {
  margin: 0;
}

.exhibition-anchor-nav {
  position: sticky;
  top: 44px;
  z-index: 8;
  display: flex;
  gap: 28px;
  width: 100%;
  max-width: none;
  margin-left: 0;
  padding: 14px 0;
  isolation: isolate;
  transition: top 180ms ease;
}

.exhibition-anchor-nav::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.exhibition-viewer.chrome-visible .exhibition-anchor-nav {
  top: 103px;
}

.exhibition-anchor-nav button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  padding: 0;
  color: #777;
  cursor: pointer;
  font-size: 14px;
  font-weight: 520;
  text-decoration: none;
}

.exhibition-anchor-nav button:hover,
.exhibition-anchor-nav button:focus-visible {
  color: var(--fg);
}

.exhibition-anchor-nav button.active {
  color: var(--fg);
}

.exhibition-section {
  display: grid;
  grid-template-columns: minmax(150px, 0.22fr) minmax(0, 1fr);
  gap: 44px;
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 168px;
}

.exhibition-section h2 {
  position: sticky;
  top: 160px;
  align-self: start;
  margin: 0;
  font-family: var(--display-font);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 520;
}

.installation-view-list {
  display: grid;
  gap: 54px;
}

.installation-view figure,
.exhibited-work figure {
  margin: 0;
}

.installation-view img {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  object-position: left top;
}

.installation-view figcaption,
.exhibited-work figcaption {
  margin-top: 10px;
  color: #555;
  font-size: 13px;
  line-height: 1.35;
}

.exhibited-work-list {
  display: flex;
  gap: 24px;
  align-items: start;
  overflow-x: auto;
  padding: 0 0 14px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.exhibited-work-list::-webkit-scrollbar {
  display: none;
}

.exhibited-work-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  grid-template-areas:
    "previous stage next"
    ". thumbnails .";
  gap: 24px 18px;
  align-items: center;
  min-width: 0;
  --exhibited-thumb-height: clamp(220px, 22vw, 300px);
  --exhibited-card-width: clamp(210px, 28vw, 340px);
}

.exhibited-work-carousel-button {
  position: static;
  top: auto;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #777;
  cursor: pointer;
  font-size: 16px;
  transition: color 160ms ease, border-color 160ms ease;
}

.exhibited-work-carousel-button:hover,
.exhibited-work-carousel-button:focus-visible {
  border-color: #000;
  color: #000;
}

.exhibited-work-carousel-button.previous {
  grid-area: previous;
  justify-self: start;
  left: 8px;
}

.exhibited-work-carousel-button.next {
  grid-area: next;
  justify-self: end;
  right: 8px;
}

.exhibited-work-stage {
  grid-area: stage;
  min-width: 0;
}

.exhibited-work-slide {
  display: none;
  grid-template-columns: minmax(0, 1.25fr) minmax(210px, 0.75fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  width: min(100%, 920px);
  margin: 0 auto;
}

.exhibited-work-slide.active {
  display: grid;
}

.exhibited-work-slide.linked-work {
  border: 0;
  padding: 0;
  cursor: pointer;
}

.exhibited-work-slide-media {
  height: clamp(340px, 42vw, 580px);
  min-width: 0;
  background: var(--soft);
}

.exhibited-work-slide-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.exhibited-work-slide-info {
  padding-bottom: 4px;
}

.exhibited-work-slide-info h3 {
  margin: 0 0 8px;
  font-family: var(--work-title-font);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 520;
  line-height: 1.05;
}

.exhibited-work-slide-info p {
  margin: 0;
  color: #333;
  font-size: 14px;
}

.exhibited-work-thumbnails {
  grid-area: thumbnails;
  display: flex;
  gap: 10px;
  justify-content: center;
  min-width: 0;
  overflow-x: auto;
  padding: 0 0 4px;
  scrollbar-width: none;
}

.exhibited-work-thumbnails::-webkit-scrollbar {
  display: none;
}

.exhibited-work-thumbnail {
  flex: 0 0 54px;
  width: 54px;
  height: 68px;
  border: 1px solid transparent;
  background: var(--soft);
  padding: 3px;
  cursor: pointer;
  opacity: 0.5;
  transition: border-color 160ms ease, opacity 160ms ease;
}

.exhibited-work-thumbnail.active,
.exhibited-work-thumbnail:hover,
.exhibited-work-thumbnail:focus-visible {
  border-color: #000;
  opacity: 1;
}

.exhibited-work-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.exhibited-work {
  display: grid;
  flex: 0 0 var(--exhibited-card-width);
  gap: 14px;
  align-self: start;
  align-content: start;
  scroll-snap-align: start;
}

.exhibited-work figure {
  display: grid;
  grid-template-rows: var(--exhibited-thumb-height) auto;
  width: 100%;
  align-content: start;
}

.exhibited-work.linked-work {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.exhibited-work img {
  display: block;
  width: 100%;
  height: var(--exhibited-thumb-height);
  background: var(--soft);
  object-fit: cover;
  object-position: center;
}

.exhibited-work-placeholder {
  display: grid;
  height: var(--exhibited-thumb-height);
  place-items: center;
  border: 1px solid var(--line);
  color: #777;
  font-size: 14px;
}

.exhibited-work h3 {
  display: -webkit-box;
  min-height: 2.3em;
  margin: 0 0 4px;
  overflow: hidden;
  font-family: var(--display-font);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 520;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.exhibited-work p {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.42;
}

.exhibition-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.38fr);
  gap: 46px;
  align-items: start;
}

.exhibition-about-copy {
  max-width: 780px;
}

.exhibition-about-copy p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.55;
}

.exhibition-about-copy p:last-child {
  margin-bottom: 0;
}

.exhibition-facts {
  display: grid;
  gap: 16px;
  padding-top: 2px;
}

.exhibition-facts div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: #222;
  font-size: 14px;
  line-height: 1.38;
}

.exhibition-facts span {
  display: block;
  margin-bottom: 5px;
  color: #777;
  font-size: 12px;
}

.address {
  margin: 10px 0 0;
  color: #555;
  font-size: 14px;
}

.detail {
  padding: 24px 0 78px;
}

.detail-back {
  border: 0;
  background: transparent;
  padding: 0;
  color: #777;
  cursor: pointer;
  margin-bottom: 26px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.detail-media img {
  display: block;
  width: 100%;
  height: auto;
}

.detail-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.detail-media-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.detail-media-grid img:first-child {
  grid-column: 1 / -1;
}

.detail-copy h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  font-weight: 520;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  margin: 28px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-meta span {
  display: block;
  color: #777;
  font-size: 13px;
  margin-bottom: 4px;
}

.detail-text {
  max-width: 780px;
  font-size: 16px;
  line-height: 1.5;
}

.work-viewer {
  min-height: calc(100vh - 45px);
  background: #fff;
}

.work-viewer-bar {
  position: sticky;
  top: 44px;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 60px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.work-viewer-title {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  max-width: 100%;
  min-width: 0;
  min-height: 24px;
  overflow: hidden;
  font-family: var(--work-title-font);
  font-size: 14px;
  font-weight: 560;
  line-height: 24px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.work-viewer-title span {
  margin-left: 8px;
  color: #444;
  font-family: var(--work-title-font);
  font-weight: 420;
}

.work-detail-viewer .work-viewer-bar,
.exhibition-viewer .work-viewer-bar {
  height: 60px;
}

.work-detail-viewer .work-viewer-title,
.exhibition-viewer .work-viewer-title {
  font-family: var(--work-title-font);
}

.work-viewer-close {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 24px;
  height: 24px;
  min-height: 24px;
  border: 0;
  background: transparent;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  flex: 0 0 24px;
  align-self: center;
}

.work-viewer-close-label {
  display: none;
}

.work-viewer-close-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  color: #8a8a8a;
  font-size: 0;
  line-height: 0;
  transition: color 160ms ease;
}

.work-viewer-close-icon::before,
.work-viewer-close-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  background: currentColor;
  transform-origin: center;
}

.work-viewer-close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.work-viewer-close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.work-viewer-close:hover .work-viewer-close-icon,
.work-viewer-close:focus-visible .work-viewer-close-icon {
  color: #000;
}

.work-viewer-layout {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 52px;
  align-items: start;
  padding: 28px 0 62px;
}

.work-viewer-thumbs {
  position: sticky;
  top: 128px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.work-viewer-thumb {
  border: 1px solid transparent;
  background: #f6f6f6;
  padding: 0;
  cursor: pointer;
}

.work-viewer-thumb.active {
  border-color: #000;
}

.work-viewer-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.work-viewer-images {
  display: grid;
  gap: 28px;
  justify-items: center;
}

.work-viewer-figure {
  width: 100%;
  margin: 0;
}

.work-viewer-figure img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 126px);
  object-fit: contain;
}

.work-viewer-figure figcaption {
  margin-top: 10px;
  color: #555;
  text-align: center;
  font-size: 13px;
}

.work-viewer-info {
  position: sticky;
  top: 128px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.work-viewer-info h1 {
  margin: 0;
  font-family: var(--work-title-font);
  font-size: 24px;
  line-height: 1;
  font-weight: 560;
  text-transform: uppercase;
}

.work-viewer-info h2 {
  margin: 0 0 6px;
  font-family: var(--work-title-font);
  font-size: 24px;
  font-style: normal;
  font-weight: 520;
  line-height: 1;
}

.work-viewer-facts {
  display: grid;
  gap: 2px;
  color: #333;
  font-size: 14px;
  line-height: 1.1;
}

.work-viewer-facts p {
  margin: 0;
}

.work-viewer-info .detail-text {
  font-size: 14px;
  line-height: 1.25;
}

.work-viewer-info .detail-text p,
.work-viewer-mobile-info-body .detail-text p {
  margin: 0 0 8px;
}

.work-viewer-mobile-info {
  display: none;
}

.rich-content p,
.article-text p {
  margin: 0 0 18px;
}

.rich-content p:last-child,
.article-text p:last-child {
  margin-bottom: 0;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
  margin: 28px 0 12px;
  font-family: var(--body-font);
  line-height: 1.25;
}

.rich-content h2 {
  font-size: 22px;
}

.rich-content h3 {
  font-size: 19px;
}

.rich-content h4 {
  font-size: 17px;
}

.rich-content ul,
.rich-content ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

.rich-content blockquote {
  margin: 24px 0;
  padding-left: 18px;
  border-left: 2px solid var(--fg);
  color: #444;
}

.rich-content a {
  text-decoration: underline;
}

.rich-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px 0;
}

.rich-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.rich-content th,
.rich-content td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.article-detail {
  display: grid;
  gap: 44px;
  max-width: 920px;
}

.article-detail-copy h2 {
  margin: 0;
  max-width: 880px;
  font-family: var(--article-title-font);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 560;
}

.article-detail-copy .article-text {
  margin-top: 24px;
  max-width: 760px;
}

.article-detail-media {
  display: grid;
  gap: 22px;
  max-width: 760px;
}

.article-detail-media img {
  display: block;
  width: 100%;
  height: auto;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.detail-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.work-gallery {
  margin-top: 28px;
}

.date {
  color: #777;
  font-weight: 500;
}

.bio {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr);
  gap: 28px;
  padding: 34px 0 78px;
}

.bio p {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.48;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 42px;
  color: #777;
  font-family: var(--display-font);
  font-size: 13px;
}

.footer .frame {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-name {
  color: var(--fg);
}

.footer-social {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: var(--fg);
  text-decoration: none;
}

.footer-social svg {
  display: block;
  width: 16px;
  height: 16px;
}

.studio {
  display: none;
  background: #fff;
}

.studio.active {
  display: block;
}

.site.hidden {
  display: none;
}

.studio-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.login-card {
  width: min(100%, 420px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0 30px;
}

.login-card h1 {
  margin-bottom: 22px;
  font-size: 36px;
}

.login-error {
  min-height: 20px;
  margin: 0;
  color: #9b1c1c;
  font-size: 13px;
}

.studio-app {
  min-height: 100vh;
}

.studio-login.hidden,
.studio-app.hidden,
.site-logout.hidden {
  display: none;
}

.studio-top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 28px 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.studio-top h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1;
}

.studio-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.icon-btn {
  border: 0;
  background: transparent;
  padding: 4px;
  cursor: pointer;
  color: #777;
}

.icon-btn:hover {
  color: var(--fg);
}

.studio-tabs {
  grid-column: 1 / -1;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-top: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.studio-tabs::-webkit-scrollbar {
  display: none;
}

.studio-tabs button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  border-bottom: 2px solid transparent;
  padding: 0 0 11px;
  color: #777;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}

.studio-tabs .picked {
  color: var(--fg);
  font-weight: 560;
  border-bottom-color: var(--fg);
}

.studio-tabs button:focus:not(:focus-visible) {
  outline: none;
}

.panel {
  padding: 28px 34px 70px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.panel-head h1 {
  font-size: 30px;
  line-height: 1.05;
  font-weight: 560;
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding-top: 18px;
}

.admin-controls input,
.admin-controls select {
  min-height: 38px;
  padding: 8px 10px;
}

.admin-summary {
  color: #777;
  font-size: 13px;
  white-space: nowrap;
}

.btn {
  min-height: 38px;
  border: 1px solid var(--fg);
  border-radius: 4px;
  background: var(--fg);
  color: #fff;
  padding: 8px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn:not(:disabled):hover {
  transform: translateY(-1px);
}

.btn.secondary {
  background: #fff;
  color: var(--fg);
}

.btn.secondary.picked {
  background: var(--fg);
  color: #fff;
}

.btn.ghost {
  border-color: var(--line);
  background: #fff;
  color: #555;
}

.btn.small {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 13px;
}

.btn.danger {
  border-color: #aaa;
  background: #fff;
  color: #555;
}

.btn:disabled {
  border-color: #cfcfcf;
  background: #f4f4f4;
  color: #999;
  cursor: default;
}

.editor {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(360px, 1.18fr);
  gap: 28px;
  padding-top: 24px;
}

.admin-table-wrap {
  overflow-x: auto;
  padding-top: 18px;
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: auto;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 12px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  font-weight: 420;
}

.admin-table th {
  color: #777;
  font-weight: 560;
}

.admin-table tbody tr {
  cursor: pointer;
  transition: background 160ms ease;
}

.admin-table tbody tr:hover {
  background: #fafafa;
}

.admin-table .title-cell {
  font-family: var(--display-font);
  font-size: 15px;
  font-weight: 520;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(8px);
  animation: modalFade 160ms ease;
}

.admin-modal[hidden] {
  display: none;
}

.modal-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(920px, 100%);
  max-height: min(86vh, 900px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
  animation: modalRise 180ms ease;
}

.modal-head {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 24px;
  font-weight: 520;
}

.modal-body {
  overflow: auto;
  padding: 20px 20px 0;
  background: #fff;
}

.modal-footer {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 18px -20px 0;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 -18px 30px #fff;
  isolation: isolate;
}

.field-group {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.field-group > h3 {
  margin: 0;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 650;
}

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.records {
  border-right: 1px solid var(--line);
  padding-right: 28px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.record {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  padding: 0;
  text-align: left;
  overflow: hidden;
}

.record.current {
  border-color: var(--fg);
}

.record-main {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 13px 14px 10px;
  text-align: left;
  cursor: pointer;
}

.record-main strong {
  display: block;
  font-size: 16px;
  font-weight: 560;
}

.record-main span {
  display: block;
  margin-top: 3px;
  color: #777;
}

.record-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  color: #777;
  font-size: 12px;
}

.status-pill.live {
  color: var(--fg);
  border-color: var(--fg);
}

.admin-table .status-pill {
  width: max-content;
  min-width: 74px;
  justify-content: center;
}

.visibility-toggle {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  background: #fafafa;
  padding: 8px 14px;
  text-align: left;
  color: #555;
  cursor: pointer;
}

.switch-row,
.check-row {
  display: flex;
  grid-template-columns: none;
  gap: 9px;
  align-items: center;
  color: #333;
  font-size: 14px;
  font-weight: 520;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  font-size: 14px;
  font-weight: 520;
}

.toggle-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-track {
  position: relative;
  width: 42px;
  height: 24px;
  border: 1px solid #aaa;
  border-radius: 999px;
  background: #f2f2f2;
  transition: background 160ms ease, border-color 160ms ease;
}

.toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #777;
  transition: transform 160ms ease, background 160ms ease;
}

.toggle-row input:checked + .toggle-track {
  border-color: var(--fg);
  background: var(--fg);
}

.toggle-row input:checked + .toggle-track::after {
  transform: translateX(18px);
  background: #fff;
}

.field-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.char-count {
  color: #999;
  font-weight: 420;
}

.media-manager {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.media-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.media-toolbar strong {
  font-size: 15px;
}

.file-input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  overflow: hidden;
}

.upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  border: 1px solid var(--fg);
  border-radius: 4px;
  background: var(--fg);
  color: #fff;
  padding: 7px 12px;
  cursor: pointer;
  width: fit-content;
  max-width: 180px;
  transition: background 160ms ease, transform 160ms ease;
}

.media-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.media-action-row .upload-btn,
.media-action-row .btn {
  width: auto;
  max-width: none;
  min-height: 34px;
  padding: 7px 11px;
  font-size: 13px;
  line-height: 1.1;
}

.media-action-row .note {
  margin-left: auto;
}

.upload-btn:hover {
  transform: translateY(-1px);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.media-thumb {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: #fafafa;
  overflow: hidden;
}

.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  cursor: pointer;
  transition: opacity 160ms ease, transform 160ms ease;
}

.media-move {
  position: absolute;
  top: 6px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  cursor: pointer;
  transition: opacity 160ms ease, transform 160ms ease;
}

.media-move.prev {
  left: 6px;
}

.media-move.next {
  left: 36px;
}

.media-thumb:hover .media-remove,
.media-thumb:hover .media-move,
.media-move:focus-visible,
.media-remove:focus-visible {
  opacity: 1;
}

.media-remove:hover,
.media-move:hover {
  transform: scale(1.06);
}

.media-badge {
  position: absolute;
  left: 6px;
  bottom: 6px;
  max-width: calc(100% - 12px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 7px;
  color: #333;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.switch-row input,
.check-row input {
  width: auto;
}

.work-picker {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  max-height: 230px;
  overflow: auto;
}

.linked-works {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.linked-works h3 {
  margin: 0 0 14px;
  font-family: var(--display-font);
  font-size: 20px;
  font-weight: 520;
}

.linked-work-list {
  display: grid;
  gap: 0;
}

.linked-work {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 12px 0;
  text-align: left;
  cursor: pointer;
}

.linked-work strong {
  font-family: var(--display-font);
  font-size: 15px;
  font-weight: 520;
}

.exhibited-work.linked-work {
  display: block;
  grid-template-columns: none;
  gap: 0;
  border-bottom: 0;
  padding: 0;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  max-width: min(320px, calc(100vw - 32px));
  border: 1px solid var(--fg);
  background: #fff;
  padding: 10px 12px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: #555;
  font-size: 13px;
  font-weight: 560;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #bdbdbd;
  border-radius: 4px;
  padding: 11px 12px;
  background: #fff;
  color: var(--fg);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.rich-editor-fallback {
  min-height: 260px;
}

.rich-editor-shell {
  display: grid;
  gap: 7px;
}

.rich-editor-status {
  color: #777;
  font-size: 12px;
  font-weight: 500;
}

.tox.tox-tinymce,
.tox.tox-tinymce-aux {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

input:focus,
textarea:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.preview {
  min-height: 132px;
  border: 1px solid var(--line);
  background: var(--soft);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #777;
}

.preview img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
}

.note {
  color: #777;
  font-size: 13px;
}

@media (max-width: 880px) {
  :root {
    --mobile-topbar-height: 82px;
    --mobile-detail-title-height: 46px;
  }

  .frame {
    padding: 0 18px;
  }

  .topbar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(247, 250, 255, 0.3));
    -webkit-backdrop-filter: blur(18px) saturate(170%) contrast(104%);
    backdrop-filter: blur(18px) saturate(170%) contrast(104%);
    transition: transform var(--motion-standard) var(--ease-emphasized);
  }

  .topbar .nav-center {
    max-height: 30px;
    opacity: 1;
    transform: translateY(0);
    transition:
      max-height var(--motion-standard) var(--ease-emphasized),
      opacity var(--motion-fast) var(--ease-standard),
      transform var(--motion-standard) var(--ease-emphasized),
      padding var(--motion-standard) var(--ease-emphasized);
  }

  .topbar.mobile-nav-hidden {
    transform: translateY(-100%);
  }

  .topbar.mobile-nav-hidden + .detail-title-bar,
  .topbar.mobile-nav-hidden ~ .page .work-detail-viewer .work-viewer-bar,
  .topbar.mobile-nav-hidden ~ .page .exhibition-viewer .work-viewer-bar {
    top: 0;
  }

  .topbar.mobile-nav-hidden ~ .page .section-head:has(.section-tools),
  .topbar.mobile-nav-hidden ~ .page .exhibition-anchor-nav { top: 0; }
  .topbar.mobile-nav-hidden ~ .page .exhibition-viewer.chrome-visible .exhibition-anchor-nav { top: 66px; }

  .frame.page-title {
    padding: 46px 18px 30px;
  }

  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "links links";
    min-height: auto;
    gap: 10px 16px;
    padding: 12px 18px 10px;
    align-items: center;
  }

  .detail-title-bar {
    top: var(--mobile-topbar-height);
  }

  .brand {
    grid-area: brand;
    overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .topbar {
    background: rgba(255, 255, 255, 0.92);
  }
}

.library-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.library-toolbar input {
  max-width: 320px;
  min-height: 34px;
  padding: 7px 10px;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.media-picker-modal .modal-card {
  width: min(1120px, 100%);
}

.media-picker-modal .library-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.library-card {
  display: grid;
  gap: 9px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.library-card.selectable {
  cursor: pointer;
}

.library-card.selectable:hover,
.library-card.selectable:focus-within {
  border-color: var(--fg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.library-preview {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--soft);
  overflow: hidden;
}

.library-preview img,
.library-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.library-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: #777;
  font-size: 12px;
}

.library-meta strong {
  overflow: hidden;
  color: #111;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.library-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.library-actions .btn {
  flex: 1 1 auto;
}

.media-picker-empty {
  border: 1px dashed var(--line);
  padding: 32px;
  color: #777;
  text-align: center;
}

.audit-list {
  display: grid;
  gap: 12px;
}

.audit-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.audit-item strong {
  display: block;
  margin-bottom: 4px;
}

.audit-status {
  color: #777;
  font-size: 13px;
}

.audit-status.warn {
  color: #9a5a00;
}

.audit-status.ok {
  color: #207040;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.metric-card {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px;
}

.metric-card span {
  color: #777;
  font-size: 12px;
  font-weight: 560;
}

.metric-card strong {
  font-family: var(--display-font);
  font-size: 30px;
  line-height: 1;
}

.chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
}

.chart-panel {
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px;
}

.chart-panel h2 {
  margin: 0 0 14px;
  font-family: var(--body-font);
  font-size: 15px;
}

.chart-frame {
  position: relative;
  min-height: 260px;
}

  .nav-center {
    grid-area: links;
    width: 100%;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding: 4px 0 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-center a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
  }

  .nav-center::-webkit-scrollbar {
    display: none;
  }

  .nav-right {
    grid-area: actions;
    justify-content: flex-end;
    gap: 8px;
  }

  .section-head:has(.section-tools) {
    top: var(--mobile-topbar-height);
  }

  .section-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }

  .filters {
    gap: 18px;
  }

  .hero-inner,
  .list-item,
  .bio,
  .editor {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 22px;
    min-height: 280px;
    padding-top: 42px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 28px;
  }

  .index-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }

  .work-row,
  .article-row,
  .exhibition-row {
    grid-template-columns: 1fr;
  }

  .exhibition-list-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 28px 0 58px;
  }

  .exhibition-list-card {
    grid-template-columns: minmax(112px, 0.42fr) minmax(0, 1fr);
    gap: 18px;
  }

  .exhibition-list-copy h3 {
    font-size: 18px;
  }

  .exhibition-list-copy .subtitle { font-size: 11px; }
  .exhibition-list-copy .date,
  .exhibition-list-copy .venue { font-size: 13px; }

  .exhibition-list-copy .date {
    margin-top: 28px;
  }

  .exhibition-item {
    grid-template-columns: 1fr;
  }

  .poster {
    max-width: 240px;
  }

  .exhibition-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-layout,
  .detail-meta,
  .detail-gallery,
  .dashboard-grid,
  .chart-grid,
  .work-viewer-layout,
  .exhibition-section,
  .exhibition-hero-meta,
  .exhibition-about {
    grid-template-columns: 1fr;
  }

  .work-detail-viewer .work-viewer-bar,
  .exhibition-viewer .work-viewer-bar {
    top: var(--mobile-topbar-height);
    z-index: 9;
    height: 66px;
    min-height: 66px;
  }

  .work-detail-viewer .work-viewer-bar .work-viewer-title,
  .work-detail-viewer .work-viewer-bar .work-viewer-close,
  .exhibition-viewer .work-viewer-bar .work-viewer-title,
  .exhibition-viewer .work-viewer-bar .work-viewer-close {
    transform: translateY(3px);
  }

  .work-viewer-close {
    gap: 0;
  }

  .work-viewer-close-label {
    display: none;
  }

  .work-viewer-layout {
    gap: 24px;
    padding-top: 0;
  }

  .work-viewer-thumbs,
  .work-viewer-info {
    display: none;
  }

  .work-viewer-mobile-info {
    position: relative;
    display: block;
    border-bottom: 1px solid var(--line);
  }

  .work-viewer-mobile-info summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 41px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 400;
    list-style: none;
  }

  .work-viewer-mobile-info-label {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 16px;
    color: var(--fg);
    font-family: var(--work-title-font);
    font-size: 16px;
    font-weight: 520;
    line-height: 1.05;
    transition: color 160ms ease, opacity 160ms ease;
  }

  .work-viewer-mobile-info.is-open .work-viewer-mobile-info-label,
  .work-viewer-mobile-info.is-closing .work-viewer-mobile-info-label {
    opacity: 0;
  }

  .work-viewer-mobile-info summary::-webkit-details-marker {
    display: none;
  }

  .work-viewer-mobile-info summary::after {
    content: "";
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    margin-right: 8px;
    background: currentColor;
    color: #8a8a8a;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M1 3.5L6 8.5L11 3.5' fill='none' stroke='black' stroke-width='1'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M1 3.5L6 8.5L11 3.5' fill='none' stroke='black' stroke-width='1'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
    transform: none;
    transform-origin: center;
    transition: color 160ms ease, transform 220ms ease;
  }

  .work-viewer-mobile-info.is-open summary::after {
    transform: rotate(180deg);
  }

  .work-viewer-mobile-info.is-open summary,
  .work-viewer-mobile-info.is-closing summary {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: 41px;
    min-height: 21px;
    height: 21px;
    justify-content: flex-end;
  }

  .work-viewer-mobile-info summary:hover::after,
  .work-viewer-mobile-info summary:focus-visible::after {
    color: #000;
  }

  .work-viewer-mobile-info summary:hover .work-viewer-mobile-info-label,
  .work-viewer-mobile-info summary:focus-visible .work-viewer-mobile-info-label {
    color: #000;
  }

  .work-viewer-mobile-info-body {
    display: grid;
    gap: 12px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
    border-top: 1px solid var(--line);
    transition: max-height 260ms ease, opacity 180ms ease, padding 220ms ease;
  }

  .work-viewer-mobile-info.is-open .work-viewer-mobile-info-body,
  .work-viewer-mobile-info.is-closing .work-viewer-mobile-info-body {
    padding: 0 0 24px;
    border-top: 0;
    opacity: 1;
  }

  .work-viewer-mobile-info.is-open .work-viewer-mobile-info-body {
    cursor: pointer;
  }

  .work-viewer-mobile-info-body h1,
  .work-viewer-mobile-info-body h2 {
    margin: 0;
    font-family: var(--work-title-font);
    font-size: 16px;
    font-style: normal;
    font-weight: 520;
    line-height: 1.05;
    text-transform: none;
  }

  .work-viewer-mobile-info-body h2 {
    padding-right: 32px;
  }

  .work-viewer-mobile-info-body h1 {
    text-transform: uppercase;
  }

  .work-viewer-mobile-info-body .work-viewer-facts,
  .work-viewer-mobile-info-body .detail-text {
    font-size: 14px;
    line-height: 1.2;
  }

  .work-viewer-images {
    gap: 34px;
    padding-top: 24px;
  }

  .work-viewer-figure img {
    max-height: none;
  }

  .detail-layout {
    gap: 28px;
  }

  .exhibition-hero {
    padding-top: 28px;
  }

  .work-detail-viewer .work-viewer-bar.frame,
  .exhibition-viewer .work-viewer-bar.frame {
    top: var(--mobile-topbar-height);
    left: 50%;
    width: 100%;
    max-width: none;
    margin-left: 0;
    padding-right: 18px;
    padding-left: 18px;
  }

  .exhibition-anchor-nav {
    top: var(--mobile-topbar-height);
    gap: 22px;
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .exhibition-viewer.chrome-visible .exhibition-anchor-nav {
    top: calc(var(--mobile-topbar-height) + 65px);
  }

  .exhibition-anchor-nav::-webkit-scrollbar {
    display: none;
  }

  .exhibition-section {
    gap: 24px;
    padding: 38px 0;
    border-bottom: 0;
    scroll-margin-top: calc(var(--mobile-topbar-height) + 66px + 52px);
  }

  .exhibition-section h2 {
    position: static;
  }

  .exhibited-work-list {
    gap: 18px;
  }

  .exhibited-work-carousel {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 18px 8px;
    --exhibited-thumb-height: 220px;
    --exhibited-card-width: min(76vw, 300px);
  }

  .exhibited-work-carousel-button {
    width: 30px;
    height: 30px;
  }

  .exhibited-work-slide {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .exhibited-work-slide-media {
    height: min(74vw, 420px);
  }

  .exhibited-work-slide-info h3 {
    font-size: 18px;
  }

  .exhibited-work-thumbnails {
    justify-content: flex-start;
  }

  .detail-copy h2 {
    font-size: clamp(28px, 7vw, 42px);
  }

  .records {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 16px;
  }

  .panel {
    padding: 22px 18px 60px;
  }

  .panel-head {
    display: grid;
  }

  .admin-table {
    min-width: 680px;
  }

  .studio-top {
    position: static;
    padding: 18px 18px 0;
  }

  .studio-tabs {
    gap: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

  .frame {
    padding: 0 16px;
  }

  .nav {
    padding: 11px 16px 9px;
    gap: 9px 12px;
  }

  .brand {
    font-size: 18px;
  }

  .nav a,
  .nav button {
    font-size: 14px;
  }

  .nav-center {
    gap: 18px;
  }

  .nav-right {
    gap: 6px;
  }

  .nav-icon {
    width: 34px;
    height: 34px;
  }

  .search-form {
    gap: 10px;
    padding: 12px 0;
  }

  .search-form input {
    min-width: 0;
    font-size: 16px;
  }

  .search-result {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 13px 0;
  }

  .home-collage,
  .home-collage .hero-inner {
    min-height: calc(100svh - 82px);
  }

  .home-collage .hero-inner {
    padding: 24px 0;
  }

  .collage-stage {
    width: min(88vw, calc(100svh - 132px), 520px);
  }

  .frame.page-title {
    padding: 42px 16px 28px;
  }

  .page-title h1 {
    font-size: clamp(30px, 11vw, 44px);
  }

  .section-head {
    padding: 18px 0 12px;
  }

  .section-tools {
    gap: 10px;
  }

  .filters {
    gap: 16px;
    padding-right: 4px;
  }

  .exhibition-hero-meta {
    gap: 12px;
    font-size: 15px;
  }

  .exhibition-anchor-nav {
    gap: 20px;
    padding: 12px 0;
  }

  .exhibition-anchor-nav button {
    font-size: 15px;
  }

  .view-options button {
    width: 30px;
    height: 28px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 22px 0 58px;
  }

  .work-card h3,
  .list-item h3 {
    font-size: 16px;
  }

  .index-list {
    padding: 10px 0 58px;
  }

  .index-row strong,
  .index-row span {
    font-size: 14px;
    line-height: 1.28;
  }

  .article-list {
    padding: 8px 0 58px;
  }

  .article-list-row,
  .article-list-row.no-cover {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 22px 0;
  }

  .article-list-image {
    justify-self: start;
    width: min(42vw, 150px);
    height: 94px;
  }

  .article-list-text h3 {
    font-size: 20px;
  }

  .article-list-text p {
    font-size: 14px;
  }

  .list {
    padding: 10px 0 58px;
  }

  .list-item {
    gap: 14px;
    padding: 18px 0;
  }

  .poster {
    max-width: 220px;
  }

  .exhibition-gallery,
  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .detail {
    padding: 18px 0 60px;
  }

  .detail-back {
    margin-bottom: 18px;
  }

  .detail-copy h2 {
    font-size: clamp(28px, 10vw, 38px);
  }

  .detail-meta {
    gap: 14px;
    margin: 22px 0;
    padding: 14px 0;
  }

  .exhibition-hero h1 {
    font-size: clamp(22px, 7.8vw, 35px);
  }

  .exhibition-hero .subtitle {
    font-size: clamp(25px, 9vw, 42px);
  }

  .installation-view-list {
    gap: 34px;
  }

  .detail-text,
  .bio p,
  .exhibition-about-copy p {
    font-size: 15px;
  }

  .bio {
    gap: 14px;
    padding: 24px 0 58px;
  }

  .panel {
    padding: 20px 16px 56px;
  }

  .panel-head h1 {
    font-size: 26px;
  }

  .studio-login {
    padding: 20px 16px;
  }

  .studio-top {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 16px 0;
  }

  .studio-actions {
    justify-content: space-between;
  }

  .editor {
    gap: 18px;
  }

  .library-grid,
  .media-picker-modal .library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-action-row {
    align-items: stretch;
  }

  .media-action-row .note {
    margin-left: 0;
    width: 100%;
  }

  .admin-modal {
    place-items: stretch;
    padding: 0;
    background: #fff;
  }

  .modal-card {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    max-height: none;
    height: 100svh;
    min-height: 100svh;
    border: 0;
    box-shadow: none;
  }

  .modal-body {
    overflow: auto;
    padding: 16px 16px 0;
    background: #fff;
  }

  .modal-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-left: -16px;
    margin-right: -16px;
    margin-bottom: 0;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -20px 30px #fff;
  }

  .modal-footer .btn {
    flex: 1 1 0;
  }

  .admin-controls {
    grid-template-columns: 1fr;
  }

  .admin-table-wrap {
    overflow-x: visible;
    padding-top: 16px;
  }

  .admin-table,
  .admin-table thead,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table tbody {
    display: grid;
    gap: 10px;
  }

  .admin-table tbody tr {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px 14px;
    background: #fff;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  }

  .admin-table tbody tr:active {
    transform: scale(0.995);
  }

  .admin-table th,
  .admin-table td {
    border-bottom: 0;
    padding: 0;
  }

  .admin-table td {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
    font-size: 13px;
  }

  .admin-table td + td {
    margin-top: 8px;
  }

  .admin-table td::before {
    content: attr(data-label);
    color: #888;
    font-size: 12px;
  }

  .admin-table .title-cell {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.16;
  }

  .admin-table .title-cell::before {
    content: none;
  }

  .media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .upload-btn {
    max-width: 100%;
  }

  .media-badge {
    max-width: calc(100% - 12px);
    font-size: 10px;
  }

  .linked-work {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 380px) {
  .frame {
    padding: 0 14px;
  }

  .nav {
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav-center {
    gap: 14px;
  }

  .nav-right {
    gap: 10px;
  }

  .filters {
    gap: 14px;
  }

  .exhibition-anchor-nav {
    gap: 16px;
  }

  .exhibition-anchor-nav button {
    font-size: 14px;
  }

  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Public design system v5 — foundation and Works. */
.frame {
  max-width: var(--content-max);
}

.filters button,
.view-options button,
.work-card,
.work-row,
.work-viewer-thumb,
.work-viewer-close {
  -webkit-tap-highlight-color: transparent;
}

.filters button {
  position: relative;
  min-height: 40px;
  color: var(--text-tertiary);
  transition: color var(--motion-fast) var(--ease-standard);
}

.filters button::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity var(--motion-fast) var(--ease-standard), transform var(--motion-standard) var(--ease-emphasized);
}

.filters button:hover,
.filters button:focus-visible,
.filters button.selected {
  color: var(--text-primary);
}

.filters button.selected::after {
  opacity: 1;
  transform: scaleX(1);
}

.view-options {
  border-color: var(--border-subtle);
  border-radius: 0;
}

.view-options button {
  width: var(--control-size);
  height: 36px;
  color: var(--text-tertiary);
  transition: background var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard);
}

.view-options button:hover,
.view-options button:focus-visible {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.view-options .selected {
  background: var(--text-primary);
  color: #fff;
}

.view-options .view-icon {
  width: var(--icon-control);
  height: var(--icon-control);
}

#workGrid.grid {
  gap: var(--space-16) clamp(32px, 4.8vw, 64px);
  padding-top: var(--space-8);
}

.work-card {
  position: relative;
  isolation: isolate;
  align-content: start;
  outline-offset: 8px;
  transition: transform var(--motion-standard) var(--ease-emphasized);
}

.work-card .thumb {
  display: grid;
  min-height: clamp(180px, 24vw, 340px);
  margin-bottom: var(--space-4);
  place-items: center;
  background: transparent;
}

.work-card .thumb img {
  max-height: clamp(180px, 24vw, 340px);
  transition: transform var(--motion-slow) var(--ease-emphasized), filter var(--motion-standard) var(--ease-standard);
  will-change: transform;
}

.work-card h3 {
  padding: 0 22px;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 520;
  line-height: 1.22;
  text-wrap: balance;
  transition: color var(--motion-fast) var(--ease-standard);
}

.work-card .meta {
  margin-top: var(--space-1);
  color: var(--text-tertiary);
  font-size: 12px;
  line-height: 1.35;
}

.index-list .work-row {
  position: relative;
  grid-template-columns: minmax(280px, 1fr) minmax(120px, .28fr) minmax(72px, .14fr);
  align-items: baseline;
  min-height: 54px;
  gap: var(--space-6);
  padding: 16px 0;
  transition: background-color var(--motion-fast) var(--ease-standard);
}

.index-list .work-row strong,
.index-list .work-row span {
  font-size: 14px;
  line-height: 1.35;
}

.index-list .work-row .muted {
  color: var(--text-tertiary);
}

.work-detail-viewer .work-viewer-bar.frame::before {
  border-bottom-color: rgba(80, 96, 120, .1);
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(247,250,255,.4));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 24px rgba(31,43,61,.05);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
}

.work-viewer-close {
  width: var(--control-size);
  height: var(--control-size);
  flex-basis: var(--control-size);
  border-radius: 50%;
  transition: background var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard);
}

.work-viewer-close:hover,
.work-viewer-close:focus-visible {
  background: var(--surface-hover);
  transform: rotate(2deg);
}

.work-viewer-layout {
  grid-template-columns: 76px minmax(0, 1fr) minmax(260px, .34fr);
  gap: clamp(28px, 4vw, 56px);
  padding-top: var(--space-8);
}

.work-viewer-thumbs {
  top: 120px;
  gap: var(--space-2);
  max-height: calc(100vh - 152px);
  overflow-y: auto;
  padding-right: 3px;
  scrollbar-width: none;
}

.work-viewer-thumbs::-webkit-scrollbar { display: none; }

.work-viewer-thumb {
  position: relative;
  overflow: hidden;
  border-color: transparent;
  background: var(--surface-muted);
  opacity: .58;
  transition: border-color var(--motion-fast) var(--ease-standard), opacity var(--motion-fast) var(--ease-standard), transform var(--motion-standard) var(--ease-emphasized);
}

.work-viewer-thumb:hover,
.work-viewer-thumb:focus-visible,
.work-viewer-thumb.active {
  border-color: var(--interactive-selected);
  opacity: 1;
}

.work-viewer-thumb.active {
  transform: translateX(3px);
}

.work-viewer-images {
  gap: var(--space-12);
}

.work-viewer-figure img {
  transition: opacity var(--motion-standard) var(--ease-standard);
}

.work-viewer-figure figcaption {
  color: var(--text-tertiary);
  text-align: left;
  font-size: 12px;
  line-height: 1.45;
}

.work-viewer-info {
  top: 120px;
  gap: var(--space-3);
}

.work-viewer-info h2 {
  margin-bottom: var(--space-1);
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.04;
  text-wrap: balance;
}

.work-viewer-facts {
  gap: 3px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.3;
}

.work-viewer-info .detail-text {
  max-width: 34em;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.48;
}

@media (max-width: 880px) {
  #workGrid.grid {
    gap: 44px 28px;
  }

  /* Keep the detail gallery full-width after the later desktop viewer rules. */
  .work-detail-viewer .work-viewer-layout {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-width: 0;
  }

  .work-detail-viewer .work-viewer-images,
  .work-detail-viewer .work-viewer-figure {
    width: 100%;
    min-width: 0;
  }

  .work-detail-viewer .work-viewer-figure img {
    width: 100%;
    height: auto;
    max-height: none;
  }

  .work-card .thumb {
    min-height: clamp(150px, 35vw, 280px);
  }

  .work-card .thumb img {
    max-height: clamp(150px, 35vw, 280px);
  }
}

@media (max-width: 560px) {
  :root {
    --control-size: 44px;
  }

  .filters button {
    min-height: 44px;
  }

  .view-options button {
    width: 44px;
    height: 40px;
  }

  #workGrid.grid {
    gap: 42px;
  }

  .work-card .thumb,
  .work-card .thumb img {
    min-height: 0;
    max-height: min(72svh, 560px);
  }

  .work-card h3 {
    padding: 0 26px;
    font-size: 18px;
  }

  .index-list .work-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 16px;
    min-height: 74px;
    padding: 14px 0;
  }

  .index-list .work-row strong {
    grid-column: 1;
    grid-row: 1;
  }

  .index-list .work-row span:nth-of-type(1) {
    grid-column: 1;
    grid-row: 2;
  }

  .index-list .work-row span:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .work-detail-viewer .work-viewer-bar.frame::before {
    -webkit-backdrop-filter: blur(16px) saturate(165%);
    backdrop-filter: blur(16px) saturate(165%);
  }

  .work-viewer-mobile-info {
    padding-top: 20px;
  }

  .work-viewer-mobile-info summary {
    min-height: 44px;
    align-items: center;
  }

  .work-viewer-mobile-info-body h2 {
    font-size: 20px;
    line-height: 1.08;
  }

  .work-viewer-mobile-info-body .work-viewer-facts,
  .work-viewer-mobile-info-body .detail-text {
    line-height: 1.45;
  }
}

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

/* Exhibitions v5 — balanced cards, legible detail hierarchy, and tactile carousel. */
.exhibition-list-card {
  position: relative;
  align-items: stretch;
  min-height: 188px;
  transition: transform var(--motion-standard) var(--ease-emphasized);
}

.exhibition-list-image img { transition: transform var(--motion-slow) var(--ease-emphasized); }
.exhibition-list-copy { display: flex; flex-direction: column; padding: 2px 24px 0 0; }
.exhibition-list-copy h3 { font-size: clamp(20px, 1.65vw, 25px); text-wrap: balance; }
.exhibition-list-copy .subtitle { color: var(--text-secondary); font-size: 12px; line-height: 1.35; }
.exhibition-list-copy .date { margin-top: auto; padding-top: 28px; color: var(--text-secondary); }
.exhibition-list-copy .venue { padding-right: 20px; }

.exhibition-hero { padding: clamp(52px, 7vw, 104px) 0 40px; }
.exhibition-hero h1 { max-width: 1100px; font-size: clamp(38px, 6vw, 78px); line-height: .94; letter-spacing: -.025em; text-wrap: balance; }
.exhibition-hero .subtitle { margin-top: 14px; max-width: 940px; color: var(--text-secondary); font-size: clamp(22px, 3vw, 38px); line-height: 1.08; }
.exhibition-hero-meta { align-items: start; margin-top: clamp(42px, 6vw, 76px); color: var(--text-primary); }
.exhibition-hero-meta p { display: grid; gap: 7px; line-height: 1.38; }

.exhibition-anchor-nav { gap: 34px; padding: 0; }
.exhibition-anchor-nav::before {
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.exhibition-anchor-nav button { position: relative; min-height: 52px; color: var(--text-tertiary); transition: color var(--motion-fast) var(--ease-standard); }
.exhibition-anchor-nav button::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--text-primary); transform: scaleX(0); transform-origin: left; transition: transform var(--motion-standard) var(--ease-emphasized); }
.exhibition-anchor-nav button.active::after,
.exhibition-anchor-nav button[aria-current="location"]::after { transform: scaleX(1); }

.exhibition-section { gap: clamp(36px, 5vw, 72px); padding: clamp(58px, 8vw, 104px) 0; }
.exhibition-section h2 { font-size: clamp(20px, 2vw, 27px); }
.installation-view-list { gap: clamp(52px, 8vw, 104px); }
.installation-view figcaption { color: var(--text-tertiary); }

.exhibited-work-carousel { grid-template-areas: "previous stage next" ". counter ." ". thumbnails ."; gap: 18px; }
.exhibited-work-carousel:focus-visible { outline: 1px solid var(--interactive-selected); outline-offset: 8px; }
.exhibited-work-carousel-button { width: 40px; height: 40px; border-color: var(--border-subtle); color: var(--text-secondary); font-size: 18px; transition: color var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-emphasized); }
.exhibited-work-carousel-button:hover { transform: scale(1.06); }
.exhibited-work-slide.active { animation: exhibition-slide-in var(--motion-slow) var(--ease-emphasized) both; }
.exhibited-work-counter { grid-area: counter; margin: 0; color: var(--text-tertiary); font-size: 11px; font-variant-numeric: tabular-nums; text-align: center; }
.exhibited-work-thumbnail { transition: border-color var(--motion-fast) var(--ease-standard), opacity var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-emphasized); }
.exhibited-work-thumbnail.active { transform: translateY(-2px); }
.exhibition-about-copy { max-width: 42em; }
.exhibition-about-copy p { color: var(--text-secondary); font-size: 14px; line-height: 1.65; }

@keyframes exhibition-slide-in {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 760px) {
  .exhibition-about-copy p { font-size: 14px; line-height: 1.7; }
  .exhibition-list-card { min-height: 0; }
  .exhibition-list-copy { min-height: 152px; padding-right: 22px; }
  .exhibition-hero { padding-top: 40px; }
  .exhibition-hero-meta { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .exhibition-hero-meta p:last-child { grid-column: 1 / -1; }
  .exhibition-anchor-nav { gap: 24px; }
  .exhibition-anchor-nav button { min-height: 48px; }
  .exhibited-work-carousel-button { width: 44px; height: 44px; }
}

/* Compact view-mode containers; the icon artwork remains 10px. */
.view-options button {
  width: 22px;
  height: 20px;
}

.view-options .view-icon {
  width: 10px;
  height: 10px;
}

@media (max-width: 880px) {
  .view-options button {
    width: 22px;
    height: 20px;
  }
}

/* About — long-form artist text with a responsive reference column. */
#about .about-frame { padding-top: clamp(38px, 5vw, 72px); padding-bottom: 120px; }
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: clamp(52px, 7vw, 112px);
  align-items: start;
}
.about-copy { max-width: 48em; }
.about-copy > p {
  margin: 0 0 1.35em;
  color: var(--text-primary);
  font-family: var(--display-font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: -.008em;
  text-wrap: pretty;
}
.about-copy > p:nth-child(4) { margin-top: 2.8em; }
.about-copy u { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.about-aside {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 34px;
}
.about-portrait { margin: 0; }
.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1204 / 1506;
  object-fit: cover;
  background: var(--surface-muted);
}
.about-links { display: grid; gap: 5px; }
.about-links h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 20px;
  line-height: 1.15;
}
.about-links h2:not(:first-child) { margin-top: 18px; }
.about-links a {
  width: fit-content;
  color: var(--text-primary);
  font-size: 14px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Shared final-state polish */
:where(.work-card, .work-row, .article-list-row, .exhibition-list-card, .linked-work):focus-visible { outline: 1px solid var(--interactive-selected); outline-offset: 5px; }
:where(button, a, input, textarea, select, summary):focus-visible { outline: 1px solid var(--interactive-selected); outline-offset: 3px; }
.view-options .view-icon { width: 10px; height: 10px; }
.view-options button { color: var(--text-tertiary); transition: color var(--motion-fast) var(--ease-standard), background-color var(--motion-fast) var(--ease-standard); }
.view-options button:hover { color: var(--text-primary); }

@media (max-width: 880px) {
  .view-options button {
    width: 36px;
    height: 34px;
  }

  .view-options .view-icon {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 880px) {
  #about .about-frame { padding-top: 32px; padding-bottom: 80px; }
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .about-copy > p { font-size: 14px; line-height: 1.42; }
  .about-copy > p:nth-child(4) { margin-top: 2.5em; }
  .about-aside { position: static; gap: 28px; }
  .about-links h2 { font-size: 18px; }
}

/* Unified liquid-glass detail title bars — Works, Words, Exhibitions. */
.detail-title-bar,
.work-detail-viewer .work-viewer-bar.frame::before,
.exhibition-viewer .work-viewer-bar.frame::before {
  border-bottom-color: rgba(80, 96, 120, .1);
  background:
    linear-gradient(180deg, rgba(255,255,255,.7), rgba(247,250,255,.38));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -1px 0 rgba(80,96,120,.04),
    0 8px 28px rgba(31,43,61,.055);
  -webkit-backdrop-filter: blur(22px) saturate(175%) contrast(104%);
  backdrop-filter: blur(22px) saturate(175%) contrast(104%);
}

.detail-title-bar { isolation: isolate; }

.detail-title-bar::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(75% 160% at 14% -70%, rgba(255,255,255,.82), transparent 58%),
    radial-gradient(45% 140% at 88% 150%, rgba(190,213,246,.14), transparent 72%);
  content: "";
}

@media (max-width: 880px) {
  .detail-title-bar,
  .work-detail-viewer .work-viewer-bar.frame::before,
  .exhibition-viewer .work-viewer-bar.frame::before {
    background: linear-gradient(180deg, rgba(255,255,255,.66), rgba(247,250,255,.34));
    -webkit-backdrop-filter: blur(18px) saturate(168%) contrast(103%);
    backdrop-filter: blur(18px) saturate(168%) contrast(103%);
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .detail-title-bar,
  .work-detail-viewer .work-viewer-bar.frame::before,
  .exhibition-viewer .work-viewer-bar.frame::before {
    background: rgba(255,255,255,.94);
  }
}

/* Words v5 — editorial rhythm, reading context, and quiet feedback. */
.article-list { padding: 30px 0 96px; }
.article-list-row {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 16vw);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  min-height: 190px;
  padding: 34px 34px 34px 0;
  transition: background-color var(--motion-standard) var(--ease-standard), transform var(--motion-standard) var(--ease-emphasized);
}
.article-list-text { max-width: 820px; }
.article-list-meta,
.article-detail-meta { display: flex; gap: 16px; align-items: center; color: var(--text-tertiary); font-family: "New York Large", "New York", Georgia, serif; font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: normal; }
.article-list-meta span,
.article-detail-meta span { position: relative; padding-left: 17px; }
.article-list-meta span::before,
.article-detail-meta span::before { content: ""; position: absolute; top: 50%; left: 0; width: 2px; height: 2px; border-radius: 50%; background: currentColor; }
.article-list-text h3 { margin-top: 17px; font-size: clamp(25px, 2.6vw, 38px); line-height: 1.04; letter-spacing: -.018em; text-wrap: balance; }
.article-list-text p { display: -webkit-box; max-width: 48em; margin-top: 18px; overflow: hidden; color: var(--text-secondary); font-size: 15px; line-height: 1.58; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.article-list-image { width: min(190px, 16vw); height: 132px; overflow: hidden; background: var(--surface-muted); }
.article-list-image img { object-fit: cover; transition: transform var(--motion-slow) var(--ease-emphasized); }

.article-reading-progress { position: fixed; top: 44px; right: 0; left: 0; z-index: 12; height: 2px; pointer-events: none; }
.article-reading-progress span { display: block; width: 100%; height: 100%; background: var(--interactive-selected); transform: scaleX(0); transform-origin: left; transition: transform 80ms linear; }
.detail-back[data-back-to="articles"] { display: inline-flex; gap: 9px; align-items: center; min-height: 40px; color: var(--text-secondary); transition: color var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-emphasized); }
.detail-back[data-back-to="articles"]:hover { color: var(--text-primary); transform: translateX(-3px); }
.article-detail { grid-template-columns: minmax(0, 1fr); gap: clamp(52px, 8vw, 104px); max-width: 1120px; padding: 34px 0 100px; }
.article-detail-copy { max-width: 760px; margin: 0 auto; width: 100%; }
.article-detail-copy > h2 { margin-top: 22px; max-width: 14em; font-size: 18px; line-height: 1.25; letter-spacing: -.032em; text-wrap: balance; }
.article-detail-copy .article-text { max-width: 38em; margin-top: clamp(48px, 7vw, 82px); color: var(--text-secondary); font-size: 14px; line-height: 1.72; }
.article-detail-copy .article-text h2,
.article-detail-copy .article-text h3 { margin-top: 2.4em; color: var(--text-primary); }
.article-detail-copy .article-text blockquote { margin: 2.4em 0; padding: 0 0 0 22px; color: var(--text-primary); font-family: var(--display-font); font-size: 1.18em; line-height: 1.48; }
.article-detail-media { gap: clamp(34px, 6vw, 70px); max-width: 960px; margin: 0 auto; }
.article-detail-media img { max-height: 86svh; object-fit: contain; }

@media (max-width: 760px) {
  .article-list { padding-top: 10px; }
  .article-list-row,
  .article-list-row.no-cover { grid-template-columns: minmax(0, 1fr); gap: 22px; min-height: 0; padding: 28px 28px 28px 0; }
  .article-list-row.has-cover .article-list-image { grid-row: 1; width: min(52vw, 210px); height: 128px; }
  .article-list-text h3 { font-size: 25px; }
  .article-list-text p { font-size: 14px; line-height: 1.55; }
  .article-reading-progress { top: 44px; }
  .article-detail { padding-top: 20px; }
  .article-detail-copy > h2 { font-size: 18px; }
  .article-detail-copy .article-text { margin-top: 44px; font-size: 14px; line-height: 1.68; }
}

/* Exhibition detail title bar: share the GNB/content alignment and stay plain on desktop. */
@media (min-width: 881px) {
  .exhibition-viewer .work-viewer-bar.frame {
    width: 100%;
    max-width: var(--content-max);
  }

  .exhibition-viewer .work-viewer-bar.frame::before {
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
