:root {
  --bg: #030407;
  --ink: #e9edf3;
  --ink-2: rgba(226, 232, 242, 0.72);
  --ink-3: rgba(214, 222, 236, 0.45);
  --line: rgba(230, 236, 246, 0.28);
  --glow: 0 0 18px rgba(190, 212, 255, 0.35);
  --sans: 'Josefin Sans', 'Futura', 'Century Gothic', sans-serif;
  --serif: 'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
  --gutter: clamp(16px, 3.2vw, 48px);
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); overflow: hidden; }
body {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }

/* Darkening behind whichever side holds text. */
.veil {
  position: fixed; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(3, 4, 7, 0.78) 0%, rgba(3, 4, 7, 0.35) 34%, rgba(3, 4, 7, 0) 55%);
  transition: opacity 1.2s var(--ease), background 1.2s var(--ease);
}
body[data-section="music"] .veil { background: linear-gradient(270deg, rgba(3, 4, 7, 0.7) 0%, rgba(3, 4, 7, 0) 40%); }
body[data-section="contact"] .veil { background: radial-gradient(ellipse at 50% 50%, rgba(3, 4, 7, 0.55) 0%, rgba(3, 4, 7, 0) 60%); }
body[data-section="home"] .veil { background: linear-gradient(0deg, rgba(3, 4, 7, 0.7) 0%, rgba(3, 4, 7, 0) 45%), linear-gradient(90deg, rgba(3, 4, 7, 0.5) 0%, rgba(3, 4, 7, 0) 45%); }

/* ---------- chrome ---------- */
.logo { width: 150px; height: 59px; color: var(--ink); display: block; filter: drop-shadow(0 0 10px rgba(200, 220, 255, 0.25)); }
.brand { position: fixed; top: var(--gutter); left: var(--gutter); z-index: 5; }

.nav { position: fixed; left: calc(var(--gutter) + 8px); top: 50%; transform: translateY(-50%); z-index: 5; }
.nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.nav a {
  position: relative; display: inline-block; padding: 2px 0; text-shadow: 0 0 6px rgba(3, 4, 7, 0.9), 0 0 14px rgba(3, 4, 7, 0.8);  /* legible over lit parts of the hall */
  font-family: var(--sans); font-weight: 300; font-size: 12px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--ink-3); transition: color 0.5s var(--ease), letter-spacing 0.5s var(--ease);
}
.nav a::before {
  content: ''; position: absolute; left: -20px; top: 50%; width: 5px; height: 5px; margin-top: -3.5px; border-radius: 50%;
  background: var(--ink); box-shadow: var(--glow); opacity: 0; transform: scale(0.2); transition: 0.5s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::before { opacity: 1; transform: scale(1); }
/* The path through the hall: a faint thread past every floor, a light gliding along it to where you stand. */
.nav ul { position: relative; }
.nav ul::before { content: ''; position: absolute; left: -18px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, transparent, var(--line) 12%, var(--line) 88%, transparent); }
.nav__dot { position: absolute; left: -20.5px; top: 0; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--ink); box-shadow: var(--glow), 0 0 16px 4px rgba(190, 212, 255, 0.25); opacity: 0; transition: top 1.6s var(--ease), opacity 1s var(--ease); pointer-events: none; }
.nav__dot.is-on { opacity: 1; }
.nav__dot::after { content: ''; position: absolute; left: 2.5px; bottom: 100%; width: 1px; height: 26px; background: linear-gradient(0deg, rgba(232, 240, 255, 0.55), transparent); opacity: 0; transition: opacity 0.8s; }
.nav__dot.is-moving::after { opacity: 1; }
.nav__dot.is-up::after { bottom: auto; top: 100%; background: linear-gradient(180deg, rgba(232, 240, 255, 0.55), transparent); }
@media (min-width: 861px) { .nav.has-path a::before { display: none; } }
@media (max-width: 860px) { .nav ul::before, .nav__dot { display: none; } }


.progress { position: fixed; right: var(--gutter); top: 50%; height: 120px; width: 1px; margin-top: -60px; background: var(--line); z-index: 4; }
.progress i { position: absolute; left: -1px; width: 3px; height: 20px; background: var(--ink); box-shadow: var(--glow); transition: top 1s var(--ease); top: 0; }


/* ---------- panels ---------- */
.panels { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
.panel {
  position: absolute; pointer-events: none; opacity: 0; visibility: hidden;
  transition: opacity 1.4s var(--ease), visibility 0s linear 1.4s;
}
.panel.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 1.8s var(--ease), visibility 0s; }
/* Content rises out of the haze, line by line. */
.panel > :not(.artifact__bg):not(.artifact__svg) {
  translate: 0 16px; filter: blur(8px); opacity: 0;
  transition: translate 1.8s var(--ease), filter 1.8s var(--ease), opacity 1.8s var(--ease);
}
.panel.is-visible > :not(.artifact__bg):not(.artifact__svg) { translate: none; filter: none; opacity: 1; }
.panel.is-visible > :nth-child(4) { transition-delay: 0.5s; }
.panel.is-visible > :nth-child(5) { transition-delay: 0.65s; }
.panel.is-visible > :nth-child(6) { transition-delay: 0.8s; }
.panel.is-visible > :nth-child(7) { transition-delay: 0.95s; }
.panel.is-visible > :nth-child(8) { transition-delay: 1.1s; }
.panel.is-visible > :nth-child(9) { transition-delay: 1.25s; }

/* Titles surface word by word (spans from js/ui.js splitTitles), each a breath after the last. */
.panel [id^="h-"] .w {
  display: inline-block; opacity: 0; filter: blur(10px); translate: 0 0.35em; letter-spacing: inherit;
  transition: opacity 1.6s var(--ease), filter 1.6s var(--ease), translate 1.6s var(--ease);
}
.panel.is-visible [id^="h-"] .w { opacity: 1; filter: none; translate: none; transition-delay: calc(0.35s + var(--i) * 0.22s); }
@media (prefers-reduced-motion: reduce) { .panel [id^="h-"] .w { transition: opacity 0.6s; filter: none; translate: none; } }

/* ---------- artifacts (frames drawn by js/artifacts.js) ---------- */
.artifact { isolation: isolate; }
.artifact__bg {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    url(../assets/ui/grain.png) 0 0 / 256px,
    radial-gradient(120% 70% at 50% 0%, rgba(170, 195, 235, 0.09), rgba(170, 195, 235, 0) 60%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.82), rgba(2, 3, 6, 0.78));
  -webkit-backdrop-filter: blur(20px) brightness(0.55) saturate(110%);
  backdrop-filter: blur(20px) brightness(0.55) saturate(110%);
}
.artifact__svg { position: absolute; z-index: -1; pointer-events: none; overflow: visible; fill: none; }
.artifact__line { stroke: rgba(232, 240, 255, 0.62); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 3.2s var(--ease) 0.2s; }
.artifact__line--faint { stroke: rgba(232, 240, 255, 0.14); transition-delay: 0.7s; }
.panel.is-visible .artifact__line { stroke-dashoffset: 0; }
.artifact__orn { opacity: 0; transition: opacity 2.4s var(--ease) 1.2s; }
.panel.is-visible .artifact__orn { opacity: 1; }
.artifact__sigil { stroke: rgba(236, 243, 255, 0.75); stroke-width: 1; filter: drop-shadow(0 0 4px rgba(190, 215, 255, 0.6)); }
.artifact__dot { fill: #eef3ff; filter: drop-shadow(0 0 5px rgba(200, 220, 255, 0.9)); }
.artifact__fine { stroke: rgba(225, 235, 250, 0.28); stroke-width: 1; }
.artifact__fine--faint { stroke: rgba(225, 235, 250, 0.16); }
/* the disc's scales turn slowly, against each other */
.artifact__dial { animation: spin 240s linear infinite; }
.artifact__dial--back { animation-duration: 420s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .artifact__dial { animation: none; } }

/* ---------- typography ---------- */
.kicker, .label {
  font-family: var(--sans); font-weight: 300; font-size: 10.5px; letter-spacing: 0.55em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 20px;
}
.title {
  font-family: var(--sans); font-weight: 200; text-transform: uppercase; letter-spacing: 0.28em; line-height: 1.15;
  font-size: clamp(28px, 3.4vw, 54px); margin: 0 0 24px; text-shadow: 0 0 30px rgba(200, 220, 255, 0.22);
}
.title::before { content: ''; display: block; width: 56px; height: 1px; background: linear-gradient(90deg, var(--ink), transparent); margin-bottom: 24px; }
.title--center { text-align: center; }
.title--center::before { margin: 0 auto 22px; background: linear-gradient(90deg, transparent, var(--ink), transparent); width: 90px; }
.lede, .panel p { color: var(--ink-2); max-width: 30em; margin: 0 0 16px; }
.sub { font-family: var(--sans); font-weight: 300; font-size: 14px; letter-spacing: 0.16em; color: var(--ink) !important; }

.cta {
  display: inline-flex; align-items: center; gap: 18px; margin-top: 14px;
  font-family: var(--sans); font-weight: 300; font-size: 11px; letter-spacing: 0.45em; text-transform: uppercase;
}
.cta__ring { position: relative; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; transition: 0.8s var(--ease); }
.cta__ring::after { content: ''; position: absolute; inset: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: var(--ink); box-shadow: var(--glow); animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 14px 3px rgba(200, 220, 255, 0.5); } }
.cta:hover .cta__ring { border-color: var(--ink); transform: scale(1.12); box-shadow: var(--glow); }

/* ---------- section placement ---------- */
.panel[data-shape="stele"] { padding: 76px 50px 44px; }
/* Right of frame: the avenue and its axis of light stay open in the middle. */
/* About: no tablet. The story stands in the hall's own dark — the right of the screen sinks into shadow with no
   edge, and the words read like a film's opening titles: a thread grows down beside them, a small diamond marks
   each stanza, every line rises out of the haze in its turn. */
