/* The interface follows the material of the gallery: dark glass, cut edges,
   soft reflections, and a little light borrowed from the selected world. */
:root {
  --ink: #edf3f8;
  --dim: #a5b1c0;
  --hair: rgba(199,222,242,.18);
  --glass-fill: rgba(10,17,25,.72);
  --glass-edge: rgba(215,233,251,.27);
  --glass-reflection: linear-gradient(128deg,rgba(239,249,255,.15),rgba(216,237,255,.025) 46%,rgba(200,227,252,.065));
  --glass-shadow: inset 0 1px 0 rgba(245,252,255,.13),inset 0 -1px 0 rgba(173,207,241,.04),0 7px 24px rgba(0,0,0,.28);
  --facet-radius: 5px;
}
::selection { color:#fff; background:color-mix(in srgb,var(--mc) 30%,#162130); }
button:focus-visible,a:focus-visible { outline:2px solid var(--mc); outline-offset:4px; }
button:disabled { opacity:.34; }

/* A single control material, shared by every navigation and action surface. */
.ghost,#cap .go,.icon-button,#dock button,#boot .boot-skip,.preview-action,.skip {
  position:relative;
  isolation:isolate;
  border:1px solid var(--glass-edge);
  border-bottom-color:rgba(181,209,237,.12);
  border-radius:var(--facet-radius);
  background-color:var(--glass-fill);
  background-image:var(--glass-reflection);
  box-shadow:var(--glass-shadow);
  color:#e5eef8;
  -webkit-backdrop-filter:blur(16px) saturate(125%);
  backdrop-filter:blur(16px) saturate(125%);
  font-size:11px;
  font-weight:550;
  letter-spacing:.105em;
  text-transform:uppercase;
  text-decoration:none;
  transition:background-color .24s,border-color .24s,box-shadow .3s,color .24s,transform .3s var(--ease);
}
.ghost::before,#cap .go::before,.icon-button::before,#dock button::before,#boot .boot-skip::before,.preview-action::before {
  content:""; position:absolute; pointer-events:none;
  inset:2px; border:1px solid rgba(214,234,255,.035); border-radius:2px;
}
.ghost:hover,#cap .go:hover,.icon-button:hover:not(:disabled),#dock button:hover,#boot .boot-skip:hover,.work-preview:hover .preview-action {
  background-color:color-mix(in srgb,var(--mc) 10%,#111b27);
  background-image:var(--glass-reflection);
  border-color:color-mix(in srgb,var(--mc) 43%,#dae8f3);
  color:#fff;
  box-shadow:inset 0 1px 0 #ffffff30,inset 0 -1px 0 #a7d6ff0a,0 6px 24px #0005,0 0 18px color-mix(in srgb,var(--mc) 9%,transparent);
}
.ghost:active,#cap .go:active,.icon-button:active:not(:disabled),#dock button:active,#boot .boot-skip:active { transform:translateY(1px); }
.ghost { min-height:44px; padding:10px 17px; }
.ghost svg { width:15px; height:15px; stroke-width:1.2; }
.nav-works small { margin-left:4px; padding-left:10px; border-left:1px solid var(--hair); color:#c8d6e6; font-size:10px; letter-spacing:.08em; }
.icon-button { border-radius:5px; }
.icon-button svg { width:18px; height:18px; stroke-width:1.3; }
.skip { position:fixed; min-height:44px; padding:14px 20px; }

.site-header { padding-top:26px; padding-bottom:26px; }
.brand { flex-direction:row; align-items:center; gap:14px; }
.brand .brand-crystal { width:26px; height:31px; color:#c0d7eb; stroke-width:1; fill:rgba(190,223,255,.035); filter:drop-shadow(0 0 8px #abd7ff20); }
.brand .brand-wordmark { display:flex; flex-direction:column; gap:7px; }
.brand b { font-size:21px; font-weight:530; letter-spacing:-.055em; color:#e8f1fa; }
.brand .brand-wordmark>span { font-size:10px; letter-spacing:.09em; color:#98a8bb; }
.header-nav { gap:10px; }
.type-edition { white-space:nowrap; min-width:48px; }
.exhibit-note .rule { width:34px; background:linear-gradient(90deg,var(--mc),transparent); box-shadow:0 0 9px color-mix(in srgb,var(--mc) 22%,transparent); }
.exhibit-note .lbl { font-size:10px; letter-spacing:.19em; color:#899cb3; }
.exhibit-note p { font-size:14px; letter-spacing:.005em; color:#c8d6e5; }

/* Lettering sits beside the crystal like an etched gallery label. */
#cap .top { font-size:10px; letter-spacing:.13em; gap:11px; color:#acbbcf; }
#cap .top .n { padding:5px 7px; border:1px solid color-mix(in srgb,var(--mc) 28%,transparent); border-radius:2px; background:color-mix(in srgb,var(--mc) 5%,#080e16); }
#cap .top .divider { width:17px; background:linear-gradient(90deg,#b8d7ef60,transparent); }
#cap h1 { font-weight:470; letter-spacing:-.055em; color:#eaf2fa; text-shadow:0 1px 0 #ffffff0d,0 4px 25px #0008; }
#cap p { color:#acbacb; font-size:15px; line-height:1.65; }
#cap .go { min-height:48px; margin-top:23px; padding:14px 19px 14px 21px; gap:29px; border-color:color-mix(in srgb,var(--mc) 40%,#c1d2e6); background-color:color-mix(in srgb,var(--mc) 8%,#0c1721); }
#cap .go::after { content:""; position:absolute; pointer-events:none; height:1px; left:16%; right:16%; top:-1px; background:linear-gradient(90deg,transparent,#e2f2ff,var(--mc),transparent); opacity:.75; }
#cap .go:hover { transform:translateY(-2px); }
#cap .go svg { width:17px; height:17px; stroke-width:1.2; }

#rail button::after { width:5px; height:5px; border-radius:1px; transform:rotate(45deg); background:var(--c); box-shadow:0 0 5px color-mix(in srgb,var(--c) 16%,transparent); opacity:.45; }
#rail button.on::after { width:8px; height:8px; border-radius:1px; opacity:1; box-shadow:0 0 9px color-mix(in srgb,var(--c) 30%,transparent); }
#rail button span { border-radius:3px; background:linear-gradient(125deg,#b9d4ee13,transparent),#0a111bea; border-color:#bfdcff28; box-shadow:var(--glass-shadow); font-size:12px; color:#dfeaf5; backdrop-filter:blur(12px); }
.gallery-footer { border-color:#b4d7f321; }
.gesture-hint { color:#91a2b7; font-size:11px; letter-spacing:.04em; }
.gesture-hint svg { stroke-width:1; }
.pager-count { font-size:12px; color:#d6e4f2; letter-spacing:.13em; }
.pager-count .muted { color:#7e93aa; }
.progress-track span { box-shadow:0 0 8px color-mix(in srgb,var(--mc) 20%,transparent); }
#bub span { border-radius:5px; color:#dfeaf6; background:linear-gradient(125deg,#bedcff10,transparent),#09111be8; border-color:color-mix(in srgb,var(--mc) 30%,#7d9ab335); box-shadow:var(--glass-shadow); font-size:12px; }
#bub span::after { background:#0a131e; }

/* The opened world and its controls share one smoked-glass frame. */
#panel { border-radius:6px; border-color:#c6e2fd3b; box-shadow:0 0 0 100vmax #020508b8,0 25px 100px #000a,0 0 35px color-mix(in srgb,var(--mc) 8%,transparent),inset 0 1px 0 #fff2; }
#liveWait { background:radial-gradient(ellipse at 50% 0%,#233c4e55,transparent 70%),#070d15; }
#liveWait b { font-size:24px; font-weight:450; letter-spacing:-.035em; }
#liveWait p { color:#98abc0; font-size:13px; }
#dock { gap:5px; padding:7px; border-radius:8px; border-color:#cde4fa30; background:linear-gradient(125deg,#c2dcf715,transparent 65%),#07111cce; box-shadow:var(--glass-shadow),0 15px 50px #0005; -webkit-backdrop-filter:blur(24px); backdrop-filter:blur(24px); }
#dock button { min-height:44px; padding:11px 15px; gap:8px; }
#dock button svg { width:15px; height:15px; }
#dock .nm { max-width:240px; overflow:hidden; text-overflow:ellipsis; color:#a9bad0; font-size:12px; letter-spacing:.02em; }
#dock #dBack { color:#e7f3ff; background-color:color-mix(in srgb,var(--mc) 8%,#14212e); background-image:var(--glass-reflection); border-color:#cee7ff54; }

/* Larger sheets of glass repeat the same edge and reflection treatment. */
dialog { background-color:rgba(5,11,18,.93); background-image:linear-gradient(123deg,rgba(171,210,244,.07),transparent 30%,rgba(134,176,216,.025) 65%,transparent),linear-gradient(26deg,transparent 58%,rgba(183,218,246,.025) 58.1%,transparent 78%); border:1px solid #cee5fb24; }
dialog::backdrop { background:#02070bab; backdrop-filter:blur(18px) saturate(70%); }
.dialog-heading { background:linear-gradient(120deg,#b1d6f90b,transparent),#08111ad9; border-color:#c5ddf321; backdrop-filter:blur(24px); }
.dialog-heading .lbl { font-size:10px; color:#a6bbd3; letter-spacing:.15em; }
.dialog-heading .close-label kbd { color:#8da3bd; border-color:#bad9f323; border-radius:2px; font-size:10px; }
#works { scrollbar-color:#375064 #07111a; }
.collection-intro { padding-bottom:32px; border-bottom:1px solid #bddcf321; margin-bottom:32px; }
.collection-intro h2 { font-size:clamp(46px,6.2vw,88px); font-weight:450; letter-spacing:-.052em; line-height:1.04; color:#e7f2fd; }
.collection-intro h2 span { color:#97adc3; }
.collection-intro p { color:#a2b4ca; font-size:15px; line-height:1.8; max-width:29ch; }
.works-grid { gap:24px; }
.work-card { padding:12px 12px 20px; border:1px solid #c5e0f51d; border-top-color:#d3eafe2c; border-radius:6px; background:linear-gradient(145deg,#c2ddf607,transparent 42%),#1021311a; box-shadow:inset 0 1px 0 #f2f8ff05,0 8px 25px #0002; transition:border-color .3s,background-color .3s; }
.work-card:hover { border-color:color-mix(in srgb,var(--c) 25%,transparent); background-color:color-mix(in srgb,var(--c) 3%,#1021311a); }
.work-preview { border-radius:3px; border-color:#d5eafd1f; background:#03080d; }
.work-preview img { opacity:.94; }
.work-preview::after { box-shadow:inset 0 1px 0 #e9f5ff16,inset 0 0 0 1px #b0d5ff06; }
.work-preview:hover::after { box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 45%,transparent); }
.preview-action { position:absolute; --mc:var(--c); right:12px; bottom:12px; padding:11px 13px; font-size:10px; gap:12px; }
.preview-action svg { width:16px; height:16px; }
.card-meta { margin:18px 5px 0; color:#859bb1; font-size:10px; letter-spacing:.12em; }
.card-meta .serial { color:color-mix(in srgb,var(--c) 75%,#d0e1f3); }
.work-title { margin:8px 5px 0; }
.work-title h3 { font-size:clamp(22px,2.05vw,30px); font-weight:470; letter-spacing:-.035em; color:#dce9f7; }
.work-title svg { color:#a0bdd7; width:16px; height:16px; }
.work-card p { margin:12px 5px 0; color:#9dafc3; font-size:14px; line-height:1.75; }
.collection-footer { padding-top:26px; margin-top:38px; color:#93a9bf; font-size:12px; letter-spacing:.045em; }
.collection-footer a { display:inline-flex; gap:10px; align-items:center; color:#cadced; text-decoration:none; padding:8px 0; }
.collection-footer a svg { width:15px; height:15px; }
.collection-footer a:hover { color:var(--mc); }
#about { border-left:1px solid #c4e4ff36; box-shadow:-15px 0 80px #0006; }
#about .about-label { font-size:10px; letter-spacing:.18em; color:#aac5dd; }
.bio h2 { font-size:clamp(46px,5.8vw,76px); font-weight:450; line-height:1.08; letter-spacing:-.05em; }
.bio h2 em { color:#8faac4; }
.bio p { font-size:17px; line-height:1.8; color:#aabace; }
.bio .beat { font-size:clamp(25px,2.5vw,33px); font-weight:450; line-height:1.35; letter-spacing:-.035em; color:#dceaf8; }
.bio .say { line-height:1.8; font-size:14px; color:#8fa8bf; }
.bio .say a { color:#cfdeed; }
.about-footer { color:#7892ab; font-size:10px; letter-spacing:.13em; }

#boot { background:radial-gradient(ellipse at 45% 45%,#1c344c26,transparent 63%),linear-gradient(119deg,#08121c,#04070c 55%,#0a131e); }
#boot .wm { font-weight:430; color:#e3eef9; text-shadow:0 1px 0 #f6fbff16,0 10px 60px #acd8ff0b; }
#boot .wm span { color:#8aa5bf; }
#boot .sub { color:#a5bad0; font-size:13px; letter-spacing:.06em; }
#boot .bar { background:#a9d6ff1c; }
#boot .bar i { background:linear-gradient(90deg,#87b2d1,#e8f5ff); box-shadow:0 0 12px #b5e4ff33; }
#boot .boot-label { color:#8fa7c0; line-height:1.6; }
#boot .boot-skip { display:inline-flex; align-items:center; justify-content:center; gap:13px; padding:12px 14px; min-height:44px; font-size:10px; }
#boot .boot-skip svg { width:16px; height:16px; }
.boot-caption { font-size:10px; color:#718aa3; letter-spacing:.09em; text-transform:uppercase; }
.fallback .site-header { background:#07101aee; backdrop-filter:blur(20px); border-color:#badcff26; }
.fallback .fallback-notice { color:#a9bfd4; border-color:#c8e3fb23; border-radius:4px; background:linear-gradient(120deg,#a6d4fd08,transparent),#1123341a; font-size:13px; line-height:1.6; }

@media(min-width:1800px) { #cap p { font-size:17px; } }
@media(max-width:1100px) { .work-title h3 { font-size:27px; } }
@media(max-width:700px) {
  .site-header { padding-top:19px; padding-bottom:19px; gap:12px; }
  .brand { gap:9px; }
  .brand .brand-crystal { width:21px; height:26px; }
  .brand b { font-size:18px; }
  .brand .brand-wordmark { gap:6px; }
  .brand .brand-wordmark>span { font-size:8px; letter-spacing:.055em; }
  .header-nav { gap:6px; }
  .type-edition-label { display:none; }
  .ghost { padding:10px; min-height:44px; font-size:9px; letter-spacing:.08em; gap:7px; }
  .nav-works svg { display:none; }
  .nav-works small { display:none; }
  .exhibit-note .lbl { font-size:9px; }
  .exhibit-note p { font-size:13px; }
  #cap .top { font-size:9px; letter-spacing:.1em; }
  #cap p { font-size:14px; line-height:1.6; margin-top:11px; }
  #cap .go { min-height:46px; padding:12px 16px; font-size:10px; margin-top:17px; gap:25px; }
  .gesture-hint { font-size:10px; max-width:18ch; line-height:1.6; }
  .gesture-hint .desktop-hint { max-width:19ch; }
  .pager-count { font-size:11px; }
  .pager { gap:10px; }
  .icon-button { width:44px; height:44px; }
  .pager-buttons { gap:6px; }
  .collection-intro { margin-bottom:24px; padding-bottom:26px; }
  .collection-intro h2 { font-size:clamp(46px,12vw,64px); }
  .collection-intro p { font-size:14px; margin-top:17px; }
  .works-grid { gap:22px; }
  .work-card { padding:10px 10px 20px; }
  .work-title h3 { font-size:27px; }
  .work-card p { font-size:14px; }
  .preview-action { opacity:1; transform:none; font-size:9px; padding:10px 12px; }
  .dialog-heading .lbl { font-size:9px; letter-spacing:.1em; }
  .bio h2 { font-size:clamp(41px,10.5vw,62px); }
  .bio p { font-size:16px; }
  .bio .beat { font-size:26px; }
  #panel { border-radius:0; }
  #dock { padding:6px; gap:5px; border-radius:7px; max-width:calc(100% - 24px); }
  #dock button { min-height:44px; padding:11px 12px; font-size:10px; gap:7px; }
  #dock #dExpand { display:none; }
  #boot .boot-bottom { gap:15px; align-items:center; }
  #boot .boot-label { font-size:10px; max-width:16ch; }
  #boot .boot-skip { font-size:9px; padding:12px; gap:8px; }
  .boot-caption { font-size:9px; line-height:1.6; }
  .collection-footer { font-size:12px; }
}
@media(max-width:360px) {
  :root { --pad:16px; }
  .brand .brand-crystal { display:none; }
  .header-nav { gap:5px; }
  .ghost { padding:10px 9px; }
  .pager { gap:8px; }
  .gesture-hint { max-width:14ch; }
}
@media(max-width:460px) {
  .site-header { gap:8px; }
  .brand .brand-crystal,.type-edition svg { display:none; }
}
@media(max-width:360px) { .brand b { font-size:16px; } }
@media(max-height:650px) and (min-width:701px) { #cap p { font-size:14px; line-height:1.45; } #cap .go { margin-top:14px; min-height:44px; padding:10px 17px; } }
@media(max-height:740px) and (max-width:700px) { #cap p { font-size:14px; line-height:1.45; } #cap .go { margin-top:12px; } }
@media(prefers-reduced-transparency:reduce) { .ghost,#cap .go,.icon-button,#dock button,#boot .boot-skip,.preview-action,#dock,dialog { background-color:#101b28; backdrop-filter:none; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; } }

/* A quiet arrival: one static glass mark, useful progress, and an immediate
   route into the collection. The cover fades only after the first frame exists. */
#boot { transition:opacity .55s ease,visibility .55s; }
#boot .in { width:min(390px,calc(100% - 48px)); }
#boot .boot-crystal { display:block; width:70px; height:81px; margin:0 auto 32px; stroke-width:1; }
#boot .wm { font-size:30px; line-height:1.2; letter-spacing:-.045em; text-align:center; font-weight:450; }
#boot .wm span { display:inline; margin:0 0 0 .2em; color:inherit; }
#boot .sub { text-align:center; margin-top:13px; font-size:13px; letter-spacing:.015em; color:#98aec3; }
#boot .boot-progress { margin-top:35px; gap:15px; }
#boot .pct { font-size:10px; color:#98aec3; }
#boot .boot-bottom { margin-top:18px; align-items:center; gap:18px; }
#boot .boot-label { font-size:10px; text-align:left; line-height:1.65; max-width:18ch; }
#boot .boot-skip { font-size:9px; gap:8px; padding:12px; }
@media(max-width:420px) {
  #boot .boot-bottom { flex-direction:column; gap:17px; }
  #boot .boot-label { max-width:30ch; text-align:center; }
  #boot .boot-crystal { width:60px; height:69px; margin-bottom:26px; }
}
@media(max-height:600px) {
  #boot .boot-crystal { width:44px; height:51px; margin-bottom:18px; }
  #boot .boot-progress { margin-top:24px; }
}

/* One continuous stage: the actual glass scene sits beneath this small title
   and its controls. No image wall, opaque exit cover or gallery crossfade. */
#prologue { position:fixed; inset:0; z-index:41; background:#030405; overflow:hidden; }
#prologue[hidden] { display:none; }
#prologue.has-glass { background:transparent; }
.prologue-active #boot { opacity:0; visibility:hidden; }
.prologue-active #cap,.prologue-active #rail,.prologue-active .gallery-footer,.prologue-active .exhibit-note { opacity:var(--gallery-reveal,0)!important; pointer-events:none!important; }
.prologue-active .stage-shade { opacity:var(--gallery-reveal,0); }
.intro-heading { position:absolute; top:clamp(90px,12vh,140px); left:var(--pad); right:var(--pad); text-align:center; opacity:var(--intro-copy,1); }
.intro-eyebrow { margin:0 0 16px; color:#91a6b8; font-size:9px; line-height:1.4; letter-spacing:.2em; text-transform:uppercase; }
.intro-heading h2 { margin:0; font-size:clamp(36px,4vw,58px); font-weight:450; line-height:1.04; letter-spacing:-.055em; color:#e6f0f7; }
.intro-heading h2 span { color:#8faac0; }
.intro-loading-glass { position:absolute; width:58px; height:67px; left:calc(50% - 29px); top:55%; fill:#a6d4ff06; stroke:#bedef080; stroke-width:.8; }
.has-glass .intro-loading-glass { display:none; }
.intro-bottom { position:absolute; left:var(--pad); right:var(--pad); bottom:70px; display:flex; justify-content:space-between; align-items:center; gap:20px; opacity:var(--intro-controls,1); }
.intro-status { margin:0; color:#92a9bc; font-size:11px; line-height:1.6; letter-spacing:.025em; max-width:48ch; }
.intro-controls { display:flex; align-items:center; gap:8px; flex:none; }
.intro-enter { min-width:134px; font-size:11px; gap:18px; }
.intro-pause { width:44px; padding:0; }
.intro-pause svg { width:16px; height:16px; }
.intro-pause .play-symbol { display:none; }
.intro-pause[aria-pressed=true] .pause-symbol { display:none; }
.intro-pause[aria-pressed=true] .play-symbol { display:block; }
.intro-colophon { position:absolute; bottom:24px; left:var(--pad); right:var(--pad); display:flex; justify-content:space-between; color:#71889b; font-size:9px; letter-spacing:.13em; text-transform:uppercase; opacity:var(--intro-copy,1); }
@media(max-width:700px) {
  .intro-heading { top:100px; }
  .intro-heading h2 { font-size:clamp(30px,8vw,38px); }
  .intro-eyebrow { font-size:8px; margin-bottom:11px; letter-spacing:.13em; }
  .intro-bottom { bottom:48px; gap:10px; }
  .intro-status { font-size:10px; max-width:20ch; }
  .intro-enter { min-width:114px; padding:10px 12px; gap:10px; font-size:10px; }
  .intro-controls { gap:5px; }
  .intro-colophon { bottom:17px; font-size:8px; }
  .intro-colophon span:last-child { display:none; }
}
@media(max-height:650px) {
  .intro-heading { top:82px; }
  .intro-heading h2 { font-size:30px; }
  .intro-eyebrow { margin-bottom:9px; font-size:8px; }
  .intro-bottom { bottom:23px; }
  .intro-colophon { display:none; }
}
@media(max-height:450px) {
  .intro-heading { top:72px; }
  .intro-heading h2 { font-size:24px; }
  .intro-heading h2 br { display:none; }
  .intro-heading h2 span { margin-left:.25em; }
  .intro-eyebrow { display:none; }
}

.fold-edition{white-space:nowrap;flex:none;min-width:70px}.gesture-hint .fold-edition{margin-right:12px}@media(max-width:460px){.gesture-hint>.touch-hint,.gesture-hint>.desktop-hint{display:none}.gesture-hint .fold-edition{margin:0}}
