:root {
  --bg: #0a0a0b;
  --ink: #ecebe6;
  --muted: #9b9a94;
  --faint: rgba(236, 235, 230, 0.14);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --caps: "Old Standard TT", Georgia, serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 clamp(18px, 1.2vw, 21px) / 1.55 var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
a { color: inherit; }
a, button { touch-action: manipulation; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

.sky { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; display: block; pointer-events: none; }
html.no-gl .sky { display: none; }

.veil { position: fixed; inset: 0; z-index: 50; background: var(--bg); pointer-events: none; opacity: 0; transition: opacity 1.8s var(--ease); }
html.is-loading .veil { opacity: 1; }

main, .foot { position: relative; z-index: 1; transition: opacity 0.6s; }

/* bar */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--gutter) 18px;
  border-bottom: 1px solid transparent;
  transition: background-color 0.5s, border-color 0.5s, opacity 0.6s;
}
.bar.is-solid { background: rgba(10, 10, 11, 0.86); border-bottom-color: var(--faint); }
.ticker { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; font-size: 19px; line-height: 1; transition: opacity 0.5s; }
.ticker-sub { color: var(--muted); }
.ticker-arrow { width: 14px; height: 14px; fill: currentColor; align-self: center; transition: transform 0.4s var(--ease); }
@media (hover: hover) { .ticker:hover .ticker-arrow { transform: translateX(5px); } }
.logo {
  position: absolute; left: var(--gutter); top: calc(env(safe-area-inset-top, 0px) + 18px); height: 36px;
  display: flex; align-items: center;
  font-family: var(--caps); font-weight: 700; font-size: 13px; letter-spacing: 0.34em;
  text-decoration: none; text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity 0.5s;
}
.bar.is-solid .ticker { opacity: 0; pointer-events: none; }
.bar.is-solid .logo { opacity: 1; pointer-events: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 18px; text-decoration: none; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
@media (hover: hover) { .nav a:hover::after { transform: scaleX(1); transform-origin: left; } }
.sound {
  display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 14px 0 12px;
  border: 1px solid rgba(236, 235, 230, 0.45); background: rgba(10, 10, 11, 0.25); cursor: pointer;
  font-size: 17px; transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
@media (hover: hover) { .sound:hover { border-color: var(--ink); } }
.sound svg { width: 17px; height: 17px; fill: currentColor; }
.sound .sound-on, .sound[aria-pressed="true"] .sound-off { display: none; }
.sound[aria-pressed="true"] .sound-on { display: block; }
.sound[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sound:active, .btn:active, .play:active, .deck button:active { transform: translateY(1px); }
@media (hover: none) {
  .sound:active, .play:active { transform: scale(0.94); }
  .btn:active { transform: none; background: var(--ink); color: var(--bg); }
}
@media (max-width: 860px) {
  .nav { gap: 18px; }
  .nav a:not([href="#/tracks"]):not([href="#music"]) { display: none; }
  .nav a { font-size: 17px; }
  .sound { margin-left: 0; }
}
@media (max-width: 560px) {
  .bar.is-solid { background: rgba(10, 10, 11, 0.95); }
  .bar { gap: 12px; padding-block: calc(env(safe-area-inset-top, 0px) + 10px) 10px; }
  .ticker { font-size: 18px; white-space: nowrap; }
  .ticker-sub, .ticker-arrow { display: none; }
  .logo { top: calc(env(safe-area-inset-top, 0px) + 12px); height: 44px; }
  .nav { gap: 2px; }
  .nav a { padding: 12px 8px; font-size: 18px; line-height: 20px; }
  .nav a::after { left: 8px; right: 8px; bottom: 8px; }
  .sound { padding: 0; width: 44px; height: 44px; justify-content: center; }
  .sound-label { display: none; }
}

/* play buttons */
.play {
  flex: none; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(236, 235, 230, 0.6);
  background: rgba(10, 10, 11, 0.3); cursor: pointer; display: grid; place-items: center; padding: 0; position: relative;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.play::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(var(--ink) calc(var(--p, 0) * 360deg), rgba(236, 235, 230, 0.16) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  opacity: 0; transition: opacity 0.6s;
}
.is-playing .play::after, .is-started .play::after { opacity: 1; }
.deck .play::after { display: none; }
.play svg { width: 20px; height: 20px; fill: currentColor; }
@media (hover: hover) { .play:hover { border-color: var(--ink); } }
.is-playing .play { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.is-loading .play { animation: breathe 1.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: 0.45; } }

/* hero */
.hero { position: relative; height: 100svh; min-height: 520px; overflow: hidden; touch-action: pan-y; }
.hero, .end { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.hero-name {
  position: absolute; left: var(--gutter); bottom: clamp(18px, 3.4vw, 52px); margin: 0;
  font-family: var(--caps); font-weight: 700; font-size: clamp(46px, 11.6vw, 236px);
  line-height: 0.86; letter-spacing: 0.13em; white-space: nowrap;
  text-shadow: 0 0 40px rgba(10, 10, 11, 0.45);
}
.letters { display: inline-block; }
.letters .ch { display: inline-block; will-change: transform, opacity, filter; }
.hero-play { position: absolute; right: var(--gutter); top: 46%; display: flex; align-items: center; gap: 16px; }
.hero-play .play { width: 48px; height: 48px; }
.hero-play .play svg { width: 17px; height: 17px; }
.hero-play p { margin: 0; display: flex; flex-direction: column; line-height: 1.2; }
.hero-play em { font-size: 22px; }
.hero-play span { font-size: 16px; color: var(--muted); }
@media (max-width: 700px) {
  .hero-name { bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); }
  .hero-play { right: auto; left: var(--gutter); top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px + 13.3vw * 0.86 + 26px); }
  .hero-play .play { width: 56px; height: 56px; }
  .hero-play em { font-size: 24px; }
  .hero-play span { color: rgba(236, 235, 230, 0.78); }
  .hero-play p { text-shadow: 0 0 10px rgba(10, 10, 11, 0.75), 0 0 34px rgba(10, 10, 11, 0.8); }
  .hero-play .play { background: rgba(10, 10, 11, 0.5); }
}
@media (max-height: 520px) { .hero { min-height: 0; } }

/* shared heading */
.intro, .record, .archive, .end, .foot { padding-inline: var(--gutter); max-width: var(--max); margin-inline: auto; }
.songs { padding-inline: var(--gutter); }
.head { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); margin-bottom: clamp(40px, 6vw, 88px); }
.head-title {
  margin: 0; flex: none; max-width: 100%;
  font-family: var(--caps); font-weight: 700; font-size: clamp(38px, 7.2vw, 128px);
  line-height: 0.9; letter-spacing: 0.13em; text-transform: uppercase; margin-right: -0.13em;
}
.head-rule { flex: 1 1 40px; height: 1px; background: rgba(236, 235, 230, 0.5); transform-origin: left; }
.split .w { display: inline-block; white-space: nowrap; }
.split .ch { display: inline-block; }
@media (max-width: 640px) { .head { flex-wrap: wrap; } .head-rule { flex-basis: 100%; margin-top: 0; } }

/* intro */
.intro { padding-block: clamp(150px, 32vh, 340px) clamp(110px, 20vh, 240px); }
.intro-text {
  margin: 0; max-width: 18ch;
  font-weight: 300; font-style: italic; font-size: clamp(40px, 6.2vw, 108px); line-height: 1.05; letter-spacing: -0.015em;
}
.intro-text .w { display: inline-block; }

/* record */
.record { padding-block: clamp(60px, 10vh, 140px) clamp(40px, 8vh, 100px); }
.release { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 110px); align-items: end; }
.cover { margin: 0; max-width: 620px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.cover img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.release-info { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; padding-bottom: 8px; }
.release-title { margin: 0; font-weight: 300; font-style: italic; font-size: clamp(48px, 6vw, 104px); line-height: 1.02; letter-spacing: -0.02em; padding-bottom: 0.06em; }
.release-info .release-title + .release-lede { margin-top: -14px; }
.release-lede { margin: 0; font-style: italic; font-weight: 300; font-size: clamp(32px, 3.4vw, 56px); line-height: 1.1; }
.tracklist { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 480px; border-top: 1px solid var(--faint); }
.tracklist button {
  display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: baseline; gap: 14px; width: 100%;
  padding: 13px 0; border: 0; border-bottom: 1px solid var(--faint); background: none; cursor: pointer; text-align: left;
}
.tracklist em { font-size: 23px; transition: transform 0.6s var(--ease); }
.tracklist button:focus-visible em, .tracklist button:active em { transform: translateX(8px); }
@media (hover: hover) { .tracklist button:hover em { transform: translateX(8px); } }
.tl-n, .tl-len { font-family: var(--caps); font-size: 12px; letter-spacing: 0.16em; color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 0 22px;
  border: 1px solid var(--ink); text-decoration: none; font-size: 19px; white-space: nowrap;
  transition: background-color 0.35s, color 0.35s;
}
.btn svg { width: 15px; height: 15px; fill: currentColor; transition: transform 0.4s var(--ease); }
@media (hover: hover) {
  .btn:hover { background: var(--ink); color: var(--bg); }
  .btn:hover svg { transform: translate(3px, -3px); }
}
.release-links { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 820px) { .release { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .intro-text { font-size: clamp(46px, 13.4vw, 64px); }
  .cover { margin-inline: calc(var(--gutter) * -1); }
  .release { gap: 34px; }
  .release-title { font-size: clamp(52px, 14.6vw, 72px); }
  .release-lede { font-size: clamp(27px, 7.4vw, 36px); }
  .tracklist { max-width: none; }
  .tracklist button { padding: 15px 0; }
  .tracklist em { font-size: 25px; }
  .release-links { width: 100%; flex-direction: column; gap: 12px; }
  .release-links .btn { justify-content: space-between; height: 58px; font-size: 21px; }
}

/* songs */
.songs { position: relative; }
.stage { max-width: var(--max); margin-inline: auto; }
.index { display: none; }
.track { padding-block: clamp(80px, 16vh, 160px); border-top: 1px solid var(--faint); }
.track-no { margin: 0 0 14px; font-family: var(--caps); font-size: 13px; letter-spacing: 0.2em; color: var(--muted); }
.track-title { margin: 0 0 clamp(28px, 4vh, 48px); font-weight: 300; font-style: italic; font-size: clamp(52px, 9vw, 160px); line-height: 1.02; letter-spacing: -0.02em; padding-bottom: 0.08em; }
.player { display: flex; align-items: center; gap: 20px; max-width: 760px; }
.wave { flex: 1; display: block; height: 44px; cursor: pointer; touch-action: pan-y; }
.wave svg { display: block; width: 100%; height: 100%; overflow: visible; }
.wave rect { fill: rgba(236, 235, 230, 0.16); transition: fill 0.25s; transform-box: fill-box; transform-origin: center; }
.wave rect.in { fill: rgba(236, 235, 230, 0.42); }
.wave rect.on { fill: var(--ink); }
.player-len { font-family: var(--caps); font-size: 13px; letter-spacing: 0.12em; color: var(--muted); min-width: 4ch; }
.is-error .player-len::after { content: ", no preview"; font-family: var(--serif); font-style: italic; letter-spacing: 0; font-size: 16px; }

@media (min-width: 1000px) {
  html.is-pinned .songs { height: 100svh; }
  html.is-pinned .stage { position: relative; height: 100svh; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 5vw; align-items: center; }
  html.is-pinned .index { display: flex; flex-direction: column; gap: 6px; list-style: none; margin: 0; padding: 0 0 0 22px; position: relative; }
  html.is-pinned .index::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--faint); }
  html.is-pinned .index::after { content: ""; position: absolute; left: 0; top: 6px; width: 1px; height: calc((100% - 12px) * var(--prog, 0)); background: var(--ink); }
  html.is-pinned .index button {
    display: flex; gap: 16px; align-items: baseline; padding: 6px 0; border: 0; background: none; cursor: pointer; text-align: left;
    font-style: italic; font-size: 22px; color: rgba(236, 235, 230, 0.36); transition: color 0.6s, transform 0.6s var(--ease);
  }
  html.is-pinned .index button span { font-family: var(--caps); font-style: normal; font-size: 11px; letter-spacing: 0.2em; }
  html.is-pinned .index button:hover { color: rgba(236, 235, 230, 0.7); }
  html.is-pinned .index li.is-on button { color: var(--ink); transform: translateX(8px); }
  html.is-pinned .songlist { position: relative; height: 100%; }
  html.is-pinned .track { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); padding: 0; border: 0; visibility: hidden; }
  html.is-pinned .track.is-on { visibility: visible; }
}