.panel--about {
  right: 0; top: 0; bottom: 0; width: clamp(540px, 50vw, 780px);
  display: flex; flex-direction: column; justify-content: safe center;  /* too tall for the screen: starts at the top and scrolls */
  overflow-y: auto; scrollbar-width: none;
  padding: clamp(40px, 7vh, 90px) calc(var(--gutter) + 50px) clamp(36px, 6vh, 70px) clamp(60px, 6vw, 120px);
}
.panel--about::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(2, 3, 6, 0) 0%, rgba(2, 3, 6, 0.55) 30%, rgba(2, 3, 6, 0.82) 70%, rgba(2, 3, 6, 0.9) 100%);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%); mask-image: linear-gradient(90deg, transparent, #000 38%);
}
.panel--about .kicker { letter-spacing: 0.75em; margin-bottom: clamp(14px, 2.4vh, 22px); }
.panel--about .title { font-size: clamp(30px, 3.1vw, 52px); letter-spacing: 0.46em; margin: 0 0 clamp(10px, 1.8vh, 16px); }
.panel--about .title::before { display: none; }
.panel--about .sub { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(17px, 2.1vh, 21px); letter-spacing: 0.02em;
  color: rgba(236, 241, 248, 0.78) !important; max-width: none !important; margin: 0 0 clamp(22px, 4.4vh, 44px) !important; }
.saga { position: relative; padding-left: 30px; }
.saga::before {  /* the thread: grows down with the titles */
  content: ''; position: absolute; left: 0; top: 0.4em; bottom: 0.6em; width: 1px;
  background: linear-gradient(180deg, rgba(232, 240, 255, 0.55), rgba(232, 240, 255, 0.06));
  transform: scaleY(0); transform-origin: top; transition: transform 0.6s var(--ease);
}
.panel.is-visible .saga::before { transform: none; transition: transform 15s cubic-bezier(0.3, 0.1, 0.35, 1) 1.4s; }
.saga p { position: relative; margin: 0 0 clamp(12px, 2.4vh, 24px) !important; max-width: none !important; }
.saga p::before {  /* a diamond at each stanza, lit as it begins */
  content: ''; position: absolute; left: -33.5px; top: 0.6em; width: 6px; height: 6px; rotate: 45deg;
  border: 1px solid rgba(232, 240, 255, 0.8); background: rgb(4, 5, 9); box-shadow: 0 0 10px rgba(190, 212, 255, 0.45);
  opacity: 0; transition: opacity 0.5s;
}
.panel.is-visible .saga p::before { opacity: 1; transition: opacity 1.6s var(--ease) calc(1.4s + var(--t)); }
.saga span { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(16px, 1.95vh, 19.5px); line-height: 1.5;
  letter-spacing: 0.012em; color: rgba(236, 241, 248, 0.86);
  opacity: 0; filter: blur(7px); translate: 0 8px; transition: opacity 0.6s, filter 0.6s, translate 0.6s; }
.panel.is-visible .saga span { opacity: 1; filter: none; translate: none;
  transition: opacity 2.2s var(--ease), filter 2.2s var(--ease), translate 2.2s var(--ease); transition-delay: calc(1.4s + var(--t)); }
.saga .saga__end { font-style: italic; color: var(--ink); }

.panel--home, .panel--contact { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.panel--home[data-shape="disc"], .panel--contact[data-shape="disc"] { aspect-ratio: 1; border-radius: 50%; }
.panel--home { left: calc(var(--gutter) + 200px); bottom: calc(var(--gutter) + 56px); width: clamp(400px, min(54vh, 34vw), 440px); padding: 74px; }  /* never smaller than its words */
.panel--home .kicker { letter-spacing: 0.4em; white-space: nowrap; }
.panel--home .lede { max-width: 17em; font-size: 16px; margin-bottom: 0; }
.panel--home .title { font-size: clamp(26px, 2.5vw, 38px); }
/* Left of frame: the shrine and its carved sign stand to the right. */
.panel--contact { left: calc(var(--gutter) + 230px); top: 50%; transform: translateY(-50%); width: clamp(400px, min(66vh, 40vw), 480px); padding: 48px; }

/* music */
.panel--music { inset: 0; pointer-events: none !important; }
.panel--music > * { pointer-events: auto; }
/* Player and tracklist share the right column: the pedestal in the middle stays clear. */
.player {
  position: absolute; right: calc(var(--gutter) + 56px); bottom: calc(var(--gutter) + 18px); width: clamp(340px, 28vw, 380px);
  display: flex; align-items: center; gap: 20px; padding: 16px 24px 16px 16px;
}
/* The track's progress: the card's dark glass fills with light from the left (clipped to the tablet with it). */
.player .artifact__bg::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: calc(var(--played, 0) * 100%); pointer-events: none;
  background: linear-gradient(90deg, rgba(150, 180, 235, 0.03), rgba(185, 210, 255, 0.12) 94%, rgba(232, 240, 255, 0.34));
}
.player__time { white-space: nowrap; }
/* The tracklist's ruler is the equalizer (js/music.js): the spectrum mirrored from the middle (the bass there), fine
   threads fading toward the ends; at rest the marks are the ruler again. */
.tracklist .artifact__orn, .player .artifact__orn { display: none; }
.player__eq { position: absolute; left: 36px; right: 36px; bottom: calc(100% + 8px); height: 44px; display: flex; justify-content: space-between; align-items: flex-end; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.player__eq i { position: relative; width: 1px; height: calc(3px + var(--l, 0) * 40px); background: rgba(232, 240, 255, calc(0.3 + var(--l, 0) * 0.6));
  box-shadow: 0 0 calc(2px + var(--l, 0) * 6px) rgba(190, 215, 255, calc(var(--l, 0) * 0.8)); transition: background 0.3s; }
.player__eq i.is-long { height: calc(7px + var(--l, 0) * 36px); }
/* each band's peak: a point of light left hanging a moment above its thread */
.player__eq i::after { content: ''; position: absolute; left: -1px; width: 3px; height: 1px; bottom: calc((var(--p, 0) - var(--l, 0)) * 40px + 100% + 3px);
  background: #eef3ff; opacity: calc(var(--p, 0) * 1.4); box-shadow: 0 0 5px rgba(200, 222, 255, 0.9); }
/* Volume: a hairline with a bead of light. */
.player__vol { position: absolute; right: 30px; top: 22px; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.player__vol span { font-family: var(--sans); font-size: 9px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-3); }
.player__vol input { -webkit-appearance: none; appearance: none; width: 72px; height: 14px; margin: 0; background: transparent; cursor: pointer; }
.player__vol input::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(90deg, rgba(236, 243, 255, 0.85) calc(var(--v, 0.9) * 100%), rgba(225, 235, 250, 0.2) 0); }
.player__vol input::-moz-range-track { height: 1px; background: rgba(225, 235, 250, 0.2); }
.player__vol input::-moz-range-progress { height: 1px; background: rgba(236, 243, 255, 0.85); }
.player__vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: #eef3ff; box-shadow: 0 0 8px rgba(200, 222, 255, 0.9); }
.player__vol input::-moz-range-thumb { width: 7px; height: 7px; border: 0; border-radius: 50%; background: #eef3ff; box-shadow: 0 0 8px rgba(200, 222, 255, 0.9); }
@media (pointer: coarse) { .player__vol { display: none; } }  /* phones: the volume is on their own buttons */
.player__dial { position: relative; width: 120px; height: 120px; flex: none; display: grid; place-items: center; }
.player__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.player__ring .ring-dash { fill: none; stroke: rgba(230, 238, 255, 0.25); stroke-dasharray: 1 5; animation: spin 90s linear infinite; transform-origin: center; }
.player__ring .wave { fill: none; stroke: rgba(236, 243, 255, 0.75); stroke-width: 0.8; filter: drop-shadow(0 0 3px rgba(190, 215, 255, 0.7)); }
.player__play { position: relative; width: 70px; height: 70px; transition: transform 0.8s var(--ease); }
.player__play svg { width: 100%; height: 100%; }
.player__play circle { fill: rgba(3, 4, 7, 0.6); stroke: var(--ink); stroke-width: 1; }
.player__play .icon-play, .player__play .icon-pause { fill: var(--ink); }
.player__play .icon-pause { display: none; }
.player__play[aria-pressed="true"] .icon-play { display: none; }
.player__play[aria-pressed="true"] .icon-pause { display: inline; }
.player__play:hover { transform: scale(1.05); }
.player__title { font-family: var(--sans); font-weight: 300; letter-spacing: 0.5em; text-transform: uppercase; font-size: 16px; color: var(--ink) !important; margin: 0 0 6px !important; max-width: none !important; }
.player__meta { font-family: var(--sans); font-size: 10px !important; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-3) !important; margin: 0 !important; max-width: none !important; }

.tracklist { position: absolute; right: calc(var(--gutter) + 56px); bottom: calc(var(--gutter) + 184px); width: clamp(340px, 28vw, 380px); padding: 26px 30px 18px; }
.tracklist ol { list-style: none; margin: 0; padding: 0; }
.tracklist li {
  position: relative; display: grid; grid-template-columns: 40px 1fr auto; align-items: baseline; padding: 13px 0;
  font-family: var(--sans); font-weight: 300; font-size: 11px; letter-spacing: 0.36em; text-transform: uppercase; color: var(--ink-3); cursor: pointer;
  transition: color 0.8s var(--ease), padding 0.8s var(--ease);
}
.tracklist li + li::before { content: ''; position: absolute; top: 0; left: 40px; right: 0; height: 1px; background: linear-gradient(90deg, rgba(230, 236, 246, 0.14), transparent); }
.tracklist li span { font-family: var(--serif); letter-spacing: 0.1em; font-size: 13px; }
.tracklist li b { font-weight: 300; }
.tracklist li:hover { color: var(--ink); padding-left: 6px; }
.tracklist li.is-active { color: var(--ink); text-shadow: 0 0 12px rgba(200, 220, 255, 0.5); }
.tracklist li.is-active span::after { content: ''; position: absolute; left: -14px; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: var(--ink); box-shadow: var(--glow); }

/* tour: a transmission log hung on a vertical line of nodes */
.dates { list-style: none; margin: 14px 0 12px; padding: 0 0 0 26px; position: relative; }
.dates::before { content: ''; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(180deg, transparent, var(--line) 15%, var(--line) 85%, transparent); }
.dates li {
  position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: 14px; row-gap: 2px; padding: 12px 0;
  font-family: var(--sans); font-weight: 300; font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-2);
}
.dates li::before { content: ''; position: absolute; left: -26px; top: 15px; width: 9px; height: 9px; border: 1px solid var(--ink-2); border-radius: 50%; background: var(--bg); box-shadow: 0 0 10px rgba(190, 212, 255, 0.35); }
.dates li::after { content: ''; position: absolute; left: -22.5px; top: 18.5px; width: 2px; height: 2px; border-radius: 50%; background: var(--ink); }
.dates time { grid-column: 1; color: var(--ink-3); font-size: 9.5px; }
.dates b { grid-column: 1; font-weight: 400; color: var(--ink); }
.dates span { grid-column: 1; letter-spacing: 0.06em; text-transform: none; font-family: var(--serif); font-size: 15px; color: var(--ink-3); }
.dates a { grid-column: 2; grid-row: 1 / 4; align-self: center; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.dates a:hover { color: var(--ink); }

/* ---------- shared content UI (Media, Releases, News) ---------- */
[hidden] { display: none !important; }
.title--sm { font-size: clamp(24px, 2.3vw, 36px); margin-bottom: 18px; }
.title--sm::before { margin-bottom: 18px; }
[data-scroll] {
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(230, 236, 246, 0.22) transparent;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12px, #000 calc(100% - 26px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 12px, #000 calc(100% - 26px), transparent 100%);
}
[data-scroll]::-webkit-scrollbar { width: 4px; }
[data-scroll]::-webkit-scrollbar-thumb { background: rgba(230, 236, 246, 0.22); }

/* Filter chips / toggles: quiet labels; the chosen one gets a frame and a lit dot. */
:is(.tabs, .tile, .sheet__frame, .feed__head, .shelf__list button, .back, .link, .feed__more, .viewer button):focus-visible {
  outline: 1px solid rgba(230, 238, 255, 0.7); outline-offset: 3px;
}

/* ---------- levitation: content as floating stones (Media; Tour/Releases/News next) ---------- */
.panel.lev { inset: 0; width: auto; height: auto; transform: none; padding: 0; }
.lev__head { position: absolute; left: calc(var(--gutter) + 210px); top: calc(var(--gutter) + 6px); z-index: 2; }
.lev__head .kicker { margin-bottom: 10px; }
.lev__title { margin: 0 0 12px; font-family: var(--sans); font-weight: 200; font-size: clamp(26px, 2.4vw, 38px); letter-spacing: 0.3em; text-transform: uppercase; text-shadow: 0 0 30px rgba(200, 220, 255, 0.25); }
.lev__path { position: absolute; left: calc(50% + 100px); bottom: calc(var(--gutter) + 2px); transform: translateX(-50%); z-index: 2; display: flex; align-items: center; }
.lev__crumbs { display: flex; align-items: center; gap: 12px; min-height: 30px; font-family: var(--sans); font-weight: 300; font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-3); }
.lev__crumbs button { color: var(--ink-3); letter-spacing: inherit; text-transform: inherit; transition: color 0.5s var(--ease); }
.lev__crumbs button:hover { color: var(--ink); }
.lev__crumbs b { font-weight: 400; color: var(--ink); }
.lev__crumbs i { font-style: normal; opacity: 0.5; }
.lev__crumbs .lev__back { position: relative; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; }
.lev__back span { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -1.5px; border-left: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg); }
.lev__crumbs .lev__back:hover { border-color: var(--ink); box-shadow: var(--glow); }

