/* Audio controls are shared by the editor and the published page. */
.canvas-flow-stage { isolation: isolate; }
.gallery-thumbnail-card { display: block; position: relative; box-sizing: border-box; min-width: 0; max-width: 100%; margin: 0; padding: 0; align-self: start; }
.gallery-thumbnail-caption { display: block; box-sizing: border-box; min-width: 0; max-width: 100%; margin: 0; padding: 8px 0 12px; color: var(--ink,#171717); font: 11px/1.5 var(--site-font-family,Arial,sans-serif); text-align: left; white-space: pre-wrap; overflow-wrap: break-word; }
.gallery-thumbnail-caption[hidden] { display: none; }
.gallery-thumbnail-caption .artwork-caption-text { font-size: inherit; }
.gallery-thumbnail-caption .artwork-caption-heading + .artwork-description { margin-top: 4px; }
.sound-player { width: 100%; min-width: 0; color: var(--ink, #171717); font-size: 14px; line-height: 1.4; }
.sound-track-title { font-size: 12px; line-height: 1.4; margin: 0 0 4px; overflow-wrap: break-word; }
.sound-audio { display: block; width: 100%; min-height: 40px; }
.sound-album-title { margin: 0 0 6px; font-size: 15px; font-weight: 600; overflow-wrap: break-word; }
.sound-transport { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 4px; }
.sound-transport span { min-width: 44px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }
.sound-transport button { display: grid; place-items: center; width: 40px; min-height: 40px; padding: 0; border: 1px solid var(--rule, #dedede); border-radius: 0; background: transparent; color: inherit; font: 24px/1 Arial, sans-serif; cursor: pointer; }
.sound-transport button:disabled { opacity: .35; cursor: default; }
.sound-error { margin: 4px 0; font-size: 11px; }
.sound-error:empty { display: none; }
.sound-track-list { margin: 6px 0 0; padding-inline-start: 24px; }
.sound-track-list li { padding: 3px 0; }
.sound-track-list button { font: inherit; font-size: 12px; text-align: left; padding: 5px 6px; color: inherit; background: transparent; border: 1px solid transparent; cursor: pointer; overflow-wrap: break-word; }
.sound-track-list button[aria-current="true"] { border-color: var(--rule, #dedede); font-weight: 600; }
:is(.canvas-object,.public-canvas-object).video-natural-size > video { display: block; width: 100%; height: auto; aspect-ratio: auto 16 / 9; object-fit: contain; }

html:has(.public-canvas-stage) { scrollbar-gutter: stable; }
body main.has-public-canvas, body main.editorial-main.has-public-canvas { padding-inline: 0; }
body main.has-public-canvas .public-canvas, body main.has-public-canvas .public-canvas-stage {
  width: 100%;
  max-width: none;
}

.site-header.adjustable-site-header {
  position: sticky;
  top: 0;
  z-index: 35;
  background: var(--paper, #fff);
  height: var(--header-height);
  min-height: var(--header-height);
  padding: 0;
}
.site-header.adjustable-site-header > .wordmark {
  position: absolute;
  left: var(--brand-x);
  top: var(--brand-y);
  transform: translate(calc(-1 * var(--brand-x)), calc(-1 * var(--brand-y)));
  font-size: var(--brand-size);
  font-family: var(--brand-font);
  font-weight: 600;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: break-word;
  max-width: 100%;
}
.site-header.adjustable-site-header > :is(.desktop-nav,.mobile-menu) {
  position: absolute;
  left: var(--menu-x);
  top: var(--menu-y);
  transform: translate(calc(-1 * var(--menu-x)), calc(-1 * var(--menu-y)));
  font-size: var(--menu-size);
  font-family: var(--menu-font);
  font-weight: 400;
  line-height: 1.25;
  width: max-content;
  max-width: 100%;
}
.site-header.adjustable-site-header > .desktop-nav { justify-content: flex-start; }
.site-header.adjustable-site-header :is(.mobile-menu > summary, .mobile-nav, .nav-submenu) {
  font-family: var(--menu-font);
  font-size: var(--menu-size);
}
@media (max-width: 700px), (max-height: 700px) and (hover: none) and (pointer: coarse) {html:where(:not([data-site-device])):has(.public-canvas-stage){ scrollbar-gutter: auto; scrollbar-width: none; }
}
html:where([data-site-device="mobile"]):has(.public-canvas-stage){ scrollbar-gutter: auto; scrollbar-width: none; }

.site-header.adjustable-site-header[data-menu-side="left"] .mobile-nav { left: 0; right: auto; }

.sound-album:empty { display: none; }
.sound-album-cover { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; margin: 0 0 8px; }
.sound-album-artist { margin: 0 0 6px; color: var(--quiet, #777); font-size: 12px; overflow-wrap: break-word; }
/* The artwork viewer fits the whole image within its panel. */
.artwork-viewer-stage { display: grid; place-items: center; width: 100%; height: 100%; min-width: 0; min-height: 0; overflow: hidden; }
.artwork-viewer-stage, .viewer-image-stage { grid-template: minmax(0,1fr) / minmax(0,1fr); }
.artwork-viewer-work { display: contents; }
.canvas-lightbox .artwork-viewer-stage { grid-column: 2; grid-row: 1; }
.canvas-lightbox .artwork-viewer-stage > img { display: block; width: auto; height: auto; max-width: min(100%, 1400px); max-height: min(100%, 82dvh); object-fit: contain; }

/* Archive expands within the existing mobile panel. */
nav.mobile-nav:has(> .nav-parent) {
  --archive-menu-inset: 18px;
  width: 180px;
  min-width: 0;
  max-width: calc(100vw - 32px);
  padding-inline: 0;
  max-height: min(70dvh, 520px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
nav.mobile-nav:has(> .nav-parent) a { overflow-wrap: break-word; }
nav.mobile-nav:has(> .nav-parent) > :not(.nav-parent) { margin-inline: var(--archive-menu-inset); }
nav.mobile-nav > .nav-parent { position: relative; display: block; min-width: 0; }
nav.mobile-nav > .nav-parent > a {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: var(--archive-menu-inset);
  display: flex;
  align-items: center;
  min-height: 40px;
}
nav.mobile-nav > .nav-parent > details { position: static; }
nav.mobile-nav > .nav-parent > details > summary {
  display: grid;
  place-items: center;
  margin-inline: auto 9px;
  width: 40px;
  min-height: 40px;
  padding: 0;
}
nav.mobile-nav > .nav-parent > details > summary::after { content: "▾"; padding: 0; font-size: 18px; line-height: 1; }
nav.mobile-nav > .nav-parent > details[open] > summary::after { transform: rotate(180deg); }
nav.mobile-nav > .nav-parent > details > .nav-submenu {
  display: grid;
  position: static;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 12px var(--archive-menu-inset);
  border: 0;
  border-top: 1px solid var(--rule, #dedede);
  gap: 12px;
}
nav.mobile-nav > .nav-parent > details:not([open]) > .nav-submenu { display: none; }
nav.mobile-nav > .nav-parent:has(> details[open]) ~ * { display: none; }
body[data-content-page="archive"] main > :is(.page-heading, #archive-filters) { display: none; }
body[data-content-page="archive"] main > #gallery-grid { margin-top: 30px; }

.canvas-copy-run { text-decoration-line: var(--canvas-copy-underline, none); }
.has-text-box {
  box-sizing: border-box;
  border-width: 1px;
  border-style: solid;
  overflow-wrap: break-word;
}
.artwork-description, .artwork-caption-text, .artwork-caption-heading {
  display: block;
  box-sizing: border-box;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  font-size: 12px;
  line-height: 1.5;
}
.artwork-caption-text { color: var(--ink,#171717); }
.artwork-caption-text > span { font-size: inherit; }
.artwork-caption-heading { text-decoration-line: var(--canvas-copy-underline, none); }
.artwork-caption-heading + .artwork-description { margin-top: 8px; }
.canvas-lightbox-caption, .viewer-details, .legacy-artwork-caption {
  min-width: 0;
  max-height: 38dvh;
  overflow-y: auto;
  overflow-wrap: break-word;
  white-space: pre-wrap;
}
.canvas-lightbox-caption { width: 100%; box-sizing: border-box; }
.gallery-lightbox.open.has-artwork-caption {
  display: grid;
  grid-template: minmax(0,1fr) auto / minmax(0,1fr);
}
.has-artwork-caption .gallery-lightbox-image { max-width: 100%; max-height: 100%; }
.legacy-artwork-caption { padding: 12px; text-align: center; font-size: 12px; }
.youtube-video { display: grid; width: 100%; height: 100%; place-items: center; overflow: hidden; background: #f5f5f5; }
.youtube-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.youtube-video-preview { position: relative; font-size: 12px; color: #666; text-align: center; }
.youtube-preview-open { display: block; position: absolute; inset: 0; color: #fff; background: #eee; }
.youtube-preview-open > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.youtube-preview-label { position: absolute; inset: auto 0 0; padding: 9px; background: #111c; color: white; font-size: 12px; }
.video-natural-size > .youtube-video-preview { height: auto; aspect-ratio: 16 / 9; }
.youtube-frame { min-width: 200px; min-height: 200px; }
.youtube-frame > .youtube-video { min-height: 200px; }
.youtube-frame:not(.video-natural-size), .youtube-frame:not(.video-natural-size) > .youtube-video { min-width: 0; min-height: 0; }
.video-natural-size > .youtube-video { height: auto; min-height: 200px; aspect-ratio: 16 / 9; }

@media (max-width: 700px), (max-height: 700px) and (hover: none) and (pointer: coarse) {:where(html:not([data-site-device])) .canvas-lightbox,:where(html:not([data-site-device])) .gallery-lightbox.open.has-artwork-caption,:where(html:not([data-site-device])) .viewer-frame{
    grid-template-rows: minmax(0,1fr);
  }:where(html:not([data-site-device])) .artwork-viewer-work{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 0;
    max-height: 100%;
  }:where(html:not([data-site-device])) .canvas-lightbox .artwork-viewer-work{ grid-column: 2; grid-row: 1; }:where(html:not([data-site-device])) .artwork-viewer-work .artwork-viewer-stage{ height: auto; }:where(html:not([data-site-device])) .canvas-lightbox .artwork-viewer-stage > img,:where(html:not([data-site-device])) .has-artwork-caption .gallery-lightbox-image{ max-height: min(64dvh, calc(72dvh - 44px)); }:where(html:not([data-site-device])) .canvas-lightbox .canvas-lightbox-caption,:where(html:not([data-site-device])) .legacy-artwork-caption{ padding-block: 0; max-height: 28dvh; }:where(html:not([data-site-device])) .canvas-lightbox-caption:empty{ display: none; }:where(html:not([data-site-device])) .viewer-frame .viewer-image{ max-height: min(60dvh, calc(72dvh - 98px)); }:where(html:not([data-site-device])) .viewer-frame .viewer-caption{ min-height: 0; padding-top: 0; border-top: 0; }:where(html:not([data-site-device])) .viewer-frame .viewer-details{ max-height: 28dvh; }
}
:where(html[data-site-device="mobile"]) .canvas-lightbox,:where(html[data-site-device="mobile"]) .gallery-lightbox.open.has-artwork-caption,:where(html[data-site-device="mobile"]) .viewer-frame{
    grid-template-rows: minmax(0,1fr);
  }:where(html[data-site-device="mobile"]) .artwork-viewer-work{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 0;
    max-height: 100%;
  }:where(html[data-site-device="mobile"]) .canvas-lightbox .artwork-viewer-work{ grid-column: 2; grid-row: 1; }:where(html[data-site-device="mobile"]) .artwork-viewer-work .artwork-viewer-stage{ height: auto; }:where(html[data-site-device="mobile"]) .canvas-lightbox .artwork-viewer-stage > img,:where(html[data-site-device="mobile"]) .has-artwork-caption .gallery-lightbox-image{ max-height: min(64dvh, calc(72dvh - 44px)); }:where(html[data-site-device="mobile"]) .canvas-lightbox .canvas-lightbox-caption,:where(html[data-site-device="mobile"]) .legacy-artwork-caption{ padding-block: 0; max-height: 28dvh; }:where(html[data-site-device="mobile"]) .canvas-lightbox-caption:empty{ display: none; }:where(html[data-site-device="mobile"]) .viewer-frame .viewer-image{ max-height: min(60dvh, calc(72dvh - 98px)); }:where(html[data-site-device="mobile"]) .viewer-frame .viewer-caption{ min-height: 0; padding-top: 0; border-top: 0; }:where(html[data-site-device="mobile"]) .viewer-frame .viewer-details{ max-height: 28dvh; }


body main.has-public-canvas .public-canvas { background: var(--paper, #fff); }

.image-frame-content { position: relative; width: 100%; height: 100%; overflow: hidden; }
:is(.canvas-object,.public-canvas-object) > .image-frame-content > img { display: block; width: 100%; height: 100%; }
.home-natural-image > .image-frame-content,
:is(.canvas-object,.public-canvas-object).home-natural-image > .image-frame-content > img { height: auto; }
.has-image-crop > .image-frame-content > img {
  position: absolute;
  inset: 0 auto auto 0;
  width: var(--cropped-image-width);
  height: auto;
  max-width: none;
  max-height: none;
  transform: translate(var(--cropped-image-x), var(--cropped-image-y));
}

.canvas-social-icon { display:block; aspect-ratio:1; width:100%; color:#111; }
.canvas-social-icon svg { display:block; width:100%; height:100%; }
.canvas-social-icon:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
.contact-message-section { box-sizing:border-box; width:min(560px,100% - 32px); margin:0 auto 64px; color:var(--ink,#171717); text-align:left; }
.canvas-flow-stage > .contact-message-section { position:absolute; inset-inline:0; margin:0 auto; }
.contact-message-section h2 { margin:0 0 8px; font-size:22px; font-weight:400; }
.contact-message-email { margin:0 0 24px; font-size:14px; }
.contact-message-email a,.contact-message-status a { text-decoration:underline; }
.contact-message-form { display:grid; gap:16px; }
.contact-message-form label { display:grid; gap:6px; font:inherit; font-size:14px; }
.contact-message-form label span { color:var(--quiet,#777); }
.contact-message-form input,.contact-message-form textarea { box-sizing:border-box; display:block; width:100%; padding:11px 12px; background:var(--paper,#fff); color:inherit; border:1px solid #999; border-radius:0; font:inherit; line-height:1.5; }
.contact-message-form textarea { resize:none; min-height:9rem; overflow:hidden; }
.contact-message-form :is(textarea,input):focus-visible { outline:1px solid currentColor; outline-offset:2px; }
.contact-form-trap { position:absolute; overflow:hidden; clip-path:inset(50%); width:1px; height:1px; }
.contact-message-actions { display:flex; align-items:center; gap:12px 18px; flex-wrap:wrap; }
.contact-message-actions button { min-height:44px; padding:8px 16px; color:white; background:#111; border:1px solid #111; font:inherit; cursor:pointer; }
.contact-message-actions button:disabled { opacity:.55; cursor:default; }
.contact-message-status { margin:0; font-size:14px; }
.contact-message-status:empty { display:none; }
/* Let the browser zoom the whole page instead of scaling inside an image frame. */
:is(.viewer,.canvas-lightbox,.gallery-lightbox,.artwork-viewer-stage,.viewer-image-stage) { touch-action:auto; }
@media (max-width: 700px), (max-height: 700px) and (hover: none) and (pointer: coarse) {:where(html:not([data-site-device])) .contact-message-form input,:where(html:not([data-site-device])) .contact-message-form textarea{ font-size:16px; }
}
:where(html[data-site-device="mobile"]) .contact-message-form input,:where(html[data-site-device="mobile"]) .contact-message-form textarea{ font-size:16px; }

/* Gallery media share the same frame, with a quiet play mark for videos. */
.gallery-thumbnail > video { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:var(--gallery-fit,contain); pointer-events:none; }
.gallery-video-tile { background:#171717; }
.gallery-play-badge { position:absolute; width:44px; height:44px; left:50%; top:50%; transform:translate(-50%,-50%); pointer-events:none; filter:drop-shadow(0 1px 3px #0008); }
.gallery-natural-thumbnails .gallery-thumbnail > video { position:static; height:auto; aspect-ratio:16/9; }
.canvas-shape,[data-shape-frame] { display:block; width:100%; height:100%; overflow:visible; }
.canvas-shape { pointer-events:none; }
:is(.canvas-lightbox,.gallery-lightbox,.viewer-frame) .artwork-viewer-work { display:flex; flex-direction:column; align-items:center; justify-content:center; min-width:0; min-height:0; width:100%; height:100%; max-height:100%; gap:8px; }
.canvas-lightbox .artwork-viewer-work { grid-column:2; grid-row:1 / -1; }
.artwork-viewer-work > .artwork-viewer-stage { flex:1 1 auto; min-height:0; height:100%; }
.artwork-viewer-work > :is(.canvas-lightbox-caption,.legacy-artwork-caption,.viewer-caption) { flex:0 0 auto; box-sizing:border-box; max-width:100%; padding:0; margin-inline:auto; }
.artwork-viewer-stage > video { display:block; width:100%; height:100%; max-width:1400px; max-height:75dvh; object-fit:contain; }
.viewer-video { width:100%; max-height:75dvh; object-fit:contain; }
@media (max-width: 700px), (max-height: 700px) and (hover: none) and (pointer: coarse) {:where(html:not([data-site-device])) .artwork-viewer-stage > video{ max-height:64dvh; } }
:where(html[data-site-device="mobile"]) .artwork-viewer-stage > video{ max-height:64dvh; } 

/* Native video always keeps the uploaded frame ratio; width determines height. */
:is(.canvas-object,.public-canvas-object).video-natural-size > video { width:100%; height:auto; aspect-ratio:auto; object-fit:contain; }
.artwork-viewer-stage > video { width:auto; height:auto; max-width:min(100%,1400px); max-height:min(100%,75dvh); object-fit:contain; }
.video-playback-controls label:has([data-viewer-video-width]) { display:block; }
@media (max-width: 700px), (max-height: 700px) and (hover: none) and (pointer: coarse) {:where(html:not([data-site-device])) .artwork-viewer-stage > video{ max-height:min(100%,64dvh); } }
:where(html[data-site-device="mobile"]) .artwork-viewer-stage > video{ max-height:min(100%,64dvh); } 

/* Give the artwork the full mobile row and keep navigation below it. */
html[data-site-device="mobile"] :is(.canvas-lightbox,.viewer-frame) {
  box-sizing:border-box;
  padding:max(54px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:minmax(0,auto) 44px auto;
  align-content:center;
  row-gap:8px;
}
html[data-site-device="mobile"] :is(.canvas-lightbox,.viewer-frame) .artwork-viewer-work { display:contents; }
html[data-site-device="mobile"] :is(.canvas-lightbox .artwork-viewer-stage,.viewer-image-stage) {
  grid-area:1 / 1;
  height:auto;
}
html[data-site-device="mobile"] :is(.canvas-lightbox .artwork-viewer-stage > img,.viewer-image,.gallery-lightbox-image) {
  width:100%;
  height:auto;
  max-width:100%;
  max-height:72dvh;
  object-fit:contain;
}
html[data-site-device="mobile"] .gallery-lightbox { padding-inline:8px; }
html[data-site-device="mobile"] :is(.canvas-lightbox-arrow,.viewer-arrow) {
  position:relative;
  inset:auto;
  transform:none;
  grid-area:2 / 1;
  width:44px;
  height:44px;
  padding:0;
  line-height:1;
}
html[data-site-device="mobile"] :is(.canvas-lightbox-arrow.previous,.viewer-prev) { justify-self:start; }
html[data-site-device="mobile"] :is(.canvas-lightbox-arrow.next,.viewer-next) { justify-self:end; }
html[data-site-device="mobile"] :is(.canvas-lightbox-caption,.viewer-caption) {
  grid-area:3 / 1;
  min-width:0;
  min-height:0;
  max-width:100%;
  max-height:20dvh;
  overflow:auto;
  padding:0 4px;
}
html[data-site-device="mobile"] .viewer-swipe > img { touch-action:pan-y pinch-zoom; user-select:none; }

.archive-submenu-bar {
  box-sizing:border-box;
  width:var(--archive-width,92%);
  min-width:0;
  margin:var(--archive-top,0px) 0 clamp(12px,2vw,26px);
  margin-inline-start:var(--archive-left,4%);
  padding:3px 11px;
}
.archive-submenu-editor { position:relative; cursor:pointer; }
.archive-submenu-editor .archive-submenu-links a { cursor:inherit; }
.archive-submenu-editor:is(:hover,:focus-visible) { outline:1px dashed #2775df; }
.archive-submenu-editor.is-editing { outline:1px solid #2775df; z-index:2; }
.archive-submenu-edit-handle {
  display:none;
  position:absolute;
  z-index:1;
  box-sizing:border-box;
  border:1px solid #2775df;
  background:#fff;
  color:#1555aa;
  touch-action:none;
  user-select:none;
}
.archive-submenu-editor.is-editing .archive-submenu-edit-handle { display:block; }
.archive-submenu-move {
  inset-inline-start:0;
  top:100%;
  padding:3px 8px;
  font-size:10px;
  cursor:move;
}
.archive-submenu-resize {
  right:-6px;
  bottom:-6px;
  width:14px;
  height:14px;
  cursor:nwse-resize;
}
.archive-submenu-scroll { position:relative; overflow-x:auto; scrollbar-width:none; }
.archive-submenu-scroll::-webkit-scrollbar { display:none; }
.archive-submenu-links {
  display:flex;
  gap:clamp(16px,2.4vw,36px);
  min-height:var(--archive-height,30px);
  width:max-content;
  align-items:center;
}
.archive-submenu-links a {
  display:block;
  padding:8px 2px;
  color:inherit;
  font-size:var(--archive-font-size,12px);
  white-space:nowrap;
  text-decoration:none;
  text-underline-offset:4px;
}
.archive-submenu-links a:is([aria-current="page"],:hover) { text-decoration:underline; }
.archive-submenu-scrollbar {
  appearance:none;
  display:block;
  width:100%;
  height:18px;
  padding:0;
  margin:0;
  background:transparent;
  cursor:ew-resize;
}
.archive-submenu-scrollbar[hidden] { display:none; }
.archive-submenu-scrollbar::-webkit-slider-runnable-track { height:2px; background:var(--rule,#dedede); }
.archive-submenu-scrollbar::-moz-range-track { height:2px; background:var(--rule,#dedede); }
.archive-submenu-scrollbar::-webkit-slider-thumb {
  appearance:none;
  width:var(--archive-thumb-size,24px);
  height:3px;
  background:#171717;
  border:0;
  border-radius:2px;
}
.archive-submenu-scrollbar::-moz-range-thumb { width:var(--archive-thumb-size,24px); height:3px; background:#171717; border:0; border-radius:2px; }

/* Shared slideshow: the editor and published page use the same frame. */
.art-slideshow{position:relative;width:100%;height:100%;min-height:30px;overflow:hidden;background:transparent;isolation:isolate;box-sizing:border-box;touch-action:pan-y pinch-zoom}
.art-slideshow-stage{position:absolute;inset:0;overflow:hidden}
.slideshow-layer{position:absolute;inset:0;display:grid;place-items:center;transition:transform var(--slideshow-transition,.7s) ease-in-out,opacity var(--slideshow-transition,.7s) ease-in-out;will-change:transform,opacity}
.slideshow-media-box{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0}
.art-slideshow .slideshow-media{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;background:transparent;user-select:none;-webkit-user-drag:none}
.art-slideshow .slideshow-control{position:absolute;z-index:4;display:grid;place-items:center;width:44px;height:52px;padding:8px;border:0;border-radius:0;background:transparent;color:#fff;cursor:pointer;filter:drop-shadow(0 1px 2px #0009);touch-action:manipulation}
.art-slideshow .slideshow-control[hidden]{display:none}
.art-slideshow .slideshow-control svg{display:block;width:100%;height:100%;overflow:visible;pointer-events:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.art-slideshow .slideshow-previous{left:clamp(3px,1.1vw,16px);top:50%;transform:translateY(-50%)}
.art-slideshow .slideshow-next{right:clamp(3px,1.1vw,16px);top:50%;transform:translateY(-50%)}
.art-slideshow .slideshow-toggle{right:14px;bottom:8px;width:34px;height:34px;padding:9px}
.art-slideshow .slideshow-control:focus-visible{outline:1px solid #fff;outline-offset:-3px}
.art-slideshow:focus-visible{outline:1px solid #888;outline-offset:-1px}
.slideshow-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.slideshow-empty{color:#777;font:12px/1.5 Arial,sans-serif;text-align:center;margin:auto;padding:25px}
.art-slideshow:has(.slideshow-empty){background:#f5f5f5}
@media (max-width: 700px), (max-height: 700px) and (hover: none) and (pointer: coarse){:where(html:not([data-site-device])) .art-slideshow .slideshow-control{width:38px;height:44px;padding:9px}:where(html:not([data-site-device])) .art-slideshow .slideshow-toggle{width:32px;height:32px;right:5px;bottom:4px}}
:where(html[data-site-device="mobile"]) .art-slideshow .slideshow-control{width:38px;height:44px;padding:9px}:where(html[data-site-device="mobile"]) .art-slideshow .slideshow-toggle{width:32px;height:32px;right:5px;bottom:4px}
@media(prefers-reduced-motion:reduce){.art-slideshow .slideshow-layer{transition:none}}

/* Every submenu uses an explicit chevron, including older saved pages. */
:is(.desktop-nav,.mobile-nav) .nav-dropdown>summary{list-style:none;cursor:pointer}
:is(.desktop-nav,.mobile-nav) .nav-dropdown>summary::-webkit-details-marker{display:none}
:is(.desktop-nav,.mobile-nav) .nav-dropdown>summary:has(>.submenu-indicator)::after{content:none!important;display:none!important}
:is(.desktop-nav,.mobile-nav) .submenu-indicator{display:inline-block;width:16px;height:16px;flex:none;vertical-align:middle;stroke:currentColor;fill:none;transition:transform .15s ease}
:is(.desktop-nav,.mobile-nav) details[open]>summary>.submenu-indicator{transform:rotate(180deg)}
.desktop-nav>.nav-parent{display:inline-flex;position:relative;align-items:center;gap:2px;min-width:0}
.desktop-nav>.nav-parent>.nav-dropdown>summary{display:grid;place-items:center;min-width:24px;min-height:24px;padding:0}
.desktop-nav>.nav-parent>.nav-dropdown>.nav-submenu{left:auto;right:0}
[data-menu-side="left"] .desktop-nav>.nav-parent>.nav-dropdown>.nav-submenu{left:0;right:auto}
nav.mobile-nav>.nav-parent>.nav-dropdown>summary>.submenu-indicator{width:18px;height:18px}

/* Text uses the same metrics in the editor, browser preview and mobile page. */
.canvas-flow-stage{-webkit-text-size-adjust:100%;text-size-adjust:100%;font-synthesis:none}
.canvas-flow-stage :is(.canvas-text-body,.public-canvas-object>.public-canvas-text){box-sizing:border-box;width:100%;height:auto;margin:0;padding:0;white-space:pre-wrap;overflow-wrap:break-word;line-height:1.5;letter-spacing:normal;word-spacing:normal}
.canvas-flow-stage .public-canvas-object>.public-canvas-text:not(.has-text-box){min-height:0}
.text-layout-measure,.text-layout-measure *{animation:none!important;transition:none!important}

.art-slideshow-stage{transition:clip-path var(--slideshow-transition,.7s) ease-in-out}
@media(prefers-reduced-motion:reduce){.art-slideshow-stage{transition:none}}
.video-screen { pointer-events: none; }
.video-screen::-webkit-media-controls { display: none !important; }
.video-screen::-webkit-media-controls-start-playback-button { display: none !important; }

/* v68: mobile MENU is a viewport-sized panel, outside header positioning. */
body.mobile-menu-is-open { overflow: hidden; }
.mobile-menu-overlay {
  position: fixed; inset: 0; z-index: 10050; margin: 0;
  width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none;
  padding: max(16px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));
  border: 0; background: var(--paper,#fff); color: var(--ink,#171717);
  font: 18px/1.5 var(--site-font-family,Arial,sans-serif); overflow: hidden;
}
.mobile-menu-overlay[open] { display: flex; flex-direction: column; }
.mobile-menu-overlay::backdrop { background: var(--paper,#fff); }
.mobile-menu-overlay-bar { display: flex; align-items: center; justify-content: space-between; flex: none; gap: 20px; margin-bottom: 20px; }
.mobile-menu-overlay-bar > span { font-size: 12px; letter-spacing: .14em; }
.mobile-menu-close { display: grid; place-items: center; flex: none; width: 48px; height: 48px; padding: 0; border: 0; background: transparent; color: inherit; font: 36px/1 Arial,sans-serif; cursor: pointer; }
.mobile-menu-overlay-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu-overlay nav.mobile-nav {
  --archive-menu-inset: 0px;
  display: grid; position: static; width: 100%; min-width: 0; max-width: none; max-height: none;
  padding: 0 0 24px; margin: 0; border: 0; gap: 12px; overflow: visible;
  font: inherit; letter-spacing: .04em; text-transform: uppercase;
}
.mobile-menu-overlay nav.mobile-nav > a,
.mobile-menu-overlay nav.mobile-nav > .nav-parent { margin: 0; }
.mobile-menu-overlay nav.mobile-nav > a,
.mobile-menu-overlay nav.mobile-nav > .nav-parent > a { min-height: 48px; display: flex; align-items: center; padding-block: 8px; }
.mobile-menu-overlay nav.mobile-nav > .nav-parent > a { max-width: calc(100% - 52px); }
.mobile-menu-overlay nav.mobile-nav > .nav-parent > details > summary { width: 48px; min-height: 48px; margin-right: 0; }
.mobile-menu-overlay nav.mobile-nav > .nav-parent > details > .nav-submenu { padding: 12px 12px 20px; font: 15px/1.5 var(--site-font-family,Arial,sans-serif); gap: 8px; }
.mobile-menu-overlay nav.mobile-nav .nav-submenu a { display: flex; align-items: center; min-height: 44px; padding-block: 6px; white-space: normal; }
.mobile-menu-overlay nav.mobile-nav > .nav-parent:has(> details[open]) ~ * { display: block; }
.virtual-mobile-menu-overlay { position: absolute; height: 100%; z-index: 110; }

/* Native fullscreen must not inherit authored frame/crop/player constraints. */
video:fullscreen { display: block !important; width: 100vw !important; height: 100vh !important; height: 100dvh !important; max-width: none !important; max-height: none !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; transform: none !important; aspect-ratio: auto !important; object-fit: contain !important; background: #000 !important; }
video:-webkit-full-screen { display: block !important; width: 100vw !important; height: 100vh !important; max-width: none !important; max-height: none !important; margin: 0 !important; transform: none !important; object-fit: contain !important; background: #000 !important; }
/* Preserve the authored default font in unformatted rich-text runs while the
   mobile text field uses a compact baseline for its line-box strut. */
.canvas-copy-run{font-size:var(--canvas-copy-base-font-size,inherit)}
.canvas-stage[data-device="mobile"] .canvas-text-body>div,.canvas-stage[data-device="mobile"] .canvas-text-body>p{margin-block:0;padding-block:0}

.artwork-caption-text > .artwork-caption-heading,.artwork-caption-text > .artwork-description{line-height:inherit}

/* Language-aware text layout: ordinary words stay together; script caps justification spacing. */
:is(.canvas-text-body,.public-canvas-text,.page-content-text,.page-composition-text,.gallery-thumbnail-caption,.artwork-caption-text){word-break:keep-all;line-break:strict;overflow-wrap:break-word;hyphens:none}
[data-typography-gap]{letter-spacing:inherit}

/* Oversized standalone images may cross the artboard without creating public horizontal scrolling. */
.public-canvas{overflow-x:clip}
:is(.canvas-object-image,.public-canvas-image){max-width:none}
