/* Exhibit rooms share a dark wall and a quiet frame around the work. */
.object-exhibit {
  --studio-mark-filter: none;
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: #e6eeeb;
  background: #10181c;
  font: 400 1rem/1.45 "Helvetica Neue", Helvetica, Arial, sans-serif;
  --edge-space: clamp(1.1rem, 5vw, 5.5rem);
  --room-width: 92rem;
}
.object-exhibit *, .object-exhibit *::before, .object-exhibit *::after { box-sizing: border-box; }
.object-exhibit :is(h1,h2,figure,p) { margin: 0; }
.object-exhibit a { color: inherit; }
.object-exhibit button, .object-exhibit input { color: inherit; font: inherit; }
.object-exhibit [hidden] { display: none !important; }
.object-exhibit .sr-only, .ex-skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.ex-skip:focus { position: fixed; z-index: 5; top: 1rem; left: 1rem; padding: .6rem; background: #10181c; }
.object-exhibit :focus-visible { outline: 2px solid #a9e9db; outline-offset: 3px; }
.ex-foot, .object-exhibit .play-layout {
  width: min(100%, var(--room-width));
  margin-inline: auto;
  padding-inline: var(--edge-space);
}
.ex-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ex-foot > a, .exhibit-nav a { text-decoration: none; }
.exhibit-nav .ex-return { display: inline-flex; align-items: center; gap: .35em; }
.ex-foot a:hover { text-decoration: underline; text-underline-offset: .25em; }
.object-exhibit .play-room {
  flex: 1 0 auto;
  display: grid;
  align-content: center;
  color: #e6eeeb;
  border-block: 1px solid #435158;
}
.object-exhibit .play-layout {
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  column-gap: clamp(2rem, 6vw, 6.5rem);
  padding-block: clamp(2.25rem, 6svh, 5rem);
}
.object-exhibit .play-copy { position: relative; }
.object-exhibit .play-copy h1 {
  font: 450 clamp(3.75rem, 7.6vw, 7.85rem)/.94 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: -.08em;
  text-wrap: balance;
}
.object-exhibit .play-copy p { font-size: clamp(1.02rem, 1.32vw, 1.26rem); margin-top: 1.25rem; max-width: 30ch; }
.object-exhibit .save-art { margin-top: .65rem; }
.object-exhibit .exhibit-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem .85rem;
  align-items: center;
  border: 0;
  margin: 0 0 1.55rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.object-exhibit .exhibit-nav a { min-width: auto; min-height: 32px; padding: 0; color: #a5bbb9; font-size: .8rem; }
.object-exhibit .exhibit-nav a[aria-current], .object-exhibit .exhibit-nav a:hover { background: transparent; color: #f3f8ee; text-decoration: underline; text-underline-offset: .38em; }
.object-exhibit .calvin-art, .sculpture { width: min(100%, 39rem, 63svh); justify-self: center; }
.object-exhibit .play-controls { grid-column: 2; width: min(100%, 39rem, 63svh); justify-self: center; gap: .25rem .8rem; }
.object-exhibit .light-control { gap: .45rem; }
.object-exhibit .light-scale { width: clamp(3rem, 6.6vw, 7rem); }
.object-exhibit .spin-hint { line-height: 1.3; }
.object-exhibit .orbit-icon { position: relative; display: inline-block; width: 19px; height: 11px; transform: rotate(-24deg); border: 1px solid currentColor; border-radius: 50%; }
.object-exhibit .orbit-icon::after { content: ""; position: absolute; left: 7px; top: -6px; width: 1px; height: 20px; background: currentColor; transform: rotate(36deg); }
.object-exhibit .artwork-export button { cursor: pointer; }
.object-exhibit .artwork-export [data-export-download], .object-exhibit .artwork-export [data-export-share] { text-decoration: none; }
.object-exhibit .artwork-export .export-actions button, .object-exhibit .export-actions button[hidden] + a { color: #152825; }
.ex-foot { min-height: 4.8rem; font-size: .85rem; line-height: 1.5; color: #b4c2c1; }
.ex-foot span a { text-decoration: underline; text-underline-offset: .25em; }
.loop-room { --field: #2a444d; --haze: #58747c; --floor: #112129; }
.loop-room[data-finish="1"] { --field: #3a4b36; --haze: #6d7c5b; --floor: #212b20; }
.loop-room[data-finish="2"] { --field: #3e384e; --haze: #796d89; --floor: #221f30; }
.object-exhibit .loop-room { background: radial-gradient(ellipse at 75% 50%, var(--field), transparent 68%), #11191d; }
.sculpture { position: relative; min-width: 0; }
.loop-field {
  isolation: isolate;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  outline: 1px solid #81969b66;
  outline-offset: -1px;
  background: radial-gradient(ellipse at 56% 42%, var(--haze), var(--field) 55%, var(--floor));
}
.loop-box { position: absolute; width: 106%; height: 98%; left: 49%; top: 52%; transform: translate(-50%,-50%); pointer-events: none; }
.loop-field [data-loop-rear], .sculpture-poster { z-index: 1; }
.loop-inscription {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-content: center;
  white-space: nowrap;
  color: #e6e9df;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 550;
  font-size: clamp(2.9rem, 5.4vw, 5.6rem);
  letter-spacing: -.078em;
  pointer-events: none;
}
.loop-field #sculpture, .poster-front { z-index: 3; }
.poster-layer { object-fit: contain; width: 109%; height: 89.3%; }
.hero[data-finish="1"] .poster-layer { filter: sepia(.36) saturate(.89) hue-rotate(26deg); }
.hero[data-finish="2"] .poster-layer { filter: sepia(.19) hue-rotate(53deg) saturate(1.26); }
.sculpture.live .poster-layer { visibility: hidden; }
.sculpture.live .loop-hit { position: absolute; z-index: 4; inset: 0; transform: none; width: auto; height: auto; cursor: grab; pointer-events: auto; touch-action: none; -webkit-touch-callout: none; user-select: none; }
.sculpture.live.dragging .loop-hit { cursor: grabbing; }
.sculpture-shadow { position: absolute; width: 47%; height: 5%; left: 50%; top: 83%; background: #0e1a1f; border-radius: 50%; opacity: .45; filter: blur(12px); transform: translateX(-50%); }
.object-controls, .finishes, .gesture { display: flex; align-items: center; }
.object-controls { justify-content: space-between; gap: .4rem; margin-top: 1.15rem; border-top: 1px solid #80939761; color: #d1deda; min-height: 48px; }
.gesture { gap: .7rem; visibility: hidden; font-size: .87rem; }
.sculpture.live .gesture { visibility: visible; }
.key-help, .sculpture:has(canvas:focus-visible) .touch-help { display: none; }
.sculpture:has(canvas:focus-visible) .key-help { display: inline; }
.finish { position: relative; display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 0; padding: 0; cursor: pointer; }
.finish::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--swatch); }
.finish[aria-pressed="true"]::after { content: ""; position: absolute; width: 24px; height: 24px; border: 1px solid #b3c2c1; border-radius: 50%; }
.frost { --swatch: linear-gradient(145deg,#edf4f1,#76a6b1 64%,#44687b); }
.moss { --swatch: linear-gradient(145deg,#e9ebce,#a3b28c 64%,#70876e); }
.lilac { --swatch: linear-gradient(145deg,#eeeaf9,#b0a5c9 64%,#877f9e); }
@media (max-width: 900px) {
  .object-exhibit .play-controls:not(.fur-controls) .spin-hint { grid-column: 1 / -1; }
  .object-exhibit .play-controls { grid-template-columns: 1fr auto; }
}
@media (max-width: 680px) and (orientation: portrait) {
  .object-exhibit .play-layout { grid-template-columns: 1fr; padding-block: 1.1rem 1.35rem; }
  .object-exhibit .play-copy { padding: 0 0 .85rem; }
  .object-exhibit .play-copy h1 { font-size: clamp(2.7rem, 10vw, 4.2rem); }
  .object-exhibit .play-copy p { max-width: 43ch; margin-top: .65rem; }
  .object-exhibit .save-art { margin-top: .15rem; }
  .object-exhibit .exhibit-nav { margin-bottom: .5rem; }
  .object-exhibit .calvin-art, .object-exhibit .sculpture, .object-exhibit .play-controls { width: min(100%, 28rem); }
  .object-exhibit .play-controls { grid-column: 1; }
  .loop-inscription { font-size: clamp(2.8rem,12vw,4rem); }
  .ex-foot { min-height: 4rem; }
}
@media (orientation: landscape) and (max-height: 540px) {
  .object-exhibit .play-layout { padding-block: .95rem .55rem; }
  .object-exhibit .play-copy { padding-block: .15rem; }
  .object-exhibit .play-copy h1 { font-size: clamp(2rem,5.5vw,3.75rem); }
  .object-exhibit .exhibit-nav { margin-bottom: .35rem; }
  .object-exhibit .play-copy p, .object-exhibit .save-art { margin-top: .4rem; }
  .object-exhibit .calvin-art, .object-exhibit .sculpture, .object-exhibit .play-controls { width: min(100%, 57svh); }
  .object-exhibit .play-controls { margin-top: .4rem; }
  .loop-inscription { font-size: 2.4rem; }
  .ex-foot { min-height: 3.5rem; }
}
.loop-live-copy, .loop-room:has(.sculpture.live) .loop-poster-copy { display: none; }
.loop-room:has(.sculpture.live) .loop-live-copy { display: inline; }
.object-exhibit .nav a:hover { color: #c2d9b6; }

/* Both finishes share the same frame and keep their own gestures and settings. */
.calvin-session { display: grid; grid-column: 2; grid-row: 1; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.calvin-session .play-controls { grid-column: 1; min-height: 3.25rem; }
.calvin-materials {
  display: inline-flex;
  gap: .12rem;
  margin-top: 1.3rem;
  padding: .18rem;
  border: 1px solid #63797b;
  border-radius: 2rem;
  background: #111d22;
}
.calvin-materials a {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-width: 5.25rem; min-height: 44px;
  padding-inline: .85rem; border-radius: inherit; color: #d3ddda;
  font-size: .92rem; text-decoration: none;
}
.material-sample { width: 1rem; height: 1rem; border-radius: 50%; box-shadow: inset 0 0 0 1px #49535080; }
[data-material="metal"] > .material-sample { background: linear-gradient(145deg, #c7dcde, #f2f4ef 36%, #5f7780 48%, #cedadb 66%, #798e96); }
[data-material="fur"] > .material-sample { background: repeating-linear-gradient(125deg, #d6b395 0 1px, transparent 1px 3px), linear-gradient(135deg, #e9debd, #af7854); }
.calvin-materials a[aria-current],
.calvin-room:not([data-material]):not(:has(#fur:target)) .calvin-materials [data-material="metal"],
.calvin-room:not([data-material]):has(#fur:target) .calvin-materials [data-material="fur"] { background: #dce6e0; color: #182725; }
.calvin-materials a:hover { box-shadow: inset 0 0 0 1px #93a5a4; }
.calvin-room:not([data-material]):has(#fur:target) [data-material-content="metal"],
.calvin-room:not([data-material]):not(:has(#fur:target)) [data-material-content="fur"] { display: none; }
.calvin-room:has(.calvin-live) [data-material-content="metal"] .poster-copy,
.calvin-room:has(.fur-live) [data-material-content="fur"] .poster-copy { display: none; }
.calvin-room:has(.calvin-live) .warm-copy, .calvin-room:has(.fur-live) .fur-copy { display: inline; }
.calvin-room .play-copy .calvin-direction { max-width: 32ch; margin-top: .9rem; font-size: 1rem; }
@media (max-width: 900px) {
  .calvin-session .play-controls { min-height: 4.8rem; }
}
@media (max-width: 680px) and (orientation: portrait) {
  .calvin-session { grid-column: 1; grid-row: auto; }
  .calvin-materials { margin-top: .85rem; }
  .calvin-room .play-copy .calvin-direction { max-width: 42ch; margin-top: .7rem; }
}
@media (orientation: landscape) and (max-height: 540px) {
  .calvin-materials { margin-top: .65rem; }
  .calvin-room .play-copy .calvin-direction { margin-top: .5rem; }
}