.lev__stage { position: absolute; left: calc(var(--gutter) + 200px); right: var(--gutter); top: 130px; bottom: 80px; perspective: 1500px; perspective-origin: 50% 42%; transform-style: preserve-3d; touch-action: pan-y; }
.lev-block { position: absolute; left: 50%; top: 50%; translate: -50% -50%; transform-style: preserve-3d; will-change: transform, opacity; cursor: pointer; user-select: none; -webkit-user-select: none; }
.lev-block img { -webkit-user-drag: none; }
.lev-block:focus-visible { outline: 1px solid rgba(230, 238, 255, 0.7); outline-offset: 6px; }

/* A block is a slab of dark stone: scanned grain, a cold rim of light that breathes with the music,
   and a pool of light beneath it as if it hovered over a lit seam. */
.blk {
  padding: 14px 14px 16px; color: var(--ink); border-radius: 3px;
  /* Layers: cold sheen from the upper left · darker foot · the scanned stone (relief baked in). */
  background:
    radial-gradient(120% 90% at 22% 0%, rgba(195, 215, 255, 0.11), transparent 58%),
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.32)),
    url(../assets/ui/stone-1.jpg) var(--sx, 50%) var(--sy, 50%) / 520px;
  /* Bevel (lit top/left edge, dark bottom/right lip), rim light that breathes with the music,
     a vignette that sinks the edges, then the slab's contact and cast shadows. */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.07),
    inset 0 -2px 0 rgba(0, 0, 0, 0.65), inset -1px 0 0 rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(225, 235, 255, calc(0.07 + var(--pulse, 0) * 0.25)),
    inset 0 0 34px rgba(0, 0, 0, 0.45),
    0 2px 0 rgba(0, 0, 0, 0.7), 0 26px 38px -16px rgba(0, 0, 0, 0.88), 0 70px 110px -40px rgba(0, 0, 0, 0.7);
  transition: box-shadow 0.8s var(--ease);
}
.blk[data-stone="2"] { background-image: radial-gradient(120% 90% at 22% 0%, rgba(195, 215, 255, 0.11), transparent 58%), linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.32)), url(../assets/ui/stone-2.jpg); }
.blk[data-stone="3"] { background-image: radial-gradient(120% 90% at 22% 0%, rgba(195, 215, 255, 0.11), transparent 58%), linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.32)), url(../assets/ui/stone-3.jpg); }
.blk[data-stone="4"] { background-image: radial-gradient(120% 90% at 22% 0%, rgba(195, 215, 255, 0.11), transparent 58%), linear-gradient(180deg, rgba(0, 0, 0, 0.18) 35%, rgba(0, 0, 0, 0.5)), url(../assets/ui/stone-4.jpg); }
/* Thickness: the back of the slab sits behind the face; turning stones show their depth. */
.blk::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 3px; pointer-events: none;
  transform: translateZ(-16px);
  background: #040507 url(../assets/ui/stone-3.jpg) 30% 60% / 520px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.9), inset 0 0 30px rgba(0, 0, 0, 0.8);
  filter: brightness(0.5);
}
.blk::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: -46px; height: 34px; pointer-events: none; background: radial-gradient(50% 50% at 50% 50%, rgba(170, 200, 255, calc(0.12 + var(--pulse, 0) * 0.3)), transparent 72%); filter: blur(6px); }
.lev-block.is-focus.blk {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 1px 0 0 rgba(255, 255, 255, 0.09),
    inset 0 -2px 0 rgba(0, 0, 0, 0.65), inset -1px 0 0 rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(230, 240, 255, calc(0.26 + var(--pulse, 0) * 0.4)),
    inset 0 0 34px rgba(0, 0, 0, 0.38),
    0 0 50px rgba(170, 200, 255, 0.14),
    0 2px 0 rgba(0, 0, 0, 0.7), 0 30px 44px -16px rgba(0, 0, 0, 0.9), 0 80px 120px -40px rgba(0, 0, 0, 0.75);
}
/* Pictures are set into the stone: a cut recess with a dark lip above and a lit lip below. */
.blk__img {
  position: relative; display: block; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.85), 0 -1px 0 1px rgba(0, 0, 0, 0.55), 0 1px 0 1px rgba(255, 255, 255, 0.09);
}
.blk__img::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 8px 16px -4px rgba(0, 0, 0, 0.75), inset 0 0 0 1px rgba(0, 0, 0, 0.6), inset 0 -1px 0 rgba(255, 255, 255, 0.05); }
.blk--photo img { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.85), 0 1px 0 1px rgba(255, 255, 255, 0.08); }
/* Lettering cut into the stone: a shadowed upper edge and a faint lit lower edge, still crisp. */
.blk :is(.blk__meta b, .talk__title, .date__day, .date__city, .album__title) {
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 18px rgba(190, 210, 255, 0.14);
}
.blk :is(.blk__meta small, .blk__meta em, .talk__meta, .talk__text, .date__month, .date__venue, .news__p) {
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.05);
}
/* Platform buttons and chips on stone are cut into it: dark recesses with a lit lower lip. */
.blk .date__cta { border: 0; background: rgba(0, 0, 0, 0.35); box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(230, 236, 246, 0.22), 0 1px 0 rgba(255, 255, 255, 0.08); }
.blk .talk__meta em { text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.8); }
.blk, .blk * { scrollbar-width: thin; scrollbar-color: rgba(220, 230, 250, 0.25) transparent; }
.blk::-webkit-scrollbar, .blk *::-webkit-scrollbar { width: 4px; }
.blk::-webkit-scrollbar-thumb, .blk *::-webkit-scrollbar-thumb { background: rgba(220, 230, 250, 0.25); }

/* A carved hairline under the heading of text stones. */
.blk--talk .talk__title, .blk--news .talk__title { position: relative; padding-bottom: 12px; margin-bottom: 12px; }
.blk--talk .talk__title::after, .blk--news .talk__title::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 64px; height: 2px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}.blk__img img, .blk--photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); transition: filter 0.8s var(--ease); }
.lev-block.is-focus .blk__img img, .lev-block.is-focus.blk--photo img { filter: none; }
.blk__meta { display: grid; gap: 4px; padding: 14px 4px 0; }
.blk__meta b { font-family: var(--sans); font-weight: 400; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; }
.blk__meta small, .blk__meta em { font-style: normal; font-family: var(--sans); font-weight: 300; font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-3); }
.blk--album { width: 250px; }
.blk--album .blk__img { aspect-ratio: 4 / 5; }
.blk--video { width: 400px; }
.blk--video .blk__img { aspect-ratio: 16 / 9; }
.blk__play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px; border: 1px solid rgba(236, 242, 255, 0.8); border-radius: 50%; transition: box-shadow 0.6s var(--ease), transform 0.6s var(--ease); }
.blk__play::after { content: ''; position: absolute; left: 23px; top: 19px; border-left: 16px solid var(--ink); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.lev-block.is-focus .blk__play { box-shadow: var(--glow); transform: scale(1.06); }
.blk__img em { position: absolute; right: 8px; bottom: 8px; padding: 3px 7px; background: rgba(3, 4, 7, 0.72); font-style: normal; font-family: var(--sans); font-size: 9px; letter-spacing: 0.2em; color: var(--ink-2); }
.blk--photo { width: 220px; padding: 9px; }
.blk--photo img { aspect-ratio: 4 / 5; height: auto; }
.blk--talk { width: 420px; padding: 24px 26px 22px; }
.blk--talk .talk__text { margin-bottom: 6px !important; }
.blk__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.8s var(--ease); }
.blk__more > div { overflow: hidden; }
.lev-block.is-open .blk__more { grid-template-rows: 1fr; }
.blk--talk .talk__quote { margin-top: 12px; }
.blk__hint { display: inline-block; margin-top: 10px; font-family: var(--sans); font-weight: 300; font-size: 9px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--ink-3); opacity: 0; transition: opacity 0.6s var(--ease); }
.lev-block.is-focus .blk__hint { opacity: 1; }
.blk--talk.is-open .blk__hint { display: none; }