@media (max-width: 999px) {
  html.is-held .songs { height: 460svh; padding-inline: 0; }
  html.is-held .stage { position: sticky; top: 0; height: 100svh; max-width: none; }
  html.is-held .songlist { position: relative; height: 100%; transition: transform 1.1s var(--ease); }
  html.is-held.is-decked .songlist { transform: translateY(calc(var(--deck, 0px) * -1)); }
  html.is-held .track {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; border: 0; visibility: hidden;
    padding: calc(env(safe-area-inset-top, 0px) + 90px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 30px);
  }
  html.is-held .track.is-on { visibility: visible; }
  html.is-held .track-no { margin-bottom: 12px; font-size: 14px; }
  html.is-held .track-title { font-size: clamp(60px, 19.5vw, 150px); line-height: 0.96; margin-bottom: clamp(22px, 4.4svh, 44px); }
  html.is-held .player {
    display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "wave wave" "play len";
    max-width: none; column-gap: 20px; row-gap: clamp(18px, 3svh, 28px);
  }
  html.is-held .wave { grid-area: wave; height: clamp(76px, 14svh, 128px); }
  html.is-held .player .play { grid-area: play; width: 62px; height: 62px; }
  html.is-held .player .play svg { width: 22px; height: 22px; }
  html.is-held .player-len { grid-area: len; font-size: 15px; color: rgba(236, 235, 230, 0.8); }
  html.is-held .wave rect { fill: rgba(236, 235, 230, 0.22); }
  html.is-held .wave rect.in { fill: rgba(236, 235, 230, 0.56); }
  html.is-held .wave rect.on { fill: var(--ink); }
  html.is-held .index {
    display: block; position: absolute; z-index: 1; right: var(--gutter); top: calc(env(safe-area-inset-top, 0px) + 96px);
    width: 1px; height: 24svh; margin: 0; padding: 0; list-style: none; pointer-events: none;
  }
  html.is-held .index li { display: none; }
  html.is-held .index::before, html.is-held .index::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: rgba(236, 235, 230, 0.2); }
  html.is-held .index::after { background: var(--ink); transform-origin: top; transform: scaleY(var(--prog, 0)); }
}
@media (max-width: 999px) and (max-height: 520px) {
  html.is-held .track { padding-top: 76px; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); }
  html.is-held .track-title { font-size: clamp(44px, 9vw, 76px); margin-bottom: 14px; }
  html.is-held .player { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "play wave len"; }
  html.is-held .wave { height: 64px; }
}

