:root {
  color-scheme: dark;
  --background: #090909;
  --header: #101010;
  --surface: #171412;
  --gold: #dfc18a;
  --antique: #be965c;
  --heading: #ead1ae;
  --text: #f2e6d0;
  --muted: #bcb6af;
  --line: rgb(223 193 138 / .35);
  --panel: #151311;
  --hero-base: #080908;
  --serif: "Baskerville Old Face", "Palatino Linotype", Georgia, serif;
  --sans: "Segoe UI", Arial, sans-serif;
}
:root[data-theme="light"] {
  color-scheme: light;
  --background: #f5eee2;
  --header: #f9f2e7;
  --surface: #eee4d5;
  --gold: #654822;
  --antique: #805d2c;
  --heading: #4b351d;
  --text: #30261d;
  --muted: #55493b;
  --line: rgb(101 72 34 / .35);
  --panel: #f7efe3;
  --hero-base: #f4ebdd;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--background); color: var(--text); font: 16px/1.5 var(--sans); }
h1, h2, p { margin: 0; }
h1, h2 { color: var(--heading); font-family: var(--serif); font-weight: 400; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button, select, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
img { display: block; max-width: 100%; }
[hidden], .symbols { display: none !important; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: clamp(64px, 4.18vw, 86px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2vw;
  padding: 0 1.1% 0 5.3%;
  background: linear-gradient(105deg, var(--background), var(--header) 32%);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; gap: 4px; align-items: center; flex-shrink: 0; color: var(--heading); white-space: nowrap; }
.brand span { font: 400 clamp(29px, 2.65vw, 56px)/1 "Vivaldi", "French Script MT", "Segoe Script", cursive; }
.brand small { display: block; margin-inline-start: clamp(2px, calc(10vw - 116px), 76px); }
.brand-art { display: block; width: clamp(48px, calc(5.5vw - 15px), 94px); height: auto; stroke: none; }
.brand-art-rim { fill: none; stroke: #d4b98b; stroke-opacity: .68; stroke-width: .65; }
[data-theme="light"] .brand-art-rim { stroke: #614735; stroke-opacity: .9; stroke-width: .85; }
.brand-art-sweep { opacity: 0; animation: brand-art-sweep 10s linear infinite; }
@keyframes brand-art-sweep {
  0%, 15% { opacity: 0; transform: translateX(0); }
  23%, 31% { opacity: .66; }
  40%, 100% { opacity: 0; transform: translateX(138px); }
}
.brand-art-spark { opacity: 0; animation: brand-art-glint 7.9s -1.1s ease-in-out infinite; }
.brand-art-spark:nth-child(2) { animation-duration: 9.7s; animation-delay: -4.3s; }
.brand-art-spark:nth-child(3) { animation-duration: 11.3s; animation-delay: -.4s; }
.brand-art-spark:nth-child(4) { animation-duration: 8.6s; animation-delay: -6s; }
.brand-art-spark:nth-child(5) { animation-duration: 13.1s; animation-delay: -9.6s; }
@keyframes brand-art-glint {
  0%, 63%, 78%, 100% { opacity: 0; }
  70% { opacity: .68; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-art-spark, .brand-art-sweep { animation: none; }
}
.site-header nav { display: flex; flex: 1; justify-content: space-between; gap: 12px; margin-left: clamp(0px, calc(19vw - 220px), 150px); white-space: nowrap; }
.site-header nav a {
  padding-block: 13px;
  background: linear-gradient(90deg, transparent, var(--antique) 23%, var(--heading) 52%, var(--antique) 78%, transparent) center bottom / 0 1px no-repeat;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(10px, .73vw, 16px);
  font-weight: 600;
  letter-spacing: .06em;
  transition: background-size .3s ease, color .2s ease;
}
.site-header nav a:is(.home-link, :hover, :focus-visible) { background-size: 100% 1px; color: var(--heading); }
@media (prefers-reduced-motion: reduce) {
  .site-header nav a { transition: none; }
}
.header-tools { display: flex; align-items: center; gap: clamp(10px, 1vw, 23px); color: var(--gold); }
.icon-button { display: grid; place-items: center; border: 0; padding: 2px; background: transparent; font-size: 25px; }
.theme-toggle { position: relative; width: 42px; height: 22px; border: 1px solid var(--line); border-radius: 40px; padding: 2px; background: var(--heading); color: var(--header); }
.theme-toggle span { position: absolute; display: grid; place-items: center; right: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--header); color: var(--heading); }
.theme-toggle span::after { content: "☾"; font-size: 12px; line-height: 1; }
[data-theme="light"] .theme-toggle span { right: 22px; }
[data-theme="light"] .theme-toggle span::after { content: "☀"; }
#locale { border: 0; background: var(--header); color: var(--gold); font-size: 12px; }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; height: clamp(360px, 20.45vw, 500px); overflow: hidden; background: var(--hero-base); }
.hero-visual { position: absolute; inset: 0 0 0 34%; z-index: -1; overflow: hidden; background: #0c0d0d; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 39%; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero-base), transparent 19%, transparent 94%, rgb(0 0 0 / .22)); }
.hero[data-slide="1"] .hero-visual img { object-position: 50% 50%; }
.hero[data-slide="2"] .hero-visual img { object-position: 50% 28%; }
.hero-copy { position: absolute; top: 10.7%; left: 10.9%; width: min(500px, 28vw); }
.eyebrow { color: var(--antique); font-size: clamp(13px, .92vw, 18px); letter-spacing: .23em; }
.hero h1 { margin-top: .25em; font-size: clamp(47px, 3.45vw, 73px); line-height: .91; letter-spacing: -.035em; }
.hero-description { max-width: 470px; margin: .85em 0 1.16em; color: var(--muted); font-size: clamp(14px, .96vw, 20px); line-height: 1.5; }
.gold-button { display: inline-flex; align-items: center; justify-content: center; gap: 1em; min-height: 39px; padding: .58em 1.65em; border: 1px solid var(--antique); background: rgb(14 11 8 / .12); color: var(--gold); font-size: clamp(12px, .73vw, 15px); font-weight: 500; letter-spacing: .055em; white-space: nowrap; }
[data-theme="light"] .gold-button { background: rgb(255 251 241 / .48); }
.gold-button:hover { box-shadow: inset 0 0 0 1px var(--antique); }
.gold-button svg { width: 1.1em; height: 1.1em; }
.diagonal { rotate: -40deg; }
.hero-arrow { position: absolute; top: 42%; display: grid; place-items: center; width: 48px; height: 44px; border: 0; background: transparent; color: #ead1ae; }
.hero-arrow::before { content: ""; width: 15px; height: 15px; border-left: 1px solid; border-bottom: 1px solid; rotate: 45deg; }
.hero-arrow.next { right: 0; rotate: 180deg; }
.hero-arrow.previous { left: 0; color: var(--heading); }
.slider { position: absolute; bottom: 6%; left: 10.5%; display: flex; gap: 3px; }
.slider button { min-width: 43px; height: 31px; padding: 0; background: transparent; border: 0; color: var(--muted); font-size: 13px; }
.slider button[aria-pressed="true"] { border-bottom: 2px solid var(--gold); color: var(--gold); }


.showcase { position: relative; display: flex; align-items: center; overflow: hidden; isolation: isolate; background: var(--background); }
.museum { display: block; min-height: 0; }
.showcase-copy { position: relative; z-index: 1; }
.showcase h2 { font-size: clamp(27px, 2.04vw, 44px); line-height: .98; }
.showcase p { margin: .9em 0 1.25em; color: var(--muted); font-size: clamp(14px, .95vw, 20px); }
#museum .museum-scene { position: relative; inset: auto; left: 50%; width: max(100%, 900px); aspect-ratio: 570 / 165; transform: translateX(-50%); }
.museum-image { position: relative; width: 100%; aspect-ratio: 570 / 165; }
.architecture { display: block; width: 100%; height: 100%; object-fit: fill; }
.museum-image .architecture { height: auto; aspect-ratio: 570 / 165; }
.museum-scene::after { content: none; }
.museum-frame {
  position: absolute; inset: 0 auto auto 0; transform-origin: 0 0;
  display: block; padding: 0; border: 0; background: #26211b;
  isolation: isolate; box-shadow: 0 0 10px rgb(255 218 157 / .24), 0 3px 6px rgb(0 0 0 / .42);
}
.museum-frame:hover, .museum-frame:focus-visible { box-shadow: 0 0 12px rgb(255 218 157 / .39), 0 3px 6px rgb(0 0 0 / .42); }
.museum-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  background: #26211b; opacity: 0; transition: opacity 1s ease-in-out;
}
.museum-frame img.is-displayed { opacity: 1; }
.museum-frame img:first-child { z-index: 0; }
.museum-frame img + img { z-index: 1; }
.museum-frame .museum-plaque {
  position: absolute; z-index: 2; inset: calc(100% + 1px) 0 auto; padding: 1px 3px; overflow: hidden;
  white-space: nowrap; text-overflow: ellipsis; background: rgb(24 19 14 / .88);
  color: #ead8b8; font: 500 clamp(6px, .55vw, 9px)/1.2 system-ui, sans-serif;
}
.museum-inscription, .museum-rotation {
  position: absolute; z-index: 1; bottom: 7px; color: #efddbb; background: rgb(27 21 15 / .92);
  border: 1px solid #8d7550; padding: 4px 8px; font: 500 11px/1.35 system-ui, sans-serif;
}
.museum-inscription { left: max(12px, calc((100% - 100vw) / 2 + 12px)); max-width: calc(100% - 130px); margin: 0; pointer-events: none; }
.museum-rotation { right: max(12px, calc((100% - 100vw) / 2 + 12px)); cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .museum-frame img { transition: none; } }
.room.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); align-items: stretch; min-height: 420px; border-top: 1px solid var(--line); background: radial-gradient(ellipse at center, var(--surface), var(--background) 78%); }
.room .showcase-copy { width: auto; margin: 0; align-self: center; padding: clamp(24px, 3vw, 48px); }
.room .room-copy { grid-column: 1; grid-row: 1; }
.room .museum-copy { grid-column: 3; grid-row: 1; }
.room .showcase-copy p { margin: .75em 0 1em; }
.room .museum-copy h2 { letter-spacing: .075em; }
.room .room-scene { position: relative; inset: auto; grid-column: 2; grid-row: 1; min-height: 420px; overflow: hidden; box-shadow: 0 0 30px rgb(0 0 0 / .3); }
.room-scene .architecture { object-fit: cover; object-position: center; }
.room-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--background), transparent 8%, transparent 92%, var(--background)); pointer-events: none; }
.room-work { position: absolute; left: 43%; top: 39%; width: 44%; height: 66%; margin: 0; padding: .5%; transform: translate(-50%, -50%); background: #151310; object-fit: contain; box-shadow: 0 9px 24px rgb(0 0 0 / .35); }

.content-section { padding: clamp(30px, 4.5vw, 88px) 10.55%; border-top: 1px solid var(--line); }
#gallery { padding-top: max(0px, calc(clamp(30px, 4.5vw, 88px) - 76px)); }
.content-section h2 { margin-bottom: .4em; font-size: clamp(35px, 3.2vw, 65px); }
.icon-heading, .inspiration { display: flex; gap: 10px; }
.icon-heading { align-items: center; }
.icon-heading img, .inspiration img { flex: none; }
.section-icon {
  width: clamp(38px, 4vw, 48px);
  height: auto;
  aspect-ratio: 1;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: contain;
  filter: sepia(.65);
}
[data-theme="light"] .section-icon { filter: sepia(.65) brightness(.8); }
.inspiration { align-items: flex-start; }
.content-section p { max-width: 60ch; margin-bottom: .6em; color: var(--muted); }
.content-section a { color: var(--gold); text-decoration: underline; text-underline-offset: .25em; }
.artist-details {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(32px, 4vw, 64px);
  font-size: 16px;
}
.artist-details > section { min-width: 0; }
.press-column { min-width: 0; display: grid; align-content: start; gap: 32px; }
.artist-aside { min-width: 0; display: grid; align-content: start; gap: 32px; padding-left: clamp(20px, 2.5vw, 40px); border-left: 1px solid var(--line); }
.artist-aside #about .editorial-split { display: block; }
.artist-aside #about .editorial-split > .editorial-photo { float: right; width: min(38%, 230px); margin: 0 0 14px 20px; }
.artist-aside #about .editorial-split::after { content: ""; display: block; clear: both; }
.artist-aside #about .editorial-photo img { width: 100%; }
.press-column #contact { padding-top: 24px; border-top: 1px solid var(--line); }
.press-column #contact::before { content: none; }
.artist-details h2 { margin-bottom: .5em; font-size: clamp(28px, 2.1vw, 40px); line-height: 1.1; }
.artist-details .detail-icon { flex: none; width: clamp(66px, 5vw, 80px); height: clamp(66px, 5vw, 80px); padding: 9px; border: 1px solid var(--line); border-radius: 50%; object-fit: contain; filter: sepia(.65); }
[data-theme="light"] .artist-details .detail-icon { filter: sepia(.65) brightness(.65); }
.artist-details #contact { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.artist-details #contact h2 { justify-content: flex-end; }
.artist-details .contact-email { font-size: clamp(15px, 1.05vw, 19px); }
.contact-socials { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.contact-socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.contact-socials a:hover, .contact-socials a:focus-visible { background: var(--surface); border-color: var(--gold); transform: translateY(-2px); }
.contact-socials svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.contact-socials svg .social-dot { fill: currentColor; stroke: none; }
.contact-socials a:last-child svg { fill: currentColor; stroke: none; }
.artist-details #press .editorial-disclosure { margin: 12px 0; }
.artist-details #press .editorial-photos { margin-top: 10px; }
.artist-details p:last-child { margin-bottom: 0; }
.artist-details #contact a { overflow-wrap: anywhere; }
.gallery-works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 32px); }
.art-card { display: grid; align-content: start; gap: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--heading); padding: clamp(10px, 1.2vw, 20px); text-align: left; }
.art-card img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: contain; background: var(--background); }
.art-card span { font: 1.2rem/1.25 var(--serif); overflow-wrap: anywhere; }
@media (max-width: 1000px) { .gallery-works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gallery-works { grid-template-columns: minmax(0, 1fr); } }
footer { border-top: 1px solid var(--line); }
.site-footer .artist-details { border-top: 0; }
.site-footer .artist-details::before { content: none; }
.footer-bottom { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 24px 10.55%; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-credit { text-align: right; }
.footer-credit strong { color: var(--heading); font-weight: 600; }
.footer-lab {
  --lab-metal: linear-gradient(112deg, #b79760 12%, #f9e7bf 38%, #cbaa73 54%, #fcf0d3 70%, #bb9a64 88%);
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--antique);
  text-underline-offset: .2em;
  transition: background-position .55s ease, text-shadow .25s ease;
}
[data-theme="light"] .footer-lab {
  --lab-metal: linear-gradient(112deg, #674822 12%, #88602e 38%, #6a4a24 54%, #93692f 70%, #6b4a24 88%);
}
@media (forced-colors: none) {
  .footer-lab {
    background: var(--lab-metal) 0 50% / 230% 100%;
    background-clip: text;
    color: transparent;
  }
}
.footer-lab:is(:hover, :focus-visible) { background-position: 100% 50%; text-shadow: 0 0 .65em var(--line); }
@media (max-width: 820px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-credit { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-lab { transition: none; }
}
.footer-symbol { display: inline-block; padding-inline: .25em; text-underline-offset: .25em; }
.footer-symbol:hover, .footer-symbol:focus-visible { color: var(--gold); text-decoration: underline; }
#enquiry-form { display: grid; gap: .85rem; }
#enquiry-form label { display: grid; gap: .35rem; }
#enquiry-form input, #enquiry-form textarea { width: 100%; font: inherit; padding: .55rem; background: var(--background); color: var(--text); border: 1px solid var(--line); }
#enquiry-form > button { justify-self: start; }
#enquiry-feedback { margin: 0; }
.studio-entry { white-space: pre-line; }

dialog { width: min(860px, calc(100% - 28px)); max-height: 92dvh; padding: clamp(14px, 3vw, 26px); color: var(--text); background: var(--surface); border: 1px solid var(--line); }
dialog::backdrop { background: rgb(0 0 0 / .77); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.dialog-head h2 { font-size: clamp(25px, 4vw, 38px); }
.dialog-head button, .tour-controls button { border: 1px solid var(--line); background: var(--background); color: var(--gold); padding: 4px 12px; min-height: 36px; }
#search-dialog { max-width: 520px; }
#search-query { width: 100%; padding: 8px; }
#search-results { padding-left: 24px; }
#search-results a { text-decoration: underline; }
.lightbox-image { display: grid; grid-template-columns: minmax(0, 1fr); max-height: 62dvh; overflow: auto; margin-bottom: 10px; background: var(--background); touch-action: pan-y pinch-zoom; }
.lightbox-image img { width: var(--work-zoom, 100%); max-width: none; justify-self: safe center; height: auto; }
.lightbox-image:not(.is-zoomed) img { max-height: 58dvh; object-fit: contain; }
.lightbox-image.is-zoomed { touch-action: auto; }
#lightbox.is-fullscreen { width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; }
#lightbox.is-fullscreen .lightbox-image { max-height: 72dvh; }
#lightbox.is-fullscreen .lightbox-image:not(.is-zoomed) img { max-height: 68dvh; }
.work-controls { align-items: center; }
.work-controls label { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.work-controls button:disabled { opacity: .45; cursor: default; }
.tour-stage { height: min(calc(55dvh + 160px), 580px); perspective: 700px; overflow: hidden; background: #201914; }
.tour-space { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(var(--depth, 0px)) rotateY(var(--rotation, 0deg)); transition: transform .5s ease; }
.tour-wall { position: absolute; display: grid; place-items: center; top: 0; height: 100%; background: radial-gradient(ellipse at 50% 10%, #8b7050, #3d3026 55%, #201a17); box-shadow: inset 0 0 40px #15110e; }
.front-wall { left: 21%; width: 58%; transform: translateZ(-210px); }
.left-wall, .right-wall { width: 420px; }
.left-wall { right: 79%; transform-origin: right; transform: translateZ(-210px) rotateY(90deg); }
.right-wall { left: 79%; transform-origin: left; transform: translateZ(-210px) rotateY(-90deg); }
.tour-floor { position: absolute; bottom: 0; left: 21%; width: 58%; height: 420px; transform-origin: bottom; transform: translateZ(-210px) rotateX(90deg); background: repeating-linear-gradient(84deg, #554434 0 30px, #392e25 32px 34px); }
.tour-controls { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.room-preview { position: relative; max-width: 100%; width: fit-content; margin: auto; }
.preview-background { max-height: 55dvh; }
.preview-work { position: absolute; left: var(--room-x, 50.75%); top: var(--room-y, 37.45%); width: var(--room-size, 15.5%); height: var(--room-height, 65.4%); padding: .5%; background: #151310; object-fit: contain; transform: translate(-50%, -50%); pointer-events: none; }
.preview-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-top: 14px; }
.preview-controls input { display: block; width: 100%; }
#room-error { grid-column: 1 / -1; }

@media (max-width: 1120px) {
  .site-header { padding-left: 3%; gap: 12px; }
  .site-header nav { gap: 13px; }
}
@media (min-width: 921px) and (max-width: 1020px) {
  .site-header { gap: 6px; }
  .site-header nav { gap: 4px; }
  .site-header nav a { letter-spacing: .025em; }
  .header-tools { gap: 6px; }
}
@media (max-width: 920px) {
  html { scroll-padding-top: 76px; }
  .site-header { height: 70px; padding-inline: 5%; min-width: 0; }
  .brand span { font-size: clamp(26px, 7vw, 36px); }
  .brand-art { width: clamp(34px, 10.5vw, 52px); }
  .header-tools { gap: 13px; }
  .header-tools .icon-button { font-size: 23px; }
  .theme-toggle { scale: .81; margin-inline: -3px; }
  .menu-toggle { display: grid; }
  #locale { display: none; }
  .menu-open #locale { display: block; position: absolute; right: 5%; top: calc(100% + 14px); z-index: 1; }
  .site-header nav { display: none; }
  .menu-open nav { position: absolute; top: 100%; inset-inline: 0; display: grid; gap: 0; background: var(--header); border-bottom: 1px solid var(--line); padding: 5px 5% 12px; }
  .menu-open nav a { width: fit-content; font-size: 13px; }
  .hero { height: clamp(426px, 110vw, 510px); }
  .hero-visual { inset: 0; }
  .hero-visual img { object-position: center top; }
  .hero-visual::after { background: linear-gradient(0deg, var(--hero-base) 2%, rgb(8 9 8 / .67) 41%, transparent 77%), linear-gradient(90deg, rgb(0 0 0 / .70), transparent 84%); }
  [data-theme="light"] .hero-visual::after { background: linear-gradient(0deg, var(--hero-base) 1%, rgb(244 235 221 / .96) 49%, transparent 83%); }
  .hero-copy { top: 32.5%; left: 6.7%; width: min(255px, 69%); }
  .eyebrow { font-size: 15px; }
  .hero h1 { font-size: clamp(37px, 10vw, 52px); }
  .hero-description { font-size: 15px; line-height: 1.5; margin: .95em 0 1.25em; }
  .gold-button { min-height: 40px; font-size: 12px; }
  .hero-arrow { display: none; }
  .slider { bottom: 8px; left: 50%; translate: -50%; gap: 6px; }
  .slider button { width: 24px; min-width: 24px; height: 27px; display: grid; place-items: center; }
  .slider button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); opacity: .35; }
  .slider button[aria-pressed="true"] { border: 0; }
  .slider button[aria-pressed="true"]::before { background: var(--heading); opacity: 1; }
  .slider span { display: none; }
  .showcase { display: flex; flex-direction: column; align-items: stretch; }
  #museum { display: block; }
  .room.showcase { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .room .room-copy { grid-column: 1; grid-row: 1; }
  .room .room-scene { grid-column: 1; grid-row: 2; min-height: 0; height: clamp(300px, 70vw, 430px); }
  .room-work { left: 42%; width: 49%; }
  .room .museum-copy { grid-column: 1; grid-row: 3; }
  .room-scene::after { background: linear-gradient(0deg, var(--background), transparent 12%); }
  .showcase .showcase-copy { width: auto; margin: 0; align-self: auto; padding: 10px 7% 29px; }
  .showcase h2 { font-size: 31px; }
  .showcase p { max-width: 44ch; }
  .content-section { padding-inline: 7%; }
}
@media (max-width: 800px) {
  .artist-details { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 18px; }
  .artist-details section + section { padding-top: 14px; border-top: 1px solid var(--line); }
}
@media (min-width: 356px) and (max-width: 400px) {
  .site-header { padding-inline: 4%; gap: 4px; }
  .header-tools { gap: 6px; }
}
@media (max-width: 355px) {
  .site-header { padding-inline: 4%; gap: 4px; }
  .header-tools { gap: 5px; }
  .brand span { font-size: 22px; }
  .hero-copy { top: 29%; }
  .hero h1 { font-size: 34px; }
  .hero-description { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tour-space { transition: none; }
}


.preview-tip { grid-column: 1 / -1; color: var(--muted); }




#gallery-works > section + section { margin-top: 32px; }
#gallery-works h3 { color: var(--gold); margin: 0 0 16px; }
.tour-controls { align-items: center; flex-wrap: wrap; }
.tour-controls[hidden] { display: none; }
.tour-controls button:disabled { opacity: .5; }
.tour-work { display: grid; place-items: center; width: 58%; height: 72%; background: transparent; border: 0; padding: 0; }
.tour-work img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border: 4px solid #221914; }
#work-details { margin: 0 0 12px; }
.tour-space { pointer-events: none; }
.tour-work { pointer-events: auto; }

.gallery-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 12px; }
#gallery .gallery-toolbar h2 { flex: none; margin: 0; white-space: nowrap; }
.catalog-tools { display: flex; flex: 1 1 900px; flex-wrap: wrap; align-items: end; gap: 12px; min-width: 0; }
.catalog-tools label { display: grid; gap: 4px; max-width: 100%; }
.catalog-tools > a, .catalog-tools > #artwork-results { align-self: end; margin: 0 0 11px; white-space: nowrap; }
.catalog-tools > #artwork-results { color: var(--muted); }
@media (min-width: 1400px) {
  #gallery { padding-inline: 6%; }
  .gallery-toolbar { flex-wrap: nowrap; }
  .catalog-tools { flex-wrap: nowrap; }
  .catalog-tools label { min-width: 0; }
  .catalog-tools label:first-child { flex: 1 1 170px; }
  .catalog-tools label:nth-child(2) { flex: 1 1 185px; }
  .catalog-tools label:nth-child(3) { flex: 1 1 150px; }
  .catalog-tools input, .catalog-tools select { width: 100%; }
  .catalog-tools > #artwork-results { margin-left: auto; }
}
.catalog-tools input, .catalog-tools select, .catalog-tools button {
  max-width: 100%; min-height: 42px; padding: 8px 12px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); font: inherit;
}
.catalog-tools input:focus-visible, .catalog-tools select:focus-visible, .catalog-tools button:focus-visible { outline: 2px solid var(--gold); }
.art-card[hidden] { display: none; }
.art-card:hover { border-color: var(--gold); }
.editorial-split, .editorial-grid, .editorial-photos { display: grid; gap: clamp(16px, 3vw, 36px); }
.editorial-split { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; }
.editorial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.editorial-grid article { border-top: 1px solid var(--gold); padding-top: 14px; }
.editorial-grid h3 { margin: 0 0 .4em; }
.editorial-photos { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 280px)); }
.editorial-photo { margin: 0 0 12px; }
.editorial-photo img { display: block; width: 100%; height: auto; }
.editorial-photo figcaption { padding: 8px 0; font-size: .875rem; color: var(--muted); }
@media (min-width: 921px) {
  #exhibitions .editorial-grid > article > figure.editorial-photo > a { display: block; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--line); }
  #exhibitions .editorial-grid > article > figure.editorial-photo > a img { height: 100%; object-fit: cover; object-position: center; }
  #exhibitions [data-exhibition="artshow"] > figure.editorial-photo + p { margin-top: 14px; }
}
.editorial-disclosure { margin: 14px 0; }
.editorial-disclosure summary { color: var(--gold); cursor: pointer; padding-block: 8px; }
.editorial-split blockquote { margin: 1em 0 .5em; padding-inline-start: 1em; border-inline-start: 1px solid var(--gold); }
#work-inquiry { color: var(--gold); }
.tour-work img { min-width: 0; min-height: 0; }
@media (max-width: 920px) {
  .editorial-split, .editorial-grid, .artist-details { grid-template-columns: minmax(0, 1fr); }
  .editorial-split > .editorial-photo { max-width: 420px; }
  .artist-aside { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .artist-aside #about .editorial-split > .editorial-photo { float: none; width: min(100%, 300px); margin: 0 0 18px; }
}

footer, footer nav { flex-wrap: wrap; }
footer nav { display: flex; gap: 8px 20px; }
/* Cubist Spectrum: one tile per 8-second loop, with a fixed fade at the ends. */
:is(main, footer) {
  --spectrum-turquoise: #63b6af;
  --spectrum-gold: #cfab68;
  --spectrum-magenta: #b86b93;
  --spectrum-violet: #8b78b5;
}
[data-theme="light"] :is(main, footer) {
  --spectrum-turquoise: #3c827e;
  --spectrum-gold: #a48142;
  --spectrum-magenta: #a45b80;
  --spectrum-violet: #74619f;
}

:is(.content-section, .showcase, footer, #gallery-works > section, .editorial-grid article,
  .artist-details section, .art-card) {
  position: relative;
}
:is(.content-section, .room, footer, .editorial-grid article) {
  border-top-color: transparent;
}

:is(.content-section, .showcase, footer, #gallery-works > section + section,
  .editorial-grid article, .artist-details section + section, .art-card)::before,
.editorial-grid article + article::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
  inset: var(--spectrum-inset, -1px 0 auto);
  width: var(--spectrum-width, 100%);
  height: var(--spectrum-height, 1px);
  background-image: repeating-linear-gradient(var(--spectrum-angle, 90deg),
    var(--spectrum-turquoise) 0%, var(--spectrum-gold) 12.5%,
    var(--spectrum-magenta) 25%, var(--spectrum-violet) 37.5%, var(--spectrum-turquoise) 50%);
  background-size: var(--spectrum-size, 200% 100%);
  mask-image: linear-gradient(var(--spectrum-angle, 90deg), transparent, #000 5%, #000 95%, transparent);
  animation: var(--spectrum-animation, spectrum-across) 8s linear infinite;
}
.showcase::before { --spectrum-inset: 0 0 auto; }
#gallery-works > section + section::before { --spectrum-inset: -4px 0 auto; }

@keyframes spectrum-across {
  from { background-position: 100% 0; }
  to { background-position: 0 0; }
}
@keyframes spectrum-down {
  from { background-position: 0 100%; }
  to { background-position: 0 0; }
}

@media (min-width: 521px) {
  .art-card::before {
    --spectrum-angle: 180deg;
    --spectrum-inset: 0 auto 0 -4px;
    --spectrum-width: 1px;
    --spectrum-height: 100%;
    --spectrum-size: 100% 200%;
    --spectrum-animation: spectrum-down;
  }
}
@media (min-width: 1001px) {
  .art-card:nth-child(3n + 1 of :not([hidden]))::before { content: none; }
}
@media (min-width: 521px) and (max-width: 1000px) {
  .art-card:nth-child(2n + 1 of :not([hidden]))::before { content: none; }
}
@media (max-width: 520px) {
  .art-card::before { --spectrum-inset: -4px 0 auto; }
  .art-card:nth-child(1 of :not([hidden]))::before { content: none; }
}
@media (min-width: 921px) {
  .artist-details section + section::before,
  .editorial-grid article + article::after {
    --spectrum-angle: 180deg;
    --spectrum-inset: 0 auto 0 -4px;
    --spectrum-width: 1px;
    --spectrum-height: 100%;
    --spectrum-size: 100% 200%;
    --spectrum-animation: spectrum-down;
  }
}
@media (max-width: 920px) {
  .artist-details section + section { border-top-color: transparent; }
  .artist-details section + section::before { --spectrum-inset: -4px 0 auto; }
  .editorial-grid article + article::after { content: none; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.content-section, .showcase, footer, #gallery-works > section + section,
    .editorial-grid article, .artist-details section + section, .art-card)::before,
  .editorial-grid article + article::after { animation: none; }
}
/* Compact Art Player */
.art-player {
  position: relative;
  display: flex;
  align-items: center;
  flex: none;
  gap: 3px;
  width: 220px;
  height: 34px;
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: transparent;
  color: var(--gold);
  isolation: isolate;
}
.art-player-control, .art-player-title {
  flex: none;
  display: grid;
  place-items: center;
  height: 26px;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: 13px;
  line-height: 1;
}
.art-player-control { width: 20px; }
.art-player-play { width: 25px; height: 25px; border: 1px solid var(--line); border-radius: 50%; font-size: 10px; }
.art-player-play-glyph { transform: translateX(1px); }
.art-player.is-playing .art-player-play-glyph { transform: none; font-size: 12px; }
.art-player-spectrum { width: 40px; height: 22px; flex: none; }
.art-player-title { display: block; flex: 1; min-width: 0; overflow: hidden; text-align: left; font-size: 11px; white-space: nowrap; }
.art-player-title span { display: inline-block; min-width: 100%; }
.art-player.is-playing .art-player-title span { animation: art-player-marquee 10s linear 2s infinite alternate; }
@keyframes art-player-marquee { from { transform: translateX(0); } to { transform: translateX(min(0px, calc(75px - 100%))); } }
.art-player-volume, .art-player-playlist {
  position: absolute;
  z-index: 10;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--header);
  box-shadow: 0 10px 25px rgb(0 0 0 / .25);
}
.art-player-volume label { display: block; font-size: 11px; }
.art-player-volume input { width: 100%; accent-color: var(--gold); }
.art-player-playlist button { display: block; width: 100%; border: 0; border-radius: 5px; padding: 7px 8px; background: transparent; color: var(--text); text-align: left; font-size: 12px; }
.art-player-playlist button:hover, .art-player-playlist button[aria-current="true"] { background: var(--surface); color: var(--gold); }
.art-player :is(button, input):focus-visible { outline-offset: 1px; }
@media (max-width: 1320px) {
  .art-player { width: 65px; padding-inline: 5px; }
  .art-player-title, .art-player-desktop { display: none; }
  .art-player-spectrum { width: 27px; }
  .art-player { gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .art-player.is-playing .art-player-title span { animation: none; }
}
@media (max-width: 920px) {
  .art-player {
    position: absolute;
    z-index: 3;
    top: calc(100% + 8px);
    right: 5%;
    background: var(--header);
    box-shadow: 0 3px 14px rgb(0 0 0 / .25);
  }
}
.art-player-control svg { width: 15px; height: 15px; stroke-width: 1.5; }

.art-player-title .art-player-brand { display: block; font-size: 9px; line-height: 11px; color: var(--heading); }
.art-player-title .art-player-track { display: block; line-height: 11px; }
.art-player.is-playing .art-player-title .art-player-brand { animation: none; }