/* Section headers carry their filters under the title. */

/* Tour: a date stone. */
.blk--date { width: 270px; padding: 26px 26px 24px; text-align: left; }
.date__day { margin: 0 !important; font-family: var(--sans); font-weight: 200; font-size: 76px; line-height: 0.95; letter-spacing: 0.04em; color: var(--ink) !important; text-shadow: 0 0 30px rgba(200, 220, 255, 0.3); }
.date__month { margin: 6px 0 22px !important; font-family: var(--sans); font-weight: 300; font-size: 10px; letter-spacing: 0.45em; text-transform: uppercase; color: var(--ink-3) !important; }
.date__city { margin: 0 0 4px !important; font-family: var(--sans); font-weight: 400; font-size: 17px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink) !important; }
.date__city small { margin-left: 10px; font-weight: 300; font-size: 10px; letter-spacing: 0.3em; color: var(--ink-3); }
.date__venue { margin: 0 0 22px !important; font-size: 15.5px; line-height: 1.45; color: var(--ink-3) !important; }
.date__cta { display: inline-flex; gap: 8px; padding: 9px 14px; border: 1px solid rgba(230, 236, 246, 0.3); font-family: var(--sans); font-weight: 300; font-size: 10px; letter-spacing: 0.38em; text-transform: uppercase; color: var(--ink); transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease); }
a.date__cta:hover { border-color: var(--ink); box-shadow: var(--glow); }
.date__cta.is-disabled { border-style: dashed; color: var(--ink-3); }
.blk--date.is-past { opacity: 0.6; }
.blk--booking { width: 320px; }
.blk--booking .date__city { font-size: 22px; margin-bottom: 12px !important; }
.blk--booking .date__cta { text-transform: none; letter-spacing: 0.1em; font-size: 12px; }

/* Releases: record stones in rows of three; a click raises one large stone in front. */
.lev__stage { transition: opacity 0.7s var(--ease), filter 0.7s var(--ease); }
.lev__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; z-index: 2; transition: 0.5s var(--ease); }
.lev__close span::before, .lev__close span::after { content: ''; position: absolute; left: 12px; right: 12px; top: 19px; height: 1px; background: var(--ink); transform: rotate(45deg); }
.lev__close span::after { transform: rotate(-45deg); }
.lev__close:hover { border-color: var(--ink); box-shadow: var(--glow); }
/* News: an inscription cut into a slab of obsidian. Not a card: the slab is half transparent (the hall
   glows through it), its grain is the stone's, the date is carved huge and faint behind the text, a seam of
   light runs down the left edge with the music, and the text itself is cut in — lit lower lip, dark upper. */
.blk--news {
  position: relative; width: min(720px, calc(100vw - 290px)); padding: 40px 48px 34px 56px; display: block; overflow: hidden;
  background:
    linear-gradient(105deg, rgba(14, 18, 26, 0.80), rgba(4, 5, 8, 0.92) 60%),
    radial-gradient(90% 70% at 18% 0%, rgba(190, 212, 255, 0.10), transparent 60%),
    url(../assets/ui/stone-2.jpg) var(--sx, 50%) var(--sy, 50%) / 640px;
  background-blend-mode: normal, screen, luminosity;
  transition: width 0.8s var(--ease), padding 0.8s var(--ease), box-shadow 0.8s var(--ease), opacity 0.8s var(--ease);
}
/* Chipped corners: the slab is broken, not cut by a machine. */
.blk--news > .news__chips { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    linear-gradient(135deg, var(--bg) 0 14px, rgba(220, 232, 255, 0.18) 14px 15px, transparent 15px) top left / 40px 40px no-repeat,
    linear-gradient(225deg, var(--bg) 0 7px, rgba(220, 232, 255, 0.14) 7px 8px, transparent 8px) top right / 24px 24px no-repeat,
    linear-gradient(-45deg, var(--bg) 0 22px, rgba(0, 0, 0, 0.6) 22px 23px, transparent 23px) bottom right / 60px 60px no-repeat; }
/* The seam of light on the left edge: thin, uneven, breathing with the kick. */
.blk--news::after {
  content: ''; position: absolute; left: 22px; top: 26px; bottom: 26px; width: 1px; filter: none; height: auto; right: auto;
  background: linear-gradient(180deg, transparent, rgba(200, 222, 255, calc(0.35 + var(--pulse, 0) * 0.6)) 18%, rgba(200, 222, 255, 0.12) 46%, rgba(200, 222, 255, calc(0.5 + var(--pulse, 0) * 0.5)) 72%, transparent);
  box-shadow: 0 0 12px rgba(180, 208, 255, calc(0.25 + var(--pulse, 0) * 0.5));
}
.blk--news > * { position: relative; z-index: 1; }
.news__date { position: absolute !important; z-index: 0 !important; right: 26px; top: 6px; pointer-events: none; text-align: right; }
.news__date b {
  display: block; font-family: var(--sans); font-weight: 200; font-size: 210px; line-height: 0.9; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(220, 232, 255, 0.10);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35); transition: font-size 0.8s var(--ease), opacity 0.8s var(--ease);
}
.news__date span { display: none; }
.news__main { min-width: 0; max-width: 34em; }
.news__tag {
  display: flex; align-items: center; gap: 16px; margin: 0 0 18px !important; font-family: var(--sans); font-weight: 400; font-size: 12px;
  letter-spacing: 0.36em; text-transform: uppercase; color: var(--ink) !important; text-shadow: 0 0 14px rgba(190, 212, 255, 0.5);
}
.news__tag::after { content: ''; width: 48px; height: 1px; background: linear-gradient(90deg, rgba(220, 232, 255, 0.5), transparent); }
.news__title {
  margin: 0; font-family: var(--sans); font-weight: 200; font-size: 34px; line-height: 1.18; letter-spacing: 0.16em; text-transform: uppercase;
  color: #eef2f8; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.95), 0 1px 0 rgba(255, 255, 255, 0.10), 0 0 28px rgba(190, 210, 255, 0.22);
  transition: font-size 0.8s var(--ease), letter-spacing 0.8s var(--ease);
}
.news__lede {
  margin: 22px 0 6px !important; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--ink) !important;
  max-width: none !important; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.8);
}
.blk--news .blk__more > div { max-height: 40vh; overflow-y: auto; padding-right: 8px; }
.news__p { margin: 14px 0 0 !important; font-size: 17px; line-height: 1.65; color: var(--ink-2) !important; max-width: none !important; }
.news__p:first-of-type::first-letter { float: left; font-family: var(--sans); font-weight: 200; font-size: 52px; line-height: 0.9; margin: 4px 10px 0 0; color: var(--ink); text-shadow: 0 0 18px rgba(190, 212, 255, 0.35); }
.news__img { display: block; width: 100%; margin-top: 20px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.85), 0 1px 0 1px rgba(255, 255, 255, 0.08), inset 0 0 40px rgba(0, 0, 0, 0.6); filter: saturate(0.6) brightness(0.92); }
/* Read / unread neighbours: a narrow bar of stone with the carved title only. */
.blk--news:not(.is-open) { width: min(600px, calc(100vw - 320px)); padding: 16px 30px 16px 44px; opacity: 0.72; }
.blk--news:not(.is-open) .news__date b { font-size: 64px; -webkit-text-stroke: 1px rgba(220, 232, 255, 0.08); }
.blk--news:not(.is-open) .news__date { top: -2px; }
.blk--news:not(.is-open) .news__tag { margin-bottom: 6px !important; }
.blk--news:not(.is-open) .news__title { font-size: 14px; letter-spacing: 0.28em; }