/* tracks */
.archive { padding-block: clamp(110px, 20vh, 220px) clamp(40px, 8vh, 100px); }
.sessions { list-style: none; margin: 0; padding: 0; }
.sess {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; column-gap: clamp(18px, 2.4vw, 34px); row-gap: 22px;
  padding-block: clamp(34px, 5vh, 56px); border-top: 1px solid var(--faint);
}
.sess:last-child { border-bottom: 1px solid var(--faint); }
.sess-body { min-width: 0; }
.sess-title { margin: 0; font-weight: 300; font-style: italic; font-size: clamp(34px, 3.8vw, 64px); line-height: 1.05; letter-spacing: -0.015em; }
.sess-play { padding: 0 0 0.06em; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; text-align: left; }
.sess-from { margin: 4px 0 0; font-size: 18px; font-style: italic; color: var(--muted); }
.sess-meta {
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right;
  font-family: var(--caps); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.sess-wave { grid-column: 2 / -1; position: relative; display: block; height: 72px; cursor: pointer; touch-action: pan-y; }
.wave, .sess-wave, .deck-scrub { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.sess-bars, .sess-bars svg { display: block; width: 100%; height: 100%; }
.sess-wave svg { overflow: visible; }
.sess-wave rect { fill: rgba(236, 235, 230, 0.3); transform-box: fill-box; transform-origin: center; transition: fill 0.3s; }
.sess-wave rect.on { fill: var(--ink); }
.sess.is-playing .sess-wave svg { filter: drop-shadow(0 0 12px rgba(236, 235, 230, 0.22)); }
.sess-cursor { position: absolute; top: -8px; bottom: -8px; left: var(--x, 0); width: 1px; background: var(--ink); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.sess-tip {
  position: absolute; top: -30px; left: var(--x, 0); transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  font-family: var(--caps); font-size: 11px; letter-spacing: 0.12em; color: var(--ink); opacity: 0; transition: opacity 0.3s;
}
.sess-wave.is-touched .sess-cursor { opacity: 0.85; }
.sess-wave.is-touched .sess-tip { opacity: 1; }
@media (hover: hover) {
  .sess-wave:hover .sess-cursor { opacity: 0.85; }
  .sess-wave:hover .sess-tip { opacity: 1; }
}
@media (max-width: 760px) {
  .sess { grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; row-gap: 14px; }
  .sess .play { width: 48px; height: 48px; }
  .sess-meta { grid-column: 2; flex-direction: row; gap: 14px; align-items: baseline; text-align: left; }
  .sess-wave { grid-column: 1 / -1; height: 56px; }
}

/* the library: its own page over the sky, each track a line that opens into its waveform */
.library {
  position: fixed; inset: 0; z-index: 15; overflow-y: auto; overscroll-behavior: contain; opacity: 0; transition: opacity 0.8s var(--ease);
  background: linear-gradient(to bottom, rgba(10, 10, 11, 0.5), rgba(10, 10, 11, 0.38) 60%, rgba(10, 10, 11, 0.5));
}
.library.is-open { opacity: 1; }
.library-in { padding-top: calc(env(safe-area-inset-top, 0px) + clamp(110px, 16vh, 170px)); padding-bottom: 180px; }
.library .archive { padding-block: 0; }
html.is-library main, html.is-library .foot { opacity: 0 !important; visibility: hidden; pointer-events: none; transition: opacity 0.6s, visibility 0s 0.6s; }
.library .sessions { position: relative; }
.library .sessions::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--faint);
  transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) calc(var(--n, 0) * 70ms);
}
.library .sess {
  position: relative; grid-template-columns: 44px minmax(0, 1fr) auto; row-gap: 0; column-gap: clamp(16px, 2vw, 28px);
  padding-block: clamp(14px, 2.2vh, 22px); border: 0;
}
.library .sess::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--faint);
  transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) calc(var(--i, 0) * 70ms);
}
.library.is-in .sess::before, .library.is-in .sessions::after { transform: scaleX(1); }
.library .sess .play { width: 44px; height: 44px; }
.library .sess-body { display: flex; align-items: baseline; gap: clamp(12px, 1.6vw, 22px); }
.library .sess-title { font-size: clamp(26px, 2.5vw, 40px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.library .sess-from { margin: 0; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.library .sess > .play, .library .sess-body, .library .sess-meta {
  opacity: 0; filter: blur(8px); transform: translateY(-12px);
  transition: opacity 1s var(--ease), filter 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms + 260ms);
}
.library.is-in .sess > .play, .library.is-in .sess-body, .library.is-in .sess-meta { opacity: 1; filter: none; transform: none; }
.sess-fold { grid-column: 2 / -1; }
.library .sess-wave { height: 56px; margin-top: 14px; }
.library .sess-tip { top: -22px; }
@media (max-width: 760px) {
  .library .sess { grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 14px; }
  .library .sess .play { width: 40px; height: 40px; }
  .library .sess-body { flex-direction: column; gap: 2px; }
  .library .sess-title { font-size: 26px; }
  .library .sess-from { font-size: 14px; }
  .library .sess-meta { grid-column: 3; }
  .sess-fold { grid-column: 1 / -1; }
  .library .sess-wave { height: 52px; }
}

/* the deck */
.deck {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: rgba(10, 10, 11, 0.95);
  border-top: 1px solid var(--faint); padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateY(102%); transition: transform 0.7s var(--ease), opacity 0.6s;
}
.deck.is-open { transform: none; }
.deck.is-open.is-away { transform: translateY(102%); }
.deck-in {
  display: grid; grid-template-columns: auto minmax(0, 15rem) minmax(0, 1fr) auto auto auto auto;
  grid-template-areas: "play now wave time vol next close";
  align-items: center; column-gap: clamp(14px, 2vw, 30px); padding: 14px var(--gutter);
}
.deck .deck-toggle { grid-area: play; width: 48px; height: 48px; }
.deck .deck-toggle svg { width: 17px; height: 17px; }
.deck-now { grid-area: now; margin: 0; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.deck-title { font-size: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deck-from { font-size: 15px; font-style: italic; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deck-scrub { grid-area: wave; position: relative; height: 46px; cursor: pointer; touch-action: none; }
.deck-scrub:focus-visible { outline-offset: 6px; }
.deck-wave, .deck-wave svg { display: block; width: 100%; height: 100%; }
.deck-wave svg { overflow: visible; }
.deck-wave rect { fill: rgba(236, 235, 230, 0.3); transform-box: fill-box; transform-origin: center; transition: fill 0.25s; }
.deck-wave rect.on { fill: var(--ink); }
.deck.is-playing .deck-wave svg { filter: drop-shadow(0 0 10px rgba(236, 235, 230, 0.18)); }
.deck-cursor { position: absolute; top: -5px; bottom: -5px; left: var(--x, 0); width: 1px; background: var(--ink); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.deck-tip {
  position: absolute; top: -15px; left: var(--x, 0); transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  font-family: var(--caps); font-size: 11px; letter-spacing: 0.12em; opacity: 0; transition: opacity 0.25s;
}
.deck-scrub.is-dragging .deck-cursor { opacity: 0.85; }
.deck-scrub.is-dragging .deck-tip { opacity: 1; }
@media (hover: hover) {
  .deck-scrub:hover .deck-cursor { opacity: 0.85; }
  .deck-scrub:hover .deck-tip { opacity: 1; }
}
.deck-time { grid-area: time; font-family: var(--caps); font-size: 12px; letter-spacing: 0.1em; color: rgba(236, 235, 230, 0.8); white-space: nowrap; }
.deck-next, .deck-close {
  position: relative; padding: 12px 2px; border: 0; background: none; cursor: pointer;
  font-style: italic; font-size: 19px; color: rgba(236, 235, 230, 0.82); transition: color 0.3s;
}
.deck-vol { grid-area: vol; display: flex; align-items: flex-end; gap: 3px; height: 18px; padding: 10px 2px; cursor: pointer; touch-action: none; }
.deck-vol i { width: 3px; background: rgba(236, 235, 230, 0.26); transition: background 0.25s, box-shadow 0.25s; }
.deck-vol i:nth-child(1) { height: 22%; } .deck-vol i:nth-child(2) { height: 35%; } .deck-vol i:nth-child(3) { height: 48%; }
.deck-vol i:nth-child(4) { height: 61%; } .deck-vol i:nth-child(5) { height: 74%; } .deck-vol i:nth-child(6) { height: 87%; }
.deck-vol i:nth-child(7) { height: 100%; }
.deck-vol i.on { background: var(--ink); }
.deck-vol:hover i.on, .deck-vol:focus-visible i.on { box-shadow: 0 0 8px rgba(236, 235, 230, 0.35); }
.deck-next { grid-area: next; }
.deck-close { grid-area: close; }
.deck-next::after, .deck-close::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 10px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.deck-next:focus-visible::after, .deck-close:focus-visible::after { transform: scaleX(1); transform-origin: left; }
@media (hover: hover) {
  .deck-next:hover, .deck-close:hover { color: var(--ink); }
  .deck-next:hover::after, .deck-close:hover::after { transform: scaleX(1); transform-origin: left; }
}
.deck-line { position: absolute; left: 0; right: 0; top: -1px; height: 2px; pointer-events: none; }
.deck-fill { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px rgba(236, 235, 230, 0.35); }
html.has-deck .foot { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 110px); }
@media (max-width: 760px) {
  .deck-in {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas: "play now next close" "wave wave wave time";
    row-gap: 8px; column-gap: 14px; padding: 10px var(--gutter) 12px;
  }
  .deck .deck-toggle { width: 44px; height: 44px; }
  .deck-title { font-size: 19px; }
  .deck-from { font-size: 14px; }
  .deck-scrub { height: 34px; }
  .deck-next, .deck-close { font-size: 18px; padding: 12px 6px; }
  .deck-close { justify-self: end; padding-right: 0; }
  .deck-vol { display: none; }
  html.has-deck .foot { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 140px); }
}

/* listening by the window */
.listen {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(28px, 7vh, 72px)); z-index: 25;
  pointer-events: none; opacity: 0; visibility: hidden; transition: opacity 0.6s, visibility 0s 0.6s;
}
.listen::before {
  content: ""; position: absolute; left: -12vw; right: 20%; top: -18vh; bottom: -12vh; z-index: -1;
  background: radial-gradient(ellipse at 22% 70%, rgba(10, 10, 11, 0.62), rgba(10, 10, 11, 0) 68%);
}
html.is-window .listen { opacity: 1; visibility: visible; transition: opacity 2.4s 0.8s, visibility 0s; }
.listen-by { margin: 0 0 12px; font-family: var(--caps); font-weight: 700; font-size: 13px; letter-spacing: 0.34em; text-transform: uppercase; }
.listen-title {
  margin: 0; font-style: italic; font-weight: 400; font-size: clamp(54px, 9vw, 168px); line-height: 1.02;
  letter-spacing: -0.02em; padding-bottom: 0.08em; text-shadow: 0 0 24px rgba(10, 10, 11, 0.7), 0 0 70px rgba(10, 10, 11, 0.5);
}
.listen-line { display: block; position: relative; height: 1px; max-width: 520px; margin-top: clamp(12px, 2vh, 22px); background: rgba(236, 235, 230, 0.18); }
.listen-line i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
html.is-window main, html.is-window .bar, html.is-window .foot, html.is-window .deck, html.is-window .library { opacity: 0; pointer-events: none; transition: opacity 2.4s var(--ease); }
html.is-window, html.is-window * { cursor: none !important; }

/* end */
.end { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: clamp(18px, 3vh, 34px); padding-block: 30vh clamp(30px, 6vh, 70px); }
.end-name {
  margin: 0; font-family: var(--caps); font-weight: 700; font-size: clamp(46px, 11.6vw, 236px); line-height: 0.86;
  letter-spacing: 0.13em; white-space: nowrap; text-shadow: 0 0 40px rgba(10, 10, 11, 0.45);
}
.end-name .ch { display: inline-block; }
.end-link {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-style: italic; font-size: clamp(20px, 1.7vw, 26px);
  text-shadow: 0 1px 14px rgba(10, 10, 11, 0.7); position: relative;
}
.end-link::after { content: ""; position: absolute; left: 0; right: 30px; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease); }
@media (hover: hover) { .end-link:hover::after { transform: scaleX(1); transform-origin: left; } }
.end-link svg { width: 18px; height: 18px; fill: currentColor; transition: transform 0.5s var(--ease); }
@media (hover: hover) { .end-link:hover svg { transform: translate(3px, -3px); } }
@media (max-width: 560px) {
  .end { gap: 6px; }
  .end-name { margin-bottom: 20px; }
  .end-link { font-size: 23px; padding-block: 8px; }
  .end-link::after { bottom: 5px; }
}

.foot { display: flex; justify-content: space-between; gap: 16px; padding-block: 0 calc(env(safe-area-inset-bottom, 0px) + 36px); font-size: 16px; color: rgba(236, 235, 230, 0.7); text-shadow: 0 1px 12px rgba(10, 10, 11, 0.7); }

@media (max-width: 700px) {
  .hero-name, .end-name, .head-title { font-size: 13.3vw; letter-spacing: 0.125em; margin-right: -0.125em; }
}

@media (prefers-reduced-motion: reduce) {
  .veil { transition: none; }
  .is-loading .play { animation: none; }
}
