/* =========================================================
   Carlos Villamizar
   Inspired by the quiet gallery calm of kimsongri.com
   and the edge-to-edge collage of archiveforspace.com
   ========================================================= */

:root {
  --white: #ffffff;
  --ink: #0b0b0b;
  --grey: #9b9b9b;
  --grey-2: #c9c9c9;
  --ultramarine: #142a86;

  --sans: "Inter", "Suisse Intl", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --pad: clamp(14px, 1.8vw, 26px);
  --strip: clamp(44px, 5.2vw, 84px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.3;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-transform: inherit; letter-spacing: inherit; }

.link { position: relative; }
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.link:hover::after { transform: scaleX(1); transform-origin: left; }
:focus-visible { outline: 1px dashed currentColor; outline-offset: 3px; }

/* ---------- Top bar: grey, uppercase, quiet ---------- */
.top {
  position: fixed; top: 0; left: 0; right: var(--strip);
  display: flex; align-items: baseline; gap: 2rem;
  padding: calc(var(--pad) * 1.3) var(--pad);
  z-index: 40;
  text-transform: uppercase;
  color: var(--grey);
  pointer-events: none;
}
.top > * { pointer-events: auto; }
.top__name {
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 300;
  letter-spacing: 0.01em;
  color: #8e8e8e;
  transition: color .4s;
}
.top__name:hover { color: var(--ink); }
.top__nav { margin-left: auto; display: flex; gap: clamp(14px, 1.8vw, 26px); font-size: 13px; font-weight: 300; }
.top__nav a { transition: color .3s; }
.top__nav a:hover, .top__nav a.is-active { color: var(--ink); }
.top__menu { display: none; margin-left: auto; font-size: 13px; color: var(--ink); }

/* ---------- Collage ---------- */
.collage {
  position: fixed; inset: 0; right: var(--strip);
  top: clamp(76px, 11vh, 110px);   /* leaves a white band so the name stays readable */
  z-index: 1;
}
.tile {
  position: absolute;
  overflow: hidden;
  background: #f3f3f1;
  cursor: pointer;
  opacity: 0;
  /* 4 · tape transport: each picture is pulled in, overshoots a little and settles */
  animation: tapeIn 1.5s cubic-bezier(.2, .7, .2, 1) forwards;
  animation-delay: calc(var(--i) * 260ms + 150ms);
}
@keyframes tapeIn {
  0%   { opacity: 0; transform: translateX(-7%); filter: blur(6px); }
  35%  { opacity: 1; filter: blur(1.5px); }
  58%  { transform: translateX(1.4%); filter: blur(0); }
  72%  { transform: translateX(-0.7%); }
  84%  { transform: translateX(0.3%); }
  93%  { transform: translateX(-0.1%); }
  100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}
body.no-intro .tile { animation: none; opacity: 1; }

.tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.06);
  transition: transform 2.4s var(--ease);
}
.tile--logos { background: #000; }
.tile--logos img { position: absolute; inset: 0; object-fit: contain; object-position: 50% 32%; padding: 0; transform: scale(1.18); opacity: 0; }
.tile--logos img.is-on { opacity: 1; }
.tile--logos:hover img { transform: scale(1.18); }
.tile--logos.is-glitch img.is-on { animation: logoGlitch .26s steps(4) 1; }
.tile::after {           /* the "washed out" veil */
  content: ""; position: absolute; inset: 0;
  background: rgba(255,255,255,var(--veil, 0));
  transition: background .8s var(--ease);
}
.tile:hover::after { background: rgba(255,255,255,0); }
.tile:hover img { transform: scale(1); }

.tile__cap {
  position: absolute; left: 12px; bottom: 10px; right: 12px;
  font-size: 12px; line-height: 1.25;
  color: var(--ink);
  z-index: 2;
  opacity: 0; transform: translateY(6px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.tile__cap span { display: block; }
.tile__cap .muted { color: #6f6f6f; }
.tile__cap .plus { margin-top: .5em; display: flex; gap: 1.2em; }
.tile, .strip img { cursor: pointer; }
.tile__cap { opacity: 1; transform: none; }   /* always visible: every tile is a link */
.tile:hover .tile__cap { background: #fff; }
.tile__cap { background: rgba(255,255,255,.86); padding: 8px 10px; width: max-content; max-width: calc(100% - 24px); }

/* ---------- Right strip ---------- */
.strip {
  position: fixed; top: 0; right: 0; bottom: 0; width: var(--strip);
  z-index: 30; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--white);
}
.strip__track { display: flex; flex-direction: column; animation: stripScroll 60s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block;
  filter: grayscale(1) contrast(.9);
  opacity: .85; border-bottom: 1px solid #fff;
  transition: filter .4s, opacity .4s; cursor: pointer;
}
.strip img:hover { filter: none; opacity: 1; }
@keyframes stripScroll { to { transform: translateY(-50%); } }

/* ---------- Giant cropped mark ---------- */
.mark {
  position: fixed; left: -0.035em; bottom: -0.2em;
  font-family: var(--serif);
  font-size: clamp(110px, 17vw, 310px);
  line-height: 1; letter-spacing: -0.04em;
  z-index: 20; color: #fff;
  mix-blend-mode: difference;   /* black on light images, white on dark ones */
  user-select: none;
}
.mark sup { font-size: .22em; vertical-align: top; position: relative; top: .55em; margin-left: .04em; letter-spacing: 0; }


/* ---------- "Hi!" box ---------- */
.hi {
  position: fixed; z-index: 60;
  left: 50%; top: 50%;
  width: min(420px, calc(100vw - 32px));
  transform: translate(-50%, -30%);
  background: #fff;
  padding: 18px 16px 16px;
  font-size: 13px; line-height: 1.4;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  opacity: 0; transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.hi.is-visible { opacity: 1; transform: translate(-50%, -10%); }
.hi p + p { margin-top: .9em; }
.hi__x { position: absolute; right: 16px; top: 16px; font-size: 13px; }
.hi__row { display: flex; align-items: flex-end; gap: 14px; margin-top: 1.4em; }
.hi__line { flex: 1; border-bottom: 1px solid var(--ink); padding-bottom: 2px; font-weight: 500; }
.pill { border: 1px solid var(--ink); border-radius: 999px; padding: 5px 10px; white-space: nowrap; transition: background .3s, color .3s; }
.pill:hover { background: var(--ink); color: #fff; }

/* ---------- Drawer (mobile menu) ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 35; background: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: .1em;
  padding: var(--pad);
  font-family: var(--serif); font-size: 13vw; line-height: 1.05;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease);
}
.drawer.is-visible { clip-path: inset(0); }
.drawer a:hover { font-style: italic; }

/* ---------- Archive overlay ---------- */
.archive {
  position: fixed; top: 0; bottom: 0; left: 0; right: var(--strip);
  z-index: 25; background: #fff;
  overflow-y: auto;
  padding: calc(var(--pad) * 4.2) var(--pad) calc(var(--pad) * 8);
  opacity: 0; visibility: hidden;
  transition: opacity .6s var(--ease), visibility 0s .6s;
}
.archive.is-visible { opacity: 1; visibility: visible; transition: opacity .6s var(--ease), visibility 0s; }

.archive__head { display: flex; align-items: baseline; gap: 1rem; }
.archive__title { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 8vw, 128px); line-height: .9; letter-spacing: -0.02em; }
.archive__count { color: #6f6f6f; font-size: 13px; }
.archive__x { margin-left: auto; font-size: 13px; }

.archive__tabs, .archive__filters {
  display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; font-size: 13px;
  padding: .7rem 0; border-bottom: 1px solid #e6e6e6;
}
.archive__tabs { margin-top: 1.4rem; border-top: 1px solid var(--ink); }
.archive__tabs a { color: #8a8a8a; transition: color .3s; }
.archive__tabs a:hover, .archive__tabs a.is-active { color: var(--ink); }
.archive__filters { color: #6f6f6f; }

.archive__grid {
  columns: 4 220px; column-gap: var(--pad);
  padding-top: calc(var(--pad) * 1.6);
}
.card { break-inside: avoid; margin-bottom: calc(var(--pad) * 2); cursor: pointer; display: block; }
.card__img { overflow: hidden; background: #f3f3f1; }
.card__img img { width: 100%; display: block; transition: transform 1.6s var(--ease), filter .6s; }
.card:hover .card__img img { transform: scale(1.03); }
.card__t { margin-top: .6rem; font-size: 13px; }
.card__m { font-size: 13px; color: #6f6f6f; }
.card__p { margin-top: .5rem; display: flex; gap: 1.2em; font-size: 12px; }
.card.is-ghost { cursor: default; }
.card.is-ghost .card__img img { filter: grayscale(1); opacity: .5; }
.card.is-ghost .card__t, .card.is-ghost .card__p { color: #b5b5b5; }

.archive__empty {
  font-family: var(--serif); font-size: clamp(26px, 3vw, 42px); line-height: 1.1;
  max-width: 22ch; padding: 2rem 0 1rem; column-span: all;
}
.archive__empty em { color: var(--ultramarine); }

/* ---------- Text pages (About) ---------- */
.archive__filters:empty { display: none; }
.archive__grid.is-text { columns: auto; padding-top: calc(var(--pad) * 2.4); }
.textpage {
  max-width: 62rem;
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.45;
  letter-spacing: .005em;
}
.textpage p { margin: 0 0 .9em; overflow-wrap: anywhere; }
.textpage p.is-run { word-break: break-all; }
.textpage p:last-child { margin-top: clamp(140px, 30vh, 340px); } /* the last line sits far below, on its own */ /* a line without spaces wraps as one piece */
.textpage p:first-child { font-weight: 600; }

/* ---------- Contact form ---------- */
.contact { max-width: 46rem; font-size: clamp(16px, 1.4vw, 20px); }
.contact__field { display: block; margin-bottom: 2.2rem; }
.contact__field span { display: block; font-size: 13px; color: #6f6f6f; margin-bottom: .3rem; }
.contact input, .contact textarea {
  width: 100%; font: inherit; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  padding: .3rem 0; outline: none; resize: vertical;
}
.contact textarea { border: 1px solid var(--ink); padding: .7rem .8rem; line-height: 1.45; }
.contact input:focus, .contact textarea:focus { border-color: var(--ultramarine); }
.contact__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.contact__status { font-size: 13px; color: #6f6f6f; margin: 0; }
.contact .pill { font-size: 14px; padding: 7px 16px; }
.contact .pill:disabled { opacity: .5; cursor: wait; }
.contact__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Detail ---------- */
.detail {
  position: fixed; inset: 0; right: var(--strip); z-index: 45; background: #fff;
  overflow-y: auto; padding: var(--pad);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s;
}
.detail.is-visible { opacity: 1; visibility: visible; transition: opacity .5s var(--ease), visibility 0s; }
.detail__bar { display: flex; justify-content: space-between; font-size: 13px; position: sticky; top: calc(-1 * var(--pad)); margin: calc(-1 * var(--pad)) 0 0; padding: var(--pad) 0 .7rem; background: #fff; z-index: 3; }
.detail__body { display: grid; grid-template-columns: 2fr 1fr; gap: calc(var(--pad) * 2); margin-top: calc(var(--pad) * 2); }
.detail__media img { width: 100%; display: block; box-shadow: 0 24px 50px -16px rgba(0,0,0,.3); }
.detail__media iframe { width: 100%; aspect-ratio: 16/9; border: 0; }
.detail__text h3 { font-family: var(--serif); font-weight: 400; font-size: 42px; line-height: 1; }
.detail__text p { margin-top: .8rem; max-width: 46ch; line-height: 1.5; }
.detail__text .muted { color: #6f6f6f; margin-top: .3rem; }
.detail__text audio { width: 100%; margin-top: 1.2rem; }
.related { grid-column: 1 / -1; border-top: 1px solid #e6e6e6; padding-top: 1rem; }
.related__row { display: flex; gap: 8px; margin-top: .6rem; }
.related__row img { width: 90px; aspect-ratio: 4/5; object-fit: cover; cursor: pointer; }

/* ---------- Release page ---------- */
.detail.is-release .detail__body { display: block; }
.release { padding-bottom: calc(var(--pad) * 6); }
.release__top {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: calc(var(--pad) * 3);
  margin-bottom: calc(var(--pad) * 4);
}
.release__cover { position: sticky; top: calc(var(--pad) * 3); align-self: start; }
.release__cover img { width: 100%; display: block; aspect-ratio: 1; object-fit: cover; box-shadow: 0 34px 70px -24px rgba(10, 40, 120, .45), 0 4px 14px rgba(0, 0, 0, .08); }
@supports (color: color-mix(in srgb, red, blue)) {
  .release__cover img { box-shadow: 0 34px 70px -24px color-mix(in srgb, var(--accent) 55%, transparent), 0 4px 14px rgba(0, 0, 0, .08); }
}
.release__fig, .release__gallery figcaption, .release__kicker, .release__meta {
  font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #8a8a8a;
}
.release__fig { display: block; margin-top: .8rem; }
.release__kicker { margin-bottom: 1.2rem; }
.release__title { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6.4vw, 104px); line-height: .92; letter-spacing: -.015em; }
.release__meta { margin-top: 1rem; color: var(--ink); }
.release__player { display: block; width: 100%; height: 120px; border: 0; margin-top: 1.8rem; }
.release__text { margin-top: 1.8rem; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55; max-width: 38rem; }
.release__text p + p { margin-top: .6rem; }
.release__sep { color: var(--accent); letter-spacing: .2em; }
.release__es { color: #6f6f6f; }
.release__side { margin-top: 2.2rem; }
.release__sidename {
  color: var(--accent); text-transform: uppercase; font-weight: 500;
  letter-spacing: .55em; font-size: 15px; margin-bottom: .7rem;
}
.release__side ol { list-style: none; counter-reset: t; max-width: 34rem; }
.release__side li {
  counter-increment: t; display: flex; align-items: baseline; gap: .6rem;
  padding: .45rem 0; border-bottom: 1px solid #ececec; font-size: 15px; letter-spacing: .02em;
}
.release--lower .release__side li { text-transform: lowercase; letter-spacing: .04em; }
.release__side li::before { content: counter(t) "."; color: var(--accent); font-size: 12px; min-width: 1.4em; }
.release__side li i { flex: 1; }
.release__side li b { font-family: var(--mono); font-weight: 400; font-size: 12px; color: #6f6f6f; }
.release__label { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #8a8a8a; margin-bottom: .5rem; }
.release__credits { margin-top: 2.4rem; font-size: 14px; line-height: 1.7; }
.release__links { margin-top: 2rem; font-size: 14px; display: flex; gap: 1.6rem; flex-wrap: wrap; }
.release__links a { color: var(--accent); }

.release__gallery {
  display: grid; gap: var(--pad);
  grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--ink); padding-top: calc(var(--pad) * 1.4);
}
.release__gallery figure:nth-child(1) { grid-column: span 4; }
.release__gallery figure:nth-child(2) { grid-column: span 2; align-self: end; }
.release__gallery figure:nth-child(3) { grid-column: span 3; }
.release__gallery figure:nth-child(4) { grid-column: span 3; margin-top: 18%; }
.release__gallery figure:nth-child(5) { grid-column: 2 / span 4; }
.release__gallery figure:nth-child(n+6) { grid-column: span 3; }
.release__gallery[data-count="3"] figure:nth-child(3) { grid-column: 3 / span 4; margin-top: 0; }
.release__gallery[data-count="1"] figure:nth-child(1) { grid-column: 1 / -1; }
.release__gallery[data-count="2"] figure:nth-child(1), .release__gallery[data-count="2"] figure:nth-child(2) { grid-column: span 3; align-self: end; }
.release__gallery[data-count="4"] figure:nth-child(4) { margin-top: 0; align-self: end; }
.release__gallery[data-count="4"] figure:nth-child(3) { align-self: end; }
/* five pictures: two on top, one wide, the last two side by side */
.release__gallery[data-count="5"] figure:nth-child(3) { grid-column: 1 / -1; margin-top: 0; }
.release__gallery[data-count="5"] figure:nth-child(4),
.release__gallery[data-count="5"] figure:nth-child(5) { grid-column: span 3; margin-top: 0; align-self: end; }
.release__shot { display: block; width: 100%; padding: 0; cursor: zoom-in; overflow: hidden; background: #f4f4f2; }
.release__shot img { width: 100%; display: block; transition: transform 1.4s var(--ease); }
.release__shot:hover img { transform: scale(1.025); }
.release__gallery figcaption { margin-top: .5rem; }

/* ---------- Work page (shares the release layout) ---------- */
.work__radio { display: block; width: 100%; aspect-ratio: 1; image-rendering: pixelated; box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .3), 0 4px 14px rgba(0, 0, 0, .08); }
.work__subtitle { margin-top: 1rem; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.4; max-width: 34rem; color: #3a3a3a; }
.work { --accent: var(--ink); }
.work__shows li::before { content: none; }
.work__shows em { font-style: normal; color: #6f6f6f; }

.work__video { position: relative; background: #000; box-shadow: 0 34px 70px -24px rgba(20, 30, 140, .45), 0 4px 14px rgba(0, 0, 0, .08); }
.work__video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.work__sound { position: absolute; right: 12px; bottom: 10px; color: #fff; font-size: 12px; }
.work__research { color: #555; }

.work__yt { position: relative; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .35); }
.work__yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.release__gallery .work__yt { box-shadow: none; }
/* six pictures: wide + tall, then two pairs side by side */
.release__gallery[data-count="6"] figure:nth-child(1) { grid-column: span 4; }
.release__gallery[data-count="6"] figure:nth-child(2) { grid-column: span 2; align-self: end; }
.release__gallery[data-count="6"] figure:nth-child(n+3) { grid-column: span 3; margin-top: 0; align-self: end; }
.release__gallery[data-count="7"] figure.is-video { grid-column: 1 / -1; }
.release__gallery[data-count="7"] figure:nth-child(2) { grid-column: span 4; }
.release__gallery[data-count="7"] figure:nth-child(3) { grid-column: span 2; align-self: end; }
.release__gallery[data-count="7"] figure:nth-child(4) { grid-column: span 3; margin-top: 0; }
.release__gallery[data-count="7"] figure:nth-child(5) { grid-column: span 3; margin-top: 0; align-self: end; }
.release__gallery[data-count="7"] figure:nth-child(6),
.release__gallery[data-count="7"] figure:nth-child(7) { grid-column: span 3; margin-top: 0; align-self: end; }
.work__roles { margin-top: 1.4rem; }
.work__roles li::before { content: none; }
.work__roles li { gap: 1.2rem; }
.work__role { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #8a8a8a; min-width: 11rem; }
.work__note { font-size: 12px; color: #9a9a9a; }
.work__tools { margin-top: 1.4rem; color: #6f6f6f; }
.work__credit { margin-top: 1.2rem; }

/* gallery variant: one wide picture, then two side by side */
.release__gallery.g-wide figure:nth-child(1) { grid-column: 1 / -1; margin-top: 0; }
.release__gallery.g-wide figure:nth-child(n+2) { grid-column: span 3; margin-top: 0; align-self: end; }

.work__sc { display: block; width: 100%; height: 340px; border: 0; margin-top: 1.8rem; }
.release__gallery.g-pairs figure:nth-child(n) { grid-column: span 3; margin-top: 0; align-self: end; }

/* ---------- Initiative: logos + festival programme ---------- */
.work__logos { position: relative; aspect-ratio: 1; background: #fff; border: 1px solid #e6e6e6; cursor: pointer; overflow: hidden; }
.work__logos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.work__logos img.is-on { opacity: 1; }
.work__logos.is-glitch img.is-on { animation: logoGlitch .26s steps(4) 1; }
@keyframes logoGlitch {
  0% { transform: translateX(0); clip-path: inset(0 0 0 0); }
  25% { transform: translateX(-6px); clip-path: inset(20% 0 45% 0); }
  50% { transform: translateX(5px); clip-path: inset(55% 0 10% 0); }
  75% { transform: translateX(-2px); clip-path: inset(0 0 70% 0); }
  100% { transform: translateX(0); clip-path: inset(0 0 0 0); }
}
.work__logos-hint { position: absolute; right: 10px; bottom: 8px; font-family: var(--mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: #b0b0b0; }
.work__programme { margin-top: 2.4rem; border-top: 1px solid var(--ink); padding-top: 1rem; }
.work__prog-title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 44px); line-height: 1; }
.work__prog-intro { margin-top: .8rem; font-size: 14px; line-height: 1.55; color: #444; max-width: 36rem; }
.work__prog-list { list-style: none; margin-top: 1.2rem; }
.work__prog-list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid #ececec; }
.work__prog-date { font-family: var(--mono); font-size: 11px; color: #6f6f6f; padding-top: 2px; }
.work__prog-what { display: flex; flex-direction: column; gap: .15rem; font-size: 14px; }
.work__prog-what b { font-weight: 500; }
.work__prog-what em { font-style: normal; }
.work__prog-what i { font-style: normal; color: #6f6f6f; font-size: 13px; }

/* ---------- Audio player ---------- */
.player {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .4rem 1rem;
  margin-top: 1.8rem; max-width: 36rem;
}
.player__btn {
  width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center; transition: background .3s, color .3s;
}
.player__btn:hover { background: var(--ink); color: #fff; }
.player__btn svg { width: 14px; height: 14px; fill: currentColor; }
.player__btn .i-pause, .player__btn.is-playing .i-play { display: none; }
.player__btn.is-playing .i-pause { display: inline; }
.player__wave { height: 44px; cursor: pointer; outline-offset: 4px; }
.player__wave canvas { display: block; width: 100%; height: 100%; }
.player__time, .player__label { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: #6f6f6f; }
.player__time { min-width: 7.5em; text-align: right; }
.player__label { grid-column: 2 / -1; color: #9a9a9a; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90; background: rgba(255, 255, 255, .97);
  display: flex; align-items: center; justify-content: center; padding: 4vh 4vw;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; cursor: zoom-out;
}
.lightbox.is-visible { opacity: 1; visibility: visible; transition: opacity .4s var(--ease), visibility 0s; }
.lightbox img { max-width: 100%; max-height: 100%; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .35); }
.lightbox__x { position: absolute; top: var(--pad); right: var(--pad); font-size: 13px; }

/* when an overlay is open, calm the home page */
body.is-open .mark { opacity: 0 !important; transition: opacity .4s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .top__nav { display: none; }
  .top__menu { display: block; }
  .detail__body { grid-template-columns: 1fr; }
  .release__top { grid-template-columns: 1fr; }
  .release__cover { position: static; }
  .release__gallery { grid-template-columns: 1fr 1fr; }
  .release__gallery figure:nth-child(n), .release__gallery[data-count] figure:nth-child(n) { grid-column: span 2; margin-top: 0; }
  .work__role { min-width: 7.5rem; }
  .release__sidename { letter-spacing: .4em; }
}

@media (max-width: 560px) {
  .mark { font-size: 30vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}