/* Tour: long bars of stone, one under another — number, carved date, place, the call. */
.blk--bar {
  position: relative; width: 760px; padding: 22px 30px 22px 26px; display: grid; align-items: center;
  grid-template-columns: 30px 150px 1fr auto; gap: 26px; overflow: hidden;
  transition: width 0.8s var(--ease), padding 0.8s var(--ease), opacity 0.8s var(--ease), box-shadow 0.8s var(--ease);
}
.blk--bar::after {
  content: ''; position: absolute; left: 0; right: auto; top: 18%; bottom: 18%; width: 2px; height: auto; filter: none;
  background: linear-gradient(180deg, transparent, rgba(200, 222, 255, calc(0.4 + var(--pulse, 0) * 0.6)), transparent);
  box-shadow: 0 0 14px rgba(180, 208, 255, calc(0.3 + var(--pulse, 0) * 0.5)); opacity: 0; transition: opacity 0.8s var(--ease);
}
.blk--bar.is-open::after { opacity: 1; }
.bar__no { margin: 0 !important; font-family: var(--serif); font-size: 15px; letter-spacing: 0.1em; color: var(--ink-3) !important; writing-mode: vertical-rl; transform: rotate(180deg); }
.bar__date { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: end; margin: 0 !important; }
.bar__date b {
  grid-row: 1 / 3; font-family: var(--sans); font-weight: 200; font-size: 64px; line-height: 0.82; letter-spacing: 0.02em; color: var(--ink);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 26px rgba(190, 210, 255, 0.25);
}
.bar__date span { font-family: var(--sans); font-weight: 300; font-size: 10px; line-height: 1.6; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-2); }
.bar__date small { font-family: var(--sans); font-weight: 300; font-size: 9px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-3); }
.bar__glyph { font-size: 52px !important; }
.bar__place { display: grid; gap: 4px; margin: 0 !important; min-width: 0; border-left: 1px solid rgba(0, 0, 0, 0.6); box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.05); padding-left: 26px; }
.bar__place b { font-family: var(--sans); font-weight: 400; font-size: 20px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink); }
.bar__place small { position: absolute; margin-left: 0; font-family: var(--sans); font-size: 9px; letter-spacing: 0.4em; color: var(--ink-3); transform: translate(calc(100% + 8px), 4px); display: none; }
.bar__place span { font-size: 15.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar__place em { font-style: italic; color: var(--ink-2); }
.blk--bar .date__cta { justify-self: end; }
.blk--bar:not(.is-open) { width: 680px; padding: 12px 26px; opacity: 0.6; }
.blk--bar:not(.is-open) .bar__date b { font-size: 36px; }
.blk--bar:not(.is-open) .bar__place b { font-size: 14px; }
.blk--bar.is-past { opacity: 0.45; }
.blk--bar.is-past .bar__date b { text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: rgba(220, 232, 255, 0.35); }
@media (max-width: 860px) {
  .blk--bar, .blk--bar:not(.is-open) { width: min(92vw, 420px); grid-template-columns: 96px 1fr; gap: 14px; padding: 16px; }
  .bar__no { display: none; }
  .bar__date b { font-size: 44px; }
  .bar__date { grid-template-columns: 1fr; row-gap: 8px; }  /* glyph over words: the 96px column holds no side-by-side pair */
  .bar__date b { grid-row: auto; }
  .bar__date span { letter-spacing: 0.26em; font-size: 9px; }
  .bar__glyph { font-size: 38px !important; }
  .bar__place { padding-left: 14px; }
  .bar__place b, .blk--bar:not(.is-open) .bar__place b { font-size: 15px; letter-spacing: 0.2em; }
  .bar__place span { white-space: normal; font-size: 14.5px; }
  .blk--bar .date__cta { grid-column: 1 / -1; justify-self: start; }
}
/* Narrow desktops: the feed may cross the herald stone rather than be cut. */
@media (min-width: 861px) and (max-width: 1280px) { .panel--news .lev__stage { right: var(--gutter) !important; } }
/* The feed keeps left of the Herald Stone, which stays visible on the right. */
.panel--news .lev__stage { right: 30vw; top: 150px; perspective-origin: 50% 45%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 70px); mask-image: linear-gradient(180deg, transparent 0, #000 70px); }
/* Media's menu: the three relics float high up in a row, always within reach; the archive drifts below. */
.lev__choices {
  position: absolute; z-index: 3; top: calc(var(--gutter) + 8px); left: calc(var(--gutter) + 200px); right: var(--gutter);
  display: flex; justify-content: center; gap: clamp(28px, 4vw, 64px);
}
.panel--media .lev__stage { top: 250px; }
.lev__head { transition: opacity 0.6s var(--ease); }
body:has(.panel.has-detail) .progress { opacity: 0; transition: opacity 0.6s var(--ease); }
.panel--media.head-hidden .lev__head { opacity: 0; pointer-events: none; }
/* Interviews as a feed: read stones fade out as they rise towards the relics. */
.panel--media.is-feed .lev__stage { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 110px); mask-image: linear-gradient(180deg, transparent 0, #000 110px); }
.panel--media.is-feed .blk--talk { width: 520px; }
/* Wide screens: each relic stands on the top of its column in the hall (positions come from JS). */
.lev__choices.is-anchored { inset: 0; display: block; pointer-events: none; }
.lev__choices.is-anchored .relic { position: absolute; translate: -50% -100%; pointer-events: auto; }
.lev__choices.is-anchored .relic__stone { width: 96px; height: 128px; }
.lev__choices.is-anchored .relic__stone svg { width: 46px; height: 46px; margin-top: 16px; }
.lev__choices.is-anchored .relic::after { top: 118px; }
.lev__choices.is-anchored .relic b { position: absolute; top: calc(100% + 14px); white-space: nowrap; }
.relic {
  position: relative; display: grid; justify-items: center; gap: 10px;
  opacity: 0.8; transition: opacity 0.7s var(--ease);
  animation: relicFloat 5.5s ease-in-out infinite alternate;
}
.relic:nth-child(2) { animation-delay: -1.8s; }
.relic:nth-child(3) { animation-delay: -3.6s; }
@keyframes relicFloat { from { transform: translateY(-5px); } to { transform: translateY(5px); } }
.relic__stone {
  position: relative; display: grid; place-items: center; width: 84px; height: 112px;
  background: radial-gradient(120% 80% at 25% 10%, rgba(195, 215, 255, 0.14), transparent 60%), linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.5)), url(../assets/ui/stone-2.jpg) 40% 30% / 320px;
  clip-path: polygon(0 17%, 32% 17%, 50% 0, 68% 17%, 100% 17%, 100% 93%, 93% 100%, 7% 100%, 0 93%);
  box-shadow: inset 0 0 0 1px rgba(230, 238, 255, 0.14), inset 2px 2px 0 rgba(255, 255, 255, 0.08), inset -2px -3px 0 rgba(0, 0, 0, 0.6), inset 0 -24px 30px rgba(0, 0, 0, 0.55);
  transition: filter 0.7s var(--ease), transform 0.9s var(--ease);
}
.relic__stone svg { width: 42px; height: 42px; margin-top: 14px; fill: none; stroke: rgba(236, 243, 255, 0.85); stroke-width: 1.3; filter: drop-shadow(0 0 5px rgba(190, 215, 255, calc(0.4 + var(--pulse, 0) * 0.5))); }
.relic__stone svg circle[r="2.5"] { fill: rgba(236, 243, 255, 0.9); }
.relic::after { content: ''; position: absolute; left: 50%; top: 104px; width: 110px; height: 22px; margin-left: -55px; background: radial-gradient(50% 50% at 50% 50%, rgba(170, 200, 255, 0.22), transparent 72%); filter: blur(5px); pointer-events: none; transition: opacity 0.7s var(--ease); opacity: 0.5; }
.relic b { font-family: var(--sans); font-weight: 300; font-size: 10px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--ink-2); transition: color 0.6s var(--ease), text-shadow 0.6s var(--ease); }
.relic sup { margin-left: 5px; font-family: var(--serif); font-size: 11px; letter-spacing: 0; color: var(--ink-3); }
.relic:hover, .relic:focus-visible { opacity: 0.9; }
.relic:hover .relic__stone, .relic:focus-visible .relic__stone { transform: translateY(-6px); filter: brightness(1.25); }
/* The chosen relic: lit from within, risen, with a brighter pool of light beneath. */
.relic.is-active { opacity: 1; }
.relic.is-active .relic__stone { transform: translateY(-8px); filter: brightness(1.45); box-shadow: inset 0 0 0 1px rgba(236, 243, 255, 0.5), inset 0 -24px 30px rgba(0, 0, 0, 0.4); }
.relic.is-active::after { opacity: 1; }
.relic.is-active b { color: var(--ink); text-shadow: 0 0 14px rgba(200, 220, 255, 0.6); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px 18px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.tiles--video { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.tile { display: block; width: 100%; text-align: left; }
.tile__img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid rgba(230, 236, 246, 0.16); transition: border-color 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.tiles--video .tile__img { aspect-ratio: 16 / 9; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.78) saturate(0.85); transition: transform 1.4s var(--ease), filter 0.8s var(--ease); }
.tile:hover .tile__img { border-color: rgba(230, 236, 246, 0.6); box-shadow: 0 0 24px rgba(180, 205, 255, 0.18); }
.tile:hover .tile__img img { transform: scale(1.04); filter: brightness(1) saturate(1); }
.tile__meta { display: grid; gap: 3px; padding-top: 12px; }
.tile__meta b { font-family: var(--sans); font-weight: 400; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink); }
.tile__meta small { font-family: var(--sans); font-weight: 300; font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-3); }
.tile__play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px; border: 1px solid rgba(236, 242, 255, 0.75); border-radius: 50%; transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease); }
.tile__play::after { content: ''; position: absolute; left: 21px; top: 18px; border-left: 15px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.tile:hover .tile__play { transform: scale(1.1); box-shadow: var(--glow); }
.tile__img em { position: absolute; right: 8px; bottom: 8px; padding: 3px 7px; background: rgba(3, 4, 7, 0.72); font-style: normal; font-family: var(--sans); font-size: 9px; letter-spacing: 0.2em; color: var(--ink-2); }

.back { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; font-family: var(--sans); font-weight: 300; font-size: 9.5px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-3); transition: color 0.5s var(--ease); }
.back span { width: 7px; height: 7px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.back:hover { color: var(--ink); }
.album__head { margin-bottom: 18px; }
.album__title { margin: 0 0 6px; font-family: var(--sans); font-weight: 300; font-size: 18px; letter-spacing: 0.3em; text-transform: uppercase; }
.album__meta { font-family: var(--sans); font-weight: 300; font-size: 9.5px !important; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-3) !important; margin: 0 0 10px !important; }
.album__text { font-size: 16px; margin: 0 !important; }
.sheet { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.sheet__frame { display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid rgba(230, 236, 246, 0.12); cursor: zoom-in; transition: border-color 0.5s var(--ease); }
.sheet__frame img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.8); transition: transform 1.2s var(--ease), filter 0.6s var(--ease); }
.sheet__frame:hover { border-color: rgba(230, 236, 246, 0.6); }
.sheet__frame:hover img { transform: scale(1.05); filter: none; }

