/* Gallery navigation and quiet editorial hierarchy; loaded on galleries only. */
.m-gallery-header{padding:28px 0 30px}
.m-gallery-topnav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:44px}
.m-atlas-back{display:inline-flex;align-items:center;gap:10px;padding:9px 15px;min-height:44px;border:1px solid var(--line);font-size:12px;border-radius:3px;color:var(--ink);background:var(--paper)}
.m-atlas-back svg,.m-atlas-return svg{width:23px;height:23px;flex-shrink:0}
.m-gallery-stepper{display:flex;align-items:center;gap:8px}
.m-position{font-size:10px;color:var(--muted);letter-spacing:.14em;margin-right:14px;font-variant-numeric:tabular-nums}
.m-step{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;font-size:20px;color:var(--ink)}
.m-step-disabled{opacity:.25}
.m-gallery-heading{display:flex;justify-content:space-between;align-items:center;gap:32px}
.m-gallery-heading>div{min-width:0;max-width:1050px}
.m-world-location{font:12px/1.6 'Helvetica Neue',Arial,sans-serif;letter-spacing:.04em;color:var(--muted);margin:0 0 10px}
.m-world-head.m-gallery-header h1{font-size:clamp(42px,6vw,80px);font-weight:400;line-height:1.06;margin:0;overflow-wrap:normal;text-wrap:balance;letter-spacing:-.035em}
.m-music-orbit{position:relative;display:flex;flex-direction:column;align-items:center;gap:9px;flex-shrink:0;text-decoration:none;color:var(--ink);padding:8px}
.m-music-disc{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;border:1px solid #a8bfca;background:linear-gradient(135deg,#a8cfde24,#ddc19125);box-shadow:inset 0 0 0 5px #a8cfde08,0 0 24px #d5e1df0a;transition:box-shadow .2s,border-color .2s}
.m-music-disc svg{width:38px;height:38px}
.m-music-label{font-size:10px;letter-spacing:.08em}
.m-music-tooltip{position:absolute;right:0;top:100%;z-index:5;white-space:nowrap;font-size:12px;padding:10px 14px;border:1px solid var(--line);background:var(--paper);color:var(--ink);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s}
.m-music-orbit:is(:hover,:focus-visible) .m-music-tooltip{opacity:1;visibility:visible}
.m-music-orbit:is(:hover,:focus-visible) .m-music-disc{border-color:#e0d3b7;box-shadow:0 0 24px #f1e6d122}
.m-about-art{margin-top:23px;color:var(--muted);max-width:630px}
.m-about-art summary{list-style:none;display:flex;align-items:center;gap:12px;width:fit-content;min-height:44px;cursor:pointer;font-size:12px;line-height:1.6}
.m-about-art summary::-webkit-details-marker{display:none}
.m-about-toggle{display:grid;place-items:center;width:19px;height:19px;border:1px solid var(--line);border-radius:50%;font-size:13px;flex-shrink:0}
.m-about-art[open] .m-about-toggle{transform:rotate(45deg)}
.m-about-art p{max-width:550px;font-size:13px;line-height:1.7;margin:8px 0 5px}
.m-gallery.m-gallery-curated{grid-template-columns:repeat(2,minmax(0,1fr));gap:52px 48px;padding:42px 0 56px}
.m-gallery-curated .m-art:nth-child(n){grid-column:auto;padding:0;width:100%;align-self:start}
.m-gallery-curated .m-art img{width:100%;height:clamp(270px,35vw,480px);max-height:none;object-fit:contain;box-shadow:none}
.m-gallery-curated .m-art figcaption{margin-top:15px;padding-top:12px;border-top:1px solid var(--line)}
.m-gallery-curated .m-art:last-child:nth-child(odd){grid-column:1/-1;width:calc(50% - 24px);justify-self:center}
.m-gallery-bottomnav{display:grid;grid-template-columns:minmax(0,1fr) 130px minmax(0,1fr);gap:15px;padding:25px 0 40px;border-top:1px solid var(--line);margin-bottom:18px}
.m-neighbour{display:flex;align-items:center;gap:16px;padding:18px;min-width:0;border:1px solid var(--line);background:linear-gradient(125deg,#a8cfde0b,#d8bd9610);border-radius:3px}
.m-neighbour>img{width:48px;height:64px;object-fit:contain;flex-shrink:0}
.m-neighbour>span{min-width:0}
.m-neighbour small{display:block;font:10px/1.5 'Helvetica Neue',Arial,sans-serif;letter-spacing:.07em;color:var(--muted);margin-bottom:7px}
.m-neighbour small span{margin-left:7px;font-size:15px}
.m-neighbour strong{display:block;font:400 23px/1.2 var(--serif);color:var(--ink);overflow-wrap:anywhere}
.m-neighbour-context{display:block;font-size:10px;line-height:1.5;color:var(--muted);margin-top:5px}
.m-atlas-return{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:11px;text-align:center;min-height:60px;color:var(--ink);border:1px solid var(--line);border-radius:3px}
:is(.m-atlas-back,.m-step,.m-neighbour,.m-atlas-return):hover{border-color:var(--gold);background-color:var(--paper)}
:is(.m-atlas-back,.m-step,.m-neighbour,.m-atlas-return,.m-music-orbit,.m-about-art summary):focus-visible{outline:2px solid var(--gold);outline-offset:5px}
@media(max-width:850px){.m-gallery-bottomnav{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.m-atlas-return{grid-column:1/-1;grid-row:2;flex-direction:row;min-height:48px}.m-neighbour{padding:14px;gap:12px}.m-neighbour strong{font-size:21px}}
@media(max-width:669px){.m-gallery-header{padding:22px 0 22px}.m-gallery-topnav{margin-bottom:30px;gap:10px}.m-atlas-back{font-size:11px;padding:8px 10px;gap:7px}.m-position{margin-right:3px;font-size:9px}.m-gallery-stepper{gap:5px}.m-gallery-heading{gap:15px;align-items:start}.m-world-location{font-size:11px;letter-spacing:0;max-width:250px}.m-world-head.m-gallery-header h1{font-size:40px}.m-music-orbit{padding:3px 0}.m-music-disc{width:52px;height:52px}.m-music-disc svg{width:32px;height:32px}.m-about-art{margin-top:18px}.m-about-art summary{font-size:11px;gap:10px}.m-gallery.m-gallery-curated{grid-template-columns:1fr;gap:34px;padding:30px 0 40px}.m-gallery-curated .m-art:nth-child(n){width:100%;grid-column:auto}.m-gallery-curated .m-art img{height:auto;max-height:550px}.m-gallery-bottomnav{gap:12px;padding-top:20px}.m-neighbour{flex-direction:column;align-items:start;padding:13px}.m-neighbour strong{font-size:20px}.m-neighbour-context{font-size:10px}.m-neighbour>img{width:38px;height:48px}.m-neighbour small{font-size:9px}}
@media(max-width:360px){.m-position{display:none}.m-world-head.m-gallery-header h1{font-size:35px}}
@media(prefers-reduced-motion:reduce){.m-music-disc,.m-music-tooltip{transition:none}}
@media(max-width:669px){.m-gallery-curated .m-art:last-child:nth-child(odd){width:100%;grid-column:auto}}
/* Reset legacy global mobile nav positioning for in-page gallery navigation. */
.morpheus-page .m-gallery-topnav,.morpheus-page .m-gallery-bottomnav{position:static;inset:auto;z-index:auto;background:transparent;border-bottom:0;width:auto}
.morpheus-page .m-gallery-topnav{padding:0;flex-direction:row}

/* Emerald listening control, with the same gold stops as the site wordmark. */
.m-music-disc{background:linear-gradient(135deg,#0b2923,#204d3d 55%,#10352b);border-color:#8e9470;box-shadow:inset 0 0 0 5px #d5c58e09,0 0 22px #10352b33}
.m-music-orbit:is(:hover,:focus-visible) .m-music-disc{border-color:#e8c784;box-shadow:0 0 22px #d7b96e23}
.m-about-toggle{line-height:0;display:grid;place-items:center}
.m-about-toggle svg{width:17px;height:17px;display:block}