.talks { list-style: none; margin: 0; padding: 0; }
.talk { padding: 20px 0 22px; border-top: 1px solid var(--line); }
.talk:first-child { border-top: 0; padding-top: 4px; }
.talk__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 8px !important; font-family: var(--sans); font-weight: 300; font-size: 9.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-3) !important; }
.talk__meta span { color: var(--ink); }
.talk__meta em { font-style: normal; padding: 2px 8px; border: 1px solid var(--line); font-size: 8.5px; }
.talk__title { margin: 0 0 6px; font-family: var(--sans); font-weight: 300; font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.5; }
.talk__text { font-size: 16px; margin: 0 0 12px !important; max-width: 40em !important; }
.talk__quote { margin: 0 0 14px; padding: 2px 0 2px 18px; border-left: 1px solid var(--ink-2); font-style: italic; font-size: 19px; line-height: 1.5; color: var(--ink); max-width: 36em; }
.link { display: inline-flex; gap: 8px; font-family: var(--sans); font-weight: 300; font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: color 0.5s var(--ease), border-color 0.5s var(--ease); }
.link:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- news: the herald stone's feed ---------- */
.feed { list-style: none; margin: 0; padding: 0 10px 0 0; flex: 1; min-height: 0; }
.feed__item { border-top: 1px solid var(--line); }
.feed__item:last-child { border-bottom: 1px solid var(--line); }
.feed__head { position: relative; display: grid; gap: 4px; width: 100%; padding: 16px 40px 16px 0; text-align: left; }
.feed__meta { display: flex; align-items: center; gap: 12px; font-family: var(--sans); font-weight: 300; font-size: 9.5px; letter-spacing: 0.38em; text-transform: uppercase; color: var(--ink-3); }
.feed__meta em { font-style: normal; padding: 1px 7px; border: 1px solid rgba(230, 236, 246, 0.18); font-size: 8.5px; }
.feed__item:first-child .feed__meta time::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 10px; vertical-align: 1px; border-radius: 50%; background: var(--ink); box-shadow: var(--glow); }
.feed__title { font-family: var(--sans); font-weight: 400; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink); transition: text-shadow 0.6s var(--ease); }
.feed__excerpt { font-size: 15.5px; line-height: 1.5; color: var(--ink-3); }
.feed__toggle { position: absolute; right: 6px; top: 22px; width: 13px; height: 13px; }
.feed__toggle::before, .feed__toggle::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--ink-2); transition: transform 0.6s var(--ease); }
.feed__toggle::after { transform: rotate(90deg); }
.feed__head:hover .feed__title { text-shadow: 0 0 14px rgba(200, 220, 255, 0.55); }
.feed__item.is-open .feed__toggle::after { transform: rotate(0deg); }
.feed__item.is-open .feed__excerpt { color: var(--ink-2); }
.feed__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.8s var(--ease); }
.feed__body > div { overflow: hidden; }
.feed__item.is-open .feed__body { grid-template-rows: 1fr; }
.feed__body p { font-size: 16.5px; color: var(--ink-2); margin: 0 0 12px; max-width: 34em; }
.feed__body img { display: block; width: 100%; margin: 4px 0 14px; border: 1px solid rgba(230, 236, 246, 0.16); }
.feed__more { align-self: flex-start; margin-top: 16px; font-family: var(--sans); font-weight: 300; font-size: 10px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--ink-3); transition: color 0.5s var(--ease); }
.feed__more:hover { color: var(--ink); }

/* ---------- releases: hall of records ---------- */
.shelf { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.shelf__list { list-style: none; margin: 0; padding: 0 0 6px; display: flex; gap: 14px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(230, 236, 246, 0.22) transparent; }
.shelf__list li { flex: none; width: 104px; }
.shelf__list button { display: grid; gap: 3px; width: 100%; text-align: left; opacity: 0.55; transition: opacity 0.6s var(--ease); }
.shelf__list img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid rgba(230, 236, 246, 0.16); margin-bottom: 6px; transition: border-color 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.shelf__list b { font-family: var(--sans); font-weight: 400; font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; }
.shelf__list small { font-family: var(--sans); font-weight: 300; font-size: 8.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-3); }
.shelf__list button:hover, .shelf__list button[aria-current] { opacity: 1; }
.shelf__list button[aria-current] img { border-color: rgba(236, 242, 255, 0.8); box-shadow: 0 0 18px rgba(180, 205, 255, 0.25); }

/* ---------- viewer: photos & video, full screen ---------- */
.viewer {
  position: fixed; inset: 0; z-index: 30; background: rgba(1, 2, 4, 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transition: opacity 0.7s var(--ease), visibility 0s linear 0.7s;
}
.viewer.is-open { opacity: 1; visibility: visible; transition: opacity 0.7s var(--ease), visibility 0s; }
.viewer__stage { position: absolute; inset: 60px 96px 168px; display: grid; place-items: center; }
.viewer.is-single .viewer__stage { inset: 60px 60px 90px; }
.viewer__item { opacity: 0; transform: scale(0.985); transition: opacity 0.6s var(--ease), transform 0.9s var(--ease); }
.viewer__item.is-in { opacity: 1; transform: none; }
.viewer__img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 0 60px rgba(160, 190, 255, 0.08); }
.viewer__video { width: min(100%, calc((100vh - 230px) * 16 / 9)); aspect-ratio: 16 / 9; border: 0; background: #000; }
.viewer__soon { position: relative; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.viewer__soon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.viewer__soon p { position: relative; margin: 0; font-family: var(--sans); font-weight: 300; font-size: 11px; letter-spacing: 0.5em; text-transform: uppercase; color: var(--ink-2); }
.viewer__close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; transition: 0.5s var(--ease); }
.viewer__close span::before, .viewer__close span::after { content: ''; position: absolute; left: 13px; right: 13px; top: 21px; height: 1px; background: var(--ink); transform: rotate(45deg); }
.viewer__close span::after { transform: rotate(-45deg); }
.viewer__close:hover, .viewer__arrow:hover { border-color: var(--ink); box-shadow: var(--glow); }
.viewer__arrow { position: absolute; top: calc(50% - 54px); width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; transition: 0.5s var(--ease); }
.viewer__arrow--prev { left: 26px; }
.viewer__arrow--next { right: 26px; }
.viewer__arrow span { position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -3px; border-left: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg); }
.viewer__arrow--next span { margin-left: -8px; transform: rotate(-135deg); }
.viewer__bar { position: absolute; left: 96px; right: 96px; bottom: 116px; display: flex; justify-content: space-between; gap: 20px; }
.viewer.is-single .viewer__bar { bottom: 40px; }
.viewer__bar p { margin: 0; font-family: var(--sans); font-weight: 300; font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-3); }
.viewer__strip { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); max-width: calc(100vw - 48px); list-style: none; margin: 0; padding: 4px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.viewer__strip button { position: relative; display: block; width: 56px; height: 70px; border: 1px solid rgba(230, 236, 246, 0.14); opacity: 0.5; overflow: hidden; transition: 0.5s var(--ease); }
.viewer__strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.viewer__strip span { font-family: var(--serif); font-size: 13px; color: var(--ink-2); }
.viewer__strip i { position: absolute; left: 50%; top: 50%; margin: -6px 0 0 -4px; border-left: 10px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.viewer__strip button:hover { opacity: 0.85; }
.viewer__strip button[aria-current] { opacity: 1; border-color: rgba(236, 242, 255, 0.85); box-shadow: 0 0 12px rgba(180, 205, 255, 0.3); }
.viewer.is-single .viewer__arrow, .viewer.is-single .viewer__strip { display: none; }
/* archive (Media) */
.hint { display: flex; align-items: center; gap: 14px; margin-top: 22px !important; font-family: var(--sans); font-weight: 300; font-size: 10px !important; letter-spacing: 0.45em; text-transform: uppercase; color: var(--ink-3) !important; }
.hint i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); box-shadow: var(--glow); animation: pulse 4s ease-in-out infinite; }
.panel--album { left: calc(var(--gutter) + 210px); top: 50%; transform: translateY(-50%); width: min(440px, 34vw); }
.panel--album .cta { margin-top: 26px; }

.relic-label {
  position: fixed; left: 0; top: 0; z-index: 6; pointer-events: none; opacity: 0; transition: opacity 0.6s var(--ease);
  padding: 10px 16px 9px; background: rgba(3, 4, 7, 0.78); border: 1px solid rgba(230, 236, 246, 0.16); backdrop-filter: blur(8px);
  font-family: var(--sans); font-weight: 300; text-transform: uppercase; white-space: nowrap;
}
.relic-label.is-visible { opacity: 1; }
.relic-label b { display: block; font-weight: 300; font-size: 12px; letter-spacing: 0.45em; color: var(--ink); }
.relic-label span { font-size: 9px; letter-spacing: 0.4em; color: var(--ink-3); }

.lightbox {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.96); z-index: 15; margin: 0; padding: 16px 16px 12px;
  opacity: 0; visibility: hidden; cursor: zoom-out;
  transition: opacity 1s var(--ease), transform 1.2s var(--ease), visibility 0s linear 1s;
  box-shadow: 0 0 0 100vmax rgba(1, 2, 4, 0.72);
}
.lightbox.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); transition: opacity 1s var(--ease), transform 1.2s var(--ease), visibility 0s; }
.lightbox img { display: block; max-height: 76vh; max-width: 80vw; }
.lightbox figcaption { padding-top: 12px; text-align: center; font-family: var(--sans); font-weight: 300; font-size: 10px; letter-spacing: 0.45em; text-transform: uppercase; color: var(--ink-3); }
.lightbox.is-open .artifact__line { stroke-dashoffset: 0; }
.lightbox.is-open .artifact__orn { opacity: 1; }
/* contact */
.rule { position: relative; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); margin: 0 auto 24px; width: 70%; }
.rule i { position: absolute; left: 50%; top: -4px; width: 9px; height: 9px; margin-left: -4.5px; border: 1px solid var(--ink-2); border-radius: 50%; background: var(--bg); }
.contacts { margin: 0 0 22px; display: grid; gap: 12px; }
.contacts dt { font-family: var(--sans); font-weight: 300; font-size: 9.5px; letter-spacing: 0.5em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.contacts dd { margin: 0; font-size: 19px; letter-spacing: 0.06em; }
.contacts a:hover { text-shadow: var(--glow); }
.socials { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; max-width: 360px; }
.socials a { font-family: var(--sans); font-weight: 300; font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-2); }
.socials a:hover { color: var(--ink); }
.socials .is-pending { font-family: var(--sans); font-weight: 300; font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-3); cursor: default; }

/* Media: a kind with nothing published yet */
.blk--soon { width: min(360px, 80vw); padding: 34px 30px; text-align: center; cursor: default; }
.blk--soon b { font-family: var(--sans); font-weight: 300; font-size: 13px; letter-spacing: 0.5em; text-indent: 0.5em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 20; display: grid; place-content: center; justify-items: center; gap: 26px; background: var(--bg);
  transition: opacity 2.2s var(--ease) 0.5s, visibility 0s linear 2.7s; overflow: hidden;
}
.loader.is-gone { opacity: 0; visibility: hidden; }
.loader.is-gone > * { opacity: 0; transform: scale(1.15); transition: opacity 0.7s var(--ease), transform 1.2s var(--ease); }
/* The sign draws itself on the dark, again and again, until the whole hall has loaded (js/ui.js); then it completes. */
.logo--draw { width: 240px; height: 94px; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw-loop 3.6s var(--ease) infinite alternate; }
.logo--draw.is-done { animation: none; transition: stroke-dashoffset 1.6s var(--ease), filter 1.6s var(--ease); stroke-dashoffset: 0; filter: drop-shadow(0 0 10px rgba(200, 222, 255, 0.55)); }
@keyframes draw-loop { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .logo--draw { animation: none; stroke-dashoffset: 0; } }
.loader__status { font-family: var(--sans); font-weight: 300; font-size: 10px; letter-spacing: 0.55em; text-transform: uppercase; color: var(--ink-3); margin: 0; min-height: 1em; }
.loader__enter {
  display: inline-flex; align-items: center; gap: 16px; font-family: var(--sans); font-weight: 300; font-size: 11px; letter-spacing: 0.5em; text-transform: uppercase;
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.loader__enter:not([disabled]) { opacity: 1; }
.loader__enter:hover .cta__ring, .loader__enter:focus-visible .cta__ring { border-color: var(--ink); box-shadow: var(--glow); transform: scale(1.1); }
.loader__enter:focus { outline: none; }

.noscript { position: fixed; inset: 0; display: grid; place-content: center; font-family: var(--sans); letter-spacing: 0.3em; text-transform: uppercase; }

/* The cursor: a point of cold light, drawn by the system itself (no lag, however heavy the hall); a little larger
   and brighter over anything that can be pressed; the usual caret in text fields; gone while the hall is alone. */
html, html * {
  cursor: url(../assets/ui/cursor.png) 12 12, auto;
  cursor: image-set(url(../assets/ui/cursor.png) 1x, url(../assets/ui/cursor@2x.png) 2x) 12 12, auto;
}
html :is(a, button, [role="button"], label, select, .lev-block, .relic, .tracklist li, .player, canvas.is-hot) {
  cursor: url(../assets/ui/cursor-hot.png) 16 16, pointer !important;
  cursor: image-set(url(../assets/ui/cursor-hot.png) 1x, url(../assets/ui/cursor-hot@2x.png) 2x) 16 16, pointer !important;
}
html :is(input:not([type="button"]):not([type="submit"]), textarea, [contenteditable="true"]) { cursor: text !important; }
body.ui-ready.idle, body.ui-ready.idle * { cursor: none !important; }

/* Hide chrome until the visitor enters. */
body:not(.is-entered) .brand, body:not(.is-entered) .nav, body:not(.is-entered) .progress { opacity: 0; }
.brand, .nav, .progress { transition: opacity 2s var(--ease) 1s; }
/* The hall alone (js/idle.js): the mouse rests — the chrome dissolves; it moves — the chrome is back at once. */
body.ui-ready .brand, body.ui-ready .nav, body.ui-ready .progress, body.ui-ready .panels { transition: opacity 0.5s var(--ease); }
body.ui-ready.idle .brand, body.ui-ready.idle .nav, body.ui-ready.idle .progress, body.ui-ready.idle .panels {
  opacity: 0; pointer-events: none; transition: opacity 1.8s var(--ease);
}

/* ---------- narrow screens ---------- */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .logo { width: 110px; height: 43px; }
  .progress { display: none; }
  .nav { top: auto; bottom: 0; left: 0; right: 0; transform: none; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(0deg, rgba(3, 4, 7, 0.92), rgba(3, 4, 7, 0)); }
  /* Eight sections: the bar scrolls sideways instead of squeezing labels off screen. */
  .nav ul { grid-auto-flow: column; justify-content: start; gap: 22px; overflow-x: auto; scrollbar-width: none; padding: 0 4px 10px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .nav ul::-webkit-scrollbar { display: none; }
  .nav a { font-size: 9.5px; letter-spacing: 0.22em; }
  .nav a::before { left: 50%; top: auto; bottom: -8px; margin: 0 0 0 -2.5px; }
  .panel--home, .panel--about, .panel--contact, .panel--album {
    left: 30px; right: 30px; top: auto; bottom: 92px; transform: none; width: auto; max-height: 64vh; overflow-y: auto; padding: 30px 24px 24px !important;
  }
  .panel[data-shape="stele"] { padding-top: 60px !important; }
  .panel--about { left: 0; right: 0; justify-content: flex-start; padding: 30px 26px 24px !important; }
  .panel--about::before { -webkit-mask-image: none; mask-image: none; background: linear-gradient(0deg, rgba(2, 3, 6, 0.92) 60%, rgba(2, 3, 6, 0.6)); }
  .panel--about .title { letter-spacing: 0.32em; }
  .veil, body[data-section] .veil { background: linear-gradient(0deg, rgba(3, 4, 7, 0.9) 0%, rgba(3, 4, 7, 0.55) 45%, rgba(3, 4, 7, 0) 70%); }
  .title { font-size: 26px; margin-bottom: 16px; }
  .title::before { margin-bottom: 16px; }
  .player { top: auto; bottom: 92px; left: 30px; right: 30px; width: auto; padding: 12px 18px 12px 12px; gap: 14px; }  /* the player low, by the thumb */
  .player__dial { width: 88px; height: 88px; }
  .player__play { width: 52px; height: 52px; }
  .tracklist { left: 30px; right: 30px; width: auto; top: 128px; bottom: auto; transform: none; padding: 18px 20px 12px; }  /* its equalizer just under the logo */
  .tracklist li { padding: 8px 0; }
}
/* A phone turned sideways: the player and the tracklist keep a card's width at the right, not stretched across. */
@media (max-width: 860px) and (orientation: landscape) {
  /* stacked at the right as on a desktop, both a little slimmer so they clear each other on a short screen */
  .player { top: auto; bottom: calc(60px + env(safe-area-inset-bottom)); left: auto; right: 20px; width: 330px; padding: 8px 18px 8px 10px; }
  .player__dial { width: 70px; height: 70px; }
  .player__play { width: 44px; height: 44px; }
  .tracklist { top: 12px; bottom: auto; left: auto; right: 20px; width: 330px; padding: 10px 18px 6px; }
  .tracklist li { padding: 5px 0; }
  .tracklist .player__eq { display: none; }  /* no room above it sideways */
}
@media (max-width: 860px) {
  /* Content sections become bottom sheets that scroll inside themselves. */
  .lev__head { left: 24px; right: 24px; top: 70px; }
  .lev__path { left: 50%; bottom: 76px; }
  /* Phones: the head sits over the brightest stone — a dusk falls behind it from the top edge. */
  .lev__head::before { content: ''; position: absolute; z-index: -1; left: -24px; right: -24px; top: -70px; bottom: -40px; pointer-events: none;
    background: linear-gradient(180deg, rgba(3, 4, 7, 0.88), rgba(3, 4, 7, 0.62) 65%, rgba(3, 4, 7, 0)); }
  .lev__title { font-size: 24px; margin-bottom: 6px; }
  .lev__stage { left: 0; right: 0; top: 170px; bottom: 120px; perspective: 1100px; touch-action: none; }
    .lev__choices { top: 150px; left: 0; right: 0; gap: 22px; }
  .relic__stone { width: 58px; height: 78px; }
  .relic__stone svg { width: 30px; height: 30px; margin-top: 10px; }
  .relic::after { top: 72px; width: 80px; margin-left: -40px; }
  .relic b { font-size: 8.5px; letter-spacing: 0.26em; }
  .panel--media .lev__stage { top: 290px; }
  .blk--album { width: 200px; }
  .blk--video, .blk--talk { width: min(86vw, 360px); }
  .blk--photo { width: min(70vw, 260px); }
  .panel--news .lev__stage, .panel--releases .lev__stage { top: 84px; bottom: 96px; right: 0; }  /* no section head any more: the stone sits high */
  .blk--date { width: 240px; padding: 20px; }
  .date__day { font-size: 58px; }
  .blk--news, .blk--news:not(.is-open) { width: min(92vw, 420px); padding: 22px 20px 20px 34px; }
  .news__date b { font-size: 120px; }
  .news__title { font-size: 16px; letter-spacing: 0.12em; }
  .news__lede { font-size: 16px; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .tiles--video { grid-template-columns: 1fr; }
  .sheet { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .shelf__list li { width: 84px; }
  .viewer__stage, .viewer.is-single .viewer__stage { inset: 64px 0 150px; }
  .viewer__arrow { display: none; }
  .viewer__bar { left: 16px; right: 16px; bottom: 104px; }
}
/* Track with only an outside link (opens SoundCloud / YouTube / …) */
.tracklist__out { font-style: normal; margin-left: 8px; opacity: 0.6; font-size: 10px; }
.tracklist__soon { font-style: normal; font-size: 8.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- releases: the Hall of Records (js/releases.js) ---------- */
.panel--releases { inset: 0; }
.rel-room { position: fixed; inset: 0; pointer-events: none; transition: opacity 1.4s var(--ease); }
.panel--releases:not(.is-visible) .rel-room { opacity: 0; }
.panel--releases.is-visible .rel-room > * { pointer-events: auto; }
.rel-room > * { position: absolute; left: 0; top: 0; }
/* the cover, set into the left frame: a slab of light in the stone, slightly sunk */
.rel-cover { width: 600px; height: 600px; margin: 0; transform-origin: 0 0; }
.rel-cover img { display: block; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) brightness(0.96); }
.rel-cover::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 26px 8px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(220, 232, 255, 0.12); }
/* the screen in the right frame, upright like a phone: dark glass, its lines lighting up one after another */
.rel-screen { width: 450px; height: 800px; transform-origin: 0 0; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 35%, rgba(16, 22, 34, 0.88), rgba(2, 3, 6, 0.95));
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(200, 220, 255, 0.1); }
.rel-screen__in { position: absolute; inset: 56px 44px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.rel-screen__scan { position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px); }
.rel-screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(190, 215, 255, 0.07), transparent 22%); }
.scr__line { opacity: 0; filter: blur(3px); animation: scr-on 1.1s steps(1, end) forwards, scr-clear 0.9s var(--ease) forwards;
  animation-delay: calc(var(--k) * 0.28s), calc(var(--k) * 0.28s + 0.25s); }
@keyframes scr-on { 0% { opacity: 0.6; } 8% { opacity: 0.1; } 16% { opacity: 0.85; } 24% { opacity: 0.3; } 34%, 100% { opacity: 1; } }
@keyframes scr-clear { to { filter: none; } }
.rel-screen.is-off .scr__line { opacity: 0 !important; transition: opacity 0.35s; animation: none; }
.rel-screen .scr__kick { margin: 0 0 14px !important; font-family: var(--sans); font-weight: 300; font-size: 13px; letter-spacing: 0.46em; text-transform: uppercase; color: rgba(200, 216, 240, 0.6) !important; }
.rel-screen .scr__title { margin: 0 0 10px; font-family: var(--sans); font-weight: 200; font-size: 46px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); text-shadow: 0 0 26px rgba(190, 215, 255, 0.45); }
.rel-screen .scr__meta { margin: 0 0 22px !important; font-family: var(--sans); font-weight: 300; font-size: 12px; letter-spacing: 0.36em; text-transform: uppercase; color: rgba(200, 216, 240, 0.55) !important; }
.rel-screen .scr__text { margin: 0 0 14px !important; font-family: var(--serif); font-size: 22px; line-height: 1.45; color: rgba(232, 238, 248, 0.86) !important; max-width: none !important; }
.rel-screen .scr__tracks { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(220, 232, 255, 0.14); }
.rel-screen .scr__tracks li { display: flex; justify-content: space-between; font-family: var(--sans); font-weight: 300; font-size: 15px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-2); }
.rel-screen .scr__link { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(220, 232, 255, 0.14);
  font-family: var(--sans); font-weight: 300; font-size: 18px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink); transition: text-shadow 0.4s; }
.rel-screen .scr__link i { font-style: normal; color: var(--ink-3); }
.rel-screen .scr__link:hover { text-shadow: 0 0 18px rgba(190, 215, 255, 0.7); }
.rel-screen .scr__socials { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 16px !important; }
.rel-screen .scr__socials a { font-family: var(--sans); font-weight: 300; font-size: 14px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid rgba(220, 232, 255, 0.3); padding-bottom: 4px; }
/* the frames' stone skins over the cover and the screen (aeon_release_mask.py): the pictures sit under the stone */
.rel-masks { width: 0; height: 0; pointer-events: none !important; }
.rel-masks img { position: absolute; left: 0; top: 0; transform-origin: 0 0; max-width: none; pointer-events: none; }
.rel-room.is-flat .rel-masks { display: none; }
/* under the cover: three stone discs (rendered into the plate) — the text, the people (one alien face), the Store —
   a pictograph glowing on each, laid onto the stone in perspective; they wake on hover and burn when chosen */
.rel-crew { width: 0; height: 0; }
.rel-crew button { position: absolute; left: 0; top: 0; width: 100px; height: 100px; transform-origin: 0 0; display: grid; place-items: center; border-radius: 50%; }
.rel-crew svg { width: 64px; height: 64px; overflow: visible; fill: none; stroke: rgba(222, 234, 255, 0.55); stroke-width: 1.3; stroke-linecap: round;
  filter: drop-shadow(0 0 3px rgba(190, 212, 255, 0.5)); transition: stroke 0.5s, filter 0.5s; }
.rel-crew .alien__eye, .rel-crew .fill { fill: rgba(222, 234, 255, 0.6); stroke: none; transition: fill 0.5s; }
.rel-crew button::before { content: ''; position: absolute; inset: 4%; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle, rgba(190, 212, 255, 0.16), transparent 70%); opacity: 0; transition: opacity 0.5s; }
.rel-crew button:hover::before, .rel-crew button.is-on::before { opacity: 1; }
.rel-crew button:hover svg, .rel-crew button.is-on svg { stroke: #f2f6ff; filter: drop-shadow(0 0 6px rgba(200, 222, 255, 0.95)) drop-shadow(0 0 16px rgba(170, 200, 255, 0.6)); }
.rel-crew button:hover :is(.alien__eye, .fill), .rel-crew button.is-on :is(.alien__eye, .fill) { fill: #fff; }
/* the people, in the left frame instead of the cover while the face is pressed */
.rel-cover img { transition: opacity 0.9s var(--ease), filter 0.9s var(--ease); }
.rel-cover.is-crew img { opacity: 0.12; filter: blur(6px) brightness(0.6); }
.rel-cover__crew { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 60px;
  opacity: 0; pointer-events: none; transition: opacity 0.9s var(--ease); }
.rel-cover.is-crew .rel-cover__crew { opacity: 1; pointer-events: auto; }
.rel-cover__crew button { display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0.6; transition: opacity 0.4s, text-shadow 0.4s; }
.rel-cover__crew b { font-family: var(--sans); font-weight: 200; font-size: 40px; letter-spacing: 0.3em; text-indent: 0.3em; text-transform: uppercase; color: var(--ink); }
.rel-cover__crew i { font-style: normal; font-family: var(--sans); font-weight: 300; font-size: 13px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-3); }
.rel-cover__crew button:hover, .rel-cover__crew button[aria-selected="true"] { opacity: 1; text-shadow: 0 0 18px rgba(190, 215, 255, 0.8); }
/* the switch: the release symbols down the column, the empty slots faint notches */
.rel-switch { width: 0; height: 0; }
.rel-switch > * { position: absolute; left: 0; top: 0; }
.rel-switch button { width: 30px; height: 30px; display: grid; place-items: center; opacity: 0.55; transition: opacity 0.4s, filter 0.4s; }
.rel-switch svg { width: 22px; height: 22px; fill: none; stroke: #eef3ff; stroke-width: 1.4; }
.rel-switch svg .fill { fill: #eef3ff; stroke: none; }
.rel-switch button:hover, .rel-switch button[aria-selected="true"] { opacity: 1; filter: drop-shadow(0 0 6px rgba(200, 222, 255, 0.95)) drop-shadow(0 0 14px rgba(170, 200, 255, 0.6)); }
.rel-switch button.is-next { animation: rel-next 2.4s var(--ease) infinite; }
@keyframes rel-next { 0%, 100% { opacity: 0.45; filter: none; } 50% { opacity: 1; filter: drop-shadow(0 0 8px rgba(200, 222, 255, 0.9)); } }
.rel-switch__empty { width: 6px; height: 1px; background: rgba(220, 232, 255, 0.18); }
/* a narrow screen: no room to set things into the stone; the pieces stack */
.rel-room.is-flat { position: absolute; inset: 70px 20px 92px; display: flex; flex-direction: column; align-items: center; gap: 22px; overflow-y: auto; }
.rel-room.is-flat > * { position: relative; transform: none !important; }
.rel-room.is-flat .rel-cover { width: min(60vw, 280px); height: min(60vw, 280px); flex: none; }
.rel-room.is-flat .rel-crew { flex: none; width: auto; height: auto; display: flex; gap: 14px; }
.rel-room.is-flat .rel-crew button { position: relative; width: 56px; height: 56px; transform: none !important; border: 1px solid rgba(220, 232, 255, 0.25); }
.rel-room.is-flat .rel-crew svg { width: 36px; height: 36px; }
.rel-room.is-flat .rel-cover__crew { padding: 20px; gap: 14px; }
.rel-room.is-flat .rel-cover__crew b { font-size: 20px; }
.rel-room.is-flat .rel-screen { width: 100%; height: auto; flex: none; }
.rel-room.is-flat .rel-screen__in { position: relative; inset: auto; padding: 26px 22px; }
.rel-room.is-flat .rel-screen .scr__title { font-size: 30px; }
.rel-room.is-flat .rel-screen .scr__text { font-size: 17px; }
.rel-room.is-flat .rel-switch { display: none; }

/* A phone turned sideways, last so it wins over the narrow-screen rules above. */
@media (max-width: 860px) and (orientation: landscape) {
  /* Text panels: a card at the right, clear of the logo and the menu, scrolling inside if it must */
  .panel--home, .panel--contact { left: auto; right: 24px; top: 12px; bottom: calc(60px + env(safe-area-inset-bottom)); width: min(420px, 58vw); max-height: none; padding: 18px 26px !important; overflow-y: auto; }
  .panel--home .title, .panel--contact .title { font-size: 22px; margin-bottom: 10px; }
  .panel--about { left: 190px; right: 0; top: 0; bottom: calc(52px + env(safe-area-inset-bottom)); max-height: none; padding: 14px 26px 14px !important; }
  /* Media, Tour: no section head (it sat on the logo); the archive between the top and the menu */
  .lev__head { display: none; }
  .lev__choices { top: 8px; left: auto; right: 12px; gap: 14px; }
  .relic__stone { width: 44px; height: 58px; }
  .relic__stone svg { width: 22px; height: 22px; margin-top: 8px; }
  .relic::after { display: none; }
  .panel--media .lev__stage { top: 14px; bottom: calc(56px + env(safe-area-inset-bottom)); }
  .panel--media .blk--album { width: min(170px, calc((100vh - 150px) / 1.4)); }  /* cover and caption fit the screen's height, menu clear */
  .panel--media .blk--album .blk__meta small { display: none; }
  .panel--news .lev__stage, .panel--tour .lev__stage { top: 30px; bottom: calc(56px + env(safe-area-inset-bottom)); }
  .blk--news .blk__more > div { max-height: 30vh; }  /* the story scrolls inside the stone, above the menu */
}

/* A phone held upright: Media without its head (the relics take its place under the logo), the album below them,
   clear of the menu. */
@media (max-width: 860px) and (orientation: portrait) {
  .panel--media .lev__head { display: none; }
  .panel--media .lev__choices { top: 76px; }
  .panel--media .lev__stage { top: 200px; bottom: calc(66px + env(safe-area-inset-bottom)); }
  .panel--media .blk--album { width: min(56vw, 210px); }
  .panel--media .blk--album .blk__meta small { display: none; }
}
