/* ===========================================================================
   WESKI — weski.css
   ---------------------------------------------------------------------------
   THE ROOM TAKES THE RECORD'S COLOUR.

   The wall behind every page is the cover itself, stretched across the screen
   and blurred until only its light is left. Each release brings its own wall,
   its own ink and its own accent — all read from the pixels of its artwork by
   weski.js. Nothing in this file is written for one particular release.

   CONTENTS
     01 Fonts + tokens      06 Records (home)       11 Player
     02 Base                07 Closing block        12 Cursor
     03 The wall            08 Archive              13 Motion
     04 Navigation          09 Release sheet        14 Phone
     05 Hero                10 Buttons + rows       15 Reduced motion
   =========================================================================== */

/* ---- 01 FONTS + TOKENS ---- */
@font-face{font-family:"Bricolage";src:url("assets/fonts/bricolage.woff2") format("woff2");
  font-weight:200 800;font-stretch:75% 100%;font-display:swap}
/* The wordmark's own cut: one weight, five letters, overlaps removed so its
   outline draws as a single clean line. */
@font-face{font-family:"WeskiMark";src:url("assets/fonts/weski-mark.woff2") format("woff2");
  font-weight:800;font-stretch:75%;font-display:swap}
@font-face{font-family:"Instrument";src:url("assets/fonts/instrument-italic.woff2") format("woff2");
  font-style:italic;font-weight:400;font-display:swap}
@font-face{font-family:"Plex Mono";src:url("assets/fonts/plex-mono.woff2") format("woff2");
  font-weight:500;font-display:swap}

/* Registered as colours so they can fade, even inside a gradient. */
@property --edge{syntax:"<color>";inherits:true;initial-value:#0b0b0d}
@property --veil{syntax:"<color>";inherits:true;initial-value:rgba(6,6,10,.42)}

:root{
  transition:--edge var(--swap) var(--ease),--veil var(--swap) var(--ease);
  --edge:#0b0b0d;                /* the same colour as --chrome, but it fades */
  --lift:0px;                    /* how far the player sits above the browser's toolbar */
  /* Rewritten by weski.js for whichever record owns the room. */
  --ink:#fff;
  --ink-2:rgba(255,255,255,.70);
  --ink-3:rgba(255,255,255,.36);
  --line:rgba(255,255,255,.16);
  --wash:rgba(255,255,255,.09);
  --accent:#fff;
  --on-accent:#0b0b0d;
  --veil:rgba(6,6,10,.42);
  --chrome:#0b0b0d;              /* the browser's own bars take this colour */
  --rim:rgba(0,0,0,.5);          /* keeps the hero outline readable on white */

  --swap:1000ms;                 /* how long the room takes to change colour */
  --ease:cubic-bezier(.22,.61,.36,1);
  --gut:clamp(20px,5vw,84px);
  --sans:"Bricolage",system-ui,-apple-system,"Segoe UI",sans-serif;
  --serif:"Instrument",Georgia,serif;
  --mono:"Plex Mono",ui-monospace,Menlo,monospace;
}

/* ---- 02 BASE ---- */
*,*::before,*::after{box-sizing:border-box}
html{background-color:var(--chrome);-webkit-text-size-adjust:100%;scroll-behavior:smooth;scrollbar-gutter:stable;
  scrollbar-width:thin;scrollbar-color:rgba(128,128,128,.5) transparent}
body{margin:0;background-color:var(--chrome);color:var(--ink);
  font-family:var(--sans);font-size:15px;line-height:1.45;
  overflow-x:hidden;-webkit-font-smoothing:antialiased;
  transition:color var(--swap) var(--ease)}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button,input{font:inherit;color:inherit}
button{background:none;border:0;padding:0;cursor:pointer}
h1,h2,h3,p,ul{margin:0}
ul{list-style:none;padding:0}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

/* Two views live in one page so music never stops when you change page. */
body[data-view="home"] #archive,
body[data-view="archive"] #home{display:none}
body.sheet-open{overflow:hidden}
body.sheet-open main{visibility:hidden}

/* ---- 03 THE WALL -------------------------------------------------------
   One stretched, blurred copy of every cover, stacked; only the current one
   is visible. Each is drawn at a quarter of the screen and scaled up, so the
   blur costs a fraction of a full-screen blur, and changing record is only
   an opacity fade.
   ------------------------------------------------------------------------ */
.wall{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;will-change:transform}
.wall img{position:absolute;left:37.5%;top:37.5%;width:25%;height:25%;max-width:none;
  object-fit:fill;filter:blur(22px) saturate(1.55);transform:scale(5.4);
  opacity:0;transition:opacity var(--swap) var(--ease);will-change:opacity}
.wall img.on{opacity:1}
/* A new colour does not fade in everywhere at once: it spreads out from the
   cover that brings it, over the one before. */
@property --r{syntax:"<percentage>";inherits:false;initial-value:150%}
.wall img.wave{transition:none;animation:wave 1500ms cubic-bezier(.4,0,.3,1) both;
  -webkit-mask-image:radial-gradient(circle at var(--wx,50%) var(--wy,50%),#000 calc(var(--r) - 26%),transparent var(--r));
          mask-image:radial-gradient(circle at var(--wx,50%) var(--wy,50%),#000 calc(var(--r) - 26%),transparent var(--r))}
@keyframes wave{from{--r:0%}to{--r:138%}}
.veil{position:fixed;inset:0;z-index:1;pointer-events:none;background-image:linear-gradient(var(--veil),var(--veil))}
/* PHONES — THE PAGE RUNS EDGE TO EDGE.
   The browser paints its own bars (clock, address bar) in the page colour.
   The wall melts into that exact colour at the top and bottom, so there is no
   line where the site stops and the phone begins. Two hairlines carry the
   colour for browsers that read it from the edges of the screen. */
.edge{position:fixed;left:0;right:0;height:2px;z-index:1;pointer-events:none;background-color:var(--chrome)}
.edge--t{top:0}.edge--b{bottom:0}
@media (hover:none){
  .veil{background-image:
    linear-gradient(to bottom,var(--edge) 0,transparent 130px,transparent calc(100% - 170px),var(--edge) 100%),
    linear-gradient(var(--veil),var(--veil))}
}
.grain{position:fixed;inset:0;z-index:2;pointer-events:none;opacity:.07;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E")}
main{position:relative;z-index:3}

/* ---- 04 NAVIGATION ---- */
.nav{position:fixed;inset:0 0 auto 0;z-index:12;display:flex;justify-content:space-between;
  align-items:center;padding:max(16px,env(safe-area-inset-top)) var(--gut) 16px;
  font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;pointer-events:none}
.nav > *{pointer-events:auto}
/* Whatever scrolls up behind the navigation melts into a blur instead of
   colliding with it. */
.nav::before{content:"";position:absolute;inset:0 0 -26px 0;z-index:-1;pointer-events:none;
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  -webkit-mask-image:linear-gradient(to bottom,#000 45%,transparent);mask-image:linear-gradient(to bottom,#000 45%,transparent)}
.nav__mark{font-weight:800;letter-spacing:.02em;font-size:17px;font-stretch:75%;padding:8px 0}
.nav__set{display:flex;gap:clamp(8px,1.6vw,12px);align-items:center}
.pill{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 17px;border-radius:999px;
  border:1px solid var(--line);background:var(--wash);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);white-space:nowrap;
  transition:background 260ms var(--ease),color 260ms var(--ease),border-color var(--swap) var(--ease),transform 200ms var(--ease)}
.pill:hover,.pill[aria-pressed="true"]{background:var(--accent);color:var(--on-accent);border-color:transparent}
.pill:active{transform:scale(.96)}
.pill .dot{width:7px;height:7px;border-radius:50%;background:currentColor}
.pill[aria-pressed="true"] .dot{animation:blink 1.1s steps(2) infinite}
@keyframes blink{50%{opacity:.25}}

/* Which record you are on. Desktop only. */
.rail{position:fixed;right:calc(var(--gut) * .42);top:50%;z-index:11;transform:translateY(-50%);
  display:none;flex-direction:column;gap:2px;font-family:var(--mono);font-size:10px;letter-spacing:.1em}
.rail a{display:block;padding:7px 6px;color:var(--ink-3);transition:color 300ms var(--ease),transform 300ms var(--ease)}
.rail a[aria-current="true"]{color:var(--ink);transform:translateX(-6px)}
@media (min-width:1100px){ body[data-view="home"]:not(.sheet-open) .rail{display:flex} }

/* ---- 05 HERO -----------------------------------------------------------
   The name is set twice at exactly the same place: once solid BEHIND the
   figure, once as an outline IN FRONT. Where the letters cross the helmet you
   read them through it as a drawn line; everywhere else they are solid.
   ------------------------------------------------------------------------ */
.hero{position:relative;height:100svh;min-height:560px;overflow:hidden}
.hero__word{position:absolute;left:0;right:0;top:47%;margin:0;text-align:center;white-space:nowrap;
  font-family:"WeskiMark",var(--sans);font-weight:800;font-stretch:75%;line-height:.74;letter-spacing:-.045em;
  font-size:min(40.5vw,74svh);user-select:none;pointer-events:none;
  transform:translate3d(0,calc(-50% + var(--wy,0px)),0);will-change:transform}
/* Never let the browser fake a bolder or narrower cut: Safari does it by
   redrawing the outline several times, which doubles every line. */
.hero__word{font-synthesis:none;-webkit-font-synthesis:none}
.hero__word--back{z-index:1}
.hero__word--front{z-index:3;color:transparent;-webkit-text-stroke:1.5px var(--ink);
  filter:drop-shadow(0 0 2px var(--rim));transition:-webkit-text-stroke-color var(--swap) var(--ease)}
.hero__word span{display:inline-block}
.hero__fig{position:absolute;z-index:2;left:50%;top:-1svh;height:108svh;aspect-ratio:2928/3870;
  transform:translate3d(-48%,var(--fy,0px),0);will-change:transform}
.hero__fig img{width:100%;height:100%;object-fit:contain}
/* Depth: the figure and the name move against each other with the pointer
   (or with the phone, where it is allowed without asking). */
.hero__fig{translate:calc(var(--px,0) * -16px) calc(var(--py,0) * -9px);rotate:calc(var(--px,0) * .7deg)}
.hero__word{translate:calc(var(--px,0) * 20px) calc(var(--py,0) * 11px)}
/* A light that travels over the helmet and the visor as you move. */
.hero__glint{position:absolute;inset:0;pointer-events:none;mix-blend-mode:soft-light;
  background:radial-gradient(circle at calc(46% + var(--px,0) * 26%) calc(24% + var(--py,0) * 12%),rgba(255,255,255,.95) 0,rgba(255,255,255,.35) 9%,transparent 24%);
  -webkit-mask:url("assets/images/hero-portrait-1100.webp") center/100% 100% no-repeat;
          mask:url("assets/images/hero-portrait-1100.webp") center/100% 100% no-repeat}
/* The figure dissolves into the light instead of being cut by the edge of
   the screen. */
.hero__fig picture,.hero__fig > img{display:block;height:100%;
  /* A rim of light hugging the silhouette: it lifts the figure off the wall
     and hides anything rough in the cut-out. */
  filter:contrast(1.05) saturate(1.06) drop-shadow(0 0 5px rgba(255,255,255,.7)) drop-shadow(0 0 22px rgba(255,255,255,.32));
  -webkit-mask-image:linear-gradient(to bottom,#000 60%,transparent 91%);
          mask-image:linear-gradient(to bottom,#000 60%,transparent 91%)}
/* Light from behind, in the record's colour — never a dark shadow, which
   reads as a dirty rim around a white helmet. */
.hero__fig::before{content:"";position:absolute;inset:-6% -26% 30% -26%;z-index:-1;border-radius:50%;
  background:radial-gradient(closest-side,var(--accent) 0,transparent 70%);opacity:.42;
  animation:aura 5.5s ease-in-out infinite}
@keyframes aura{50%{transform:scale(1.1);opacity:.6}}
/* Film grain on the figure only — cut to its silhouette — so the photograph
   reads as a photograph instead of something smoothed. */
.hero__fig::after{content:"";position:absolute;inset:0;pointer-events:none;mix-blend-mode:overlay;opacity:.5;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask:url("assets/images/hero-portrait-1100.webp") center/100% 100% no-repeat,linear-gradient(to bottom,#000 60%,transparent 91%);
          mask:url("assets/images/hero-portrait-1100.webp") center/100% 100% no-repeat,linear-gradient(to bottom,#000 60%,transparent 91%);
  -webkit-mask-composite:source-in;mask-composite:intersect}
.hero__foot{position:absolute;z-index:4;inset:auto var(--gut) max(26px,env(safe-area-inset-bottom)) var(--gut);
  display:flex;justify-content:space-between;align-items:flex-end;gap:20px}
.hero__role{font-family:var(--serif);font-style:italic;font-size:clamp(20px,2.3vw,32px);line-height:1.05}
.hero__next{display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;text-align:right}
.hero__next span{display:inline-block;animation:bob 2.4s var(--ease) infinite}
@keyframes bob{50%{transform:translateY(5px)}}

/* ---- 06 RECORDS (HOME) ---- */
.rel{min-height:100svh;display:grid;align-items:center;padding:13svh var(--gut);
  grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(30px,6vw,110px)}
#reels .rel:nth-of-type(even) .rel__stage{order:2}
.rel__stage{display:grid;place-items:center;perspective:1300px}
.plate{position:relative;width:min(62svh,100%);aspect-ratio:1;transform-style:preserve-3d;will-change:transform}
/* The halo: the cover again, blurred, behind itself. */
.plate__glow{position:absolute;inset:0;width:100%;height:100%;z-index:-1;
  filter:blur(46px) saturate(1.9);transform:scale(1.2);opacity:.9;will-change:transform,opacity}
/* The record. It sleeps inside the sleeve; when its music plays it slides out
   and turns, and the sleeve steps aside to keep the pair centred. */
.plate{translate:0 0;transition:translate 1000ms var(--ease)}
.plate__disc{position:absolute;inset:2.5%;border-radius:50%;display:grid;place-items:center;
  background:
    conic-gradient(from 20deg,transparent 0 8%,rgba(255,255,255,.13) 13%,transparent 19% 50%,rgba(255,255,255,.1) 62%,transparent 70%),
    repeating-radial-gradient(circle,#0c0c0f 0 1.1px,#17171c 1.1px 2.4px);
  box-shadow:0 24px 60px -24px rgba(0,0,0,.7),inset 0 0 0 1px rgba(255,255,255,.07);
  transition:transform 1000ms var(--ease);transform:translateX(0) translateZ(-1px)}
.plate__disc b{width:37%;aspect-ratio:1;border-radius:50%;background-size:cover;background-position:center;
  box-shadow:0 0 0 1px rgba(0,0,0,.5);animation:spin 5s linear infinite;animation-play-state:paused}
.plate__disc i{position:absolute;width:3.2%;aspect-ratio:1;border-radius:50%;background:#0b0b0d;box-shadow:0 0 0 1px rgba(255,255,255,.25)}
/* Until the sleeve is drawn the record stays out of sight — it never shows
   through an empty cover. */
.plate__disc{opacity:0}
.plate.ready .plate__disc{opacity:1;transition:transform 1000ms var(--ease),opacity 300ms var(--ease)}
.plate:not(.ready).is-spinning{translate:0 0}
.plate.is-spinning{translate:-6% 0}
.plate.is-spinning .plate__disc{transform:translateX(26%) translateZ(-1px)}
@media (min-width:1250px){
  .plate.is-spinning{translate:-9% 0}
  .plate.is-spinning .plate__disc{transform:translateX(33%) translateZ(-1px)}
}
.stage .plate.is-spinning{translate:-20% 0}
.stage .plate.is-spinning .plate__disc{transform:translateX(42%) translateZ(-1px)}
.plate.is-spinning .plate__disc b{animation-play-state:running}
.plate__img{position:relative;z-index:1;width:100%;height:100%;object-fit:cover;border-radius:10px;will-change:transform;
  box-shadow:0 34px 80px -34px rgba(0,0,0,.6)}
.kicker{font-family:var(--serif);font-style:italic;font-size:clamp(19px,1.9vw,26px);color:var(--ink-2)}
.kicker b{font-weight:400;color:var(--accent);transition:color var(--swap) var(--ease)}
.title{transform-origin:0 60%;will-change:transform;margin-top:.12em;font-weight:800;font-stretch:78%;letter-spacing:-.035em;line-height:.9;
  font-size:clamp(46px,7.2vw,124px);text-wrap:balance}

/* ---- 07 CLOSING BLOCK ---- */
.out{min-height:92svh;display:grid;align-content:center;padding:14svh var(--gut) 22svh;gap:clamp(22px,4vh,44px)}
.out__big{font-weight:800;font-stretch:76%;letter-spacing:-.04em;line-height:.86;font-size:clamp(54px,11.5vw,210px)}
.out__big i{font-family:var(--serif);font-weight:400;letter-spacing:-.01em;color:var(--accent);
  transition:color var(--swap) var(--ease)}
.out__links{display:flex;flex-wrap:wrap;gap:10px}
.out__mail{font-family:var(--serif);font-style:italic;font-size:clamp(22px,2.6vw,36px);
  border-bottom:1px solid var(--line);justify-self:start}
.legal{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3)}

/* ---- 08 ARCHIVE ---- */
.arc{min-height:100svh;padding:clamp(110px,17svh,170px) var(--gut) 180px}
.arc__title{font-weight:800;font-stretch:76%;letter-spacing:-.04em;line-height:.86;font-size:clamp(64px,13vw,220px)}
.arc__tools{display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center;margin-top:clamp(24px,4vh,44px)}
.arc__search{flex:1 1 240px;max-width:420px;min-height:46px;padding:0 20px;border-radius:999px;
  border:1px solid var(--line);background:var(--wash);outline-offset:2px;
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);font-size:15px;font-weight:500;
  transition:border-color var(--swap) var(--ease)}
.arc__search::placeholder{color:var(--ink-3)}
.arc__search::-webkit-search-cancel-button{-webkit-appearance:none}
.chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;max-width:100%}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;min-height:40px;padding:0 15px;border-radius:999px;border:1px solid var(--line);
  font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;
  transition:background 240ms var(--ease),color 240ms var(--ease),border-color 240ms var(--ease)}
.chip:hover{background:var(--wash)}
.chip[aria-pressed="true"]{background:var(--ink);color:var(--on-ink,#000);border-color:transparent}
.arc__count{margin-left:auto;font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-2)}
.arc__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
  gap:clamp(26px,3.4vw,54px) clamp(18px,2.6vw,40px);margin-top:clamp(30px,5vh,60px)}
.card{display:block;position:relative}
.card__art{position:relative;aspect-ratio:1;transition:transform 500ms var(--ease)}
.card__art img{width:100%;height:100%;object-fit:cover;border-radius:10px}
.card__glow{position:absolute;inset:0;z-index:-1;filter:blur(30px) saturate(1.9);transform:scale(1.12);
  opacity:0;transition:opacity 500ms var(--ease)}
.card:hover .card__art,.card:focus-visible .card__art{transform:translateY(-8px) scale(1.015)}
.card:hover .card__glow,.card:focus-visible .card__glow{opacity:.95}
.card__tag{position:absolute;left:10px;top:10px;padding:5px 9px;border-radius:999px;background:#fff;color:#000;
  font-family:var(--mono);font-size:9px;letter-spacing:.14em;text-transform:uppercase}
.card__nm{display:block;margin-top:16px;font-size:clamp(19px,1.7vw,25px);font-weight:700;font-stretch:84%;
  letter-spacing:-.02em;line-height:1.05}
.card__meta{display:block;margin-top:4px;font-family:var(--serif);font-style:italic;font-size:17px;color:var(--ink-2)}
.arc__empty{margin-top:60px;font-family:var(--serif);font-style:italic;font-size:26px;color:var(--ink-2)}

/* ---- 09 RELEASE SHEET --------------------------------------------------
   One record, full screen, in its own light. The page beneath is hidden, not
   removed, so closing puts you back exactly where you were.
   ------------------------------------------------------------------------ */
.sheet{position:fixed;inset:0;z-index:10;overflow-y:auto;overscroll-behavior:contain;display:none}
/* What scrolls up under the navigation fades out instead of colliding with it. */
.sheet{-webkit-mask-image:linear-gradient(to bottom,transparent 44px,#000 104px);mask-image:linear-gradient(to bottom,transparent 44px,#000 104px)}
body.sheet-open .sheet{display:block;animation:sheet-in 520ms var(--ease) both}
@keyframes sheet-in{from{opacity:0;transform:translateY(26px)}}
.sheet .rel{min-height:100svh;padding-bottom:20svh}
.sheet__text{margin-top:18px;max-width:52ch;font-size:17px;color:var(--ink-2)}
.sheet__credit{margin-top:14px;font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-2)}
.lyrics{display:grid;grid-template-rows:0fr;transition:grid-template-rows 420ms var(--ease)}
.lyrics.open{grid-template-rows:1fr}
.lyrics > div{overflow:hidden}
.lyrics p{padding:6px 0 18px 40px;white-space:pre-line;font-family:var(--serif);font-style:italic;font-size:19px;line-height:1.4;color:var(--ink-2)}

/* ---- 10 BUTTONS + ROWS ---- */
.list{margin-top:clamp(20px,3.4vh,34px);max-width:520px}
.list li + li{border-top:1px solid var(--line)}
.row{display:flex;align-items:center;gap:14px;min-height:50px;padding:0 14px;margin:0 -14px;
  width:calc(100% + 28px);border-radius:10px;text-align:left;font-size:17px;font-weight:500;
  transition:background 220ms var(--ease)}
.row:hover,.row.is-on{background:var(--wash)}
.row__no{font-family:var(--mono);font-size:11px;letter-spacing:.06em;color:var(--ink-3);min-width:2.4ch}
.row__nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row__st{font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-2)}
.row.is-on .row__nm,.row.is-on .row__st{color:var(--accent)}
.row--lyr{min-height:36px;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--ink-2);padding-left:54px}
.acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:clamp(20px,3.4vh,32px)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 24px;border-radius:999px;
  font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;
  border:1px solid var(--line);background:var(--wash);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  transition:transform 200ms var(--ease),background 300ms var(--ease),color 300ms var(--ease),border-color var(--swap) var(--ease)}
.btn:hover{background:var(--ink);color:var(--on-ink,#000);border-color:transparent}
.btn--main{background:var(--accent);color:var(--on-accent);border-color:transparent}
.btn--main:hover{background:var(--ink);color:var(--on-ink,#000)}
.btn:active{transform:scale(.97)}
/* Platform icons on a release. */
.icons{display:flex;gap:10px;margin-top:14px;flex-basis:100%}
.icons--inline{flex-basis:auto;margin-top:0}
.icons--inline .ico{width:50px;height:50px}
/* Four bars that move on the track that is playing. */
.eq{display:inline-flex;align-items:flex-end;gap:3px;height:14px}
.eq b{width:3px;height:100%;border-radius:1px;background:var(--accent);transform-origin:50% 100%;
  animation:eq 900ms ease-in-out infinite alternate}
.eq b:nth-child(2){animation-duration:620ms;animation-delay:-200ms}
.eq b:nth-child(3){animation-duration:780ms;animation-delay:-420ms}
.eq b:nth-child(4){animation-duration:540ms;animation-delay:-90ms}
@keyframes eq{from{transform:scaleY(.25)}to{transform:scaleY(1)}}
.ico{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;
  border:1px solid var(--line);background:var(--wash);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  transition:transform 260ms var(--ease),background 300ms var(--ease),color 300ms var(--ease),border-color var(--swap) var(--ease)}
.ico svg{width:23px;height:23px;fill:currentColor}
.ico:hover{background:var(--ink);color:var(--on-ink,#000);border-color:transparent;transform:translateY(-3px)}
.ico:active{transform:scale(.94)}
button.ico{color:inherit;border:1px solid var(--line)}
.ico.done{background:var(--accent);color:var(--on-accent,#000);border-color:transparent}

/* ---- 11 PLAYER ---- */
.bar{position:fixed;left:50%;bottom:calc(max(14px,env(safe-area-inset-bottom)) + var(--lift));z-index:13;
  width:min(520px,calc(100vw - 28px));transform:translate(-50%,170%);
  display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;padding:8px 8px 7px;border-radius:27px;
  color:#fff;background:rgba(14,14,18,.8);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);
  border:1px solid rgba(255,255,255,.14);overflow:hidden;
  box-shadow:0 18px 50px -18px rgba(0,0,0,.7);
  opacity:0;pointer-events:none;
  transition:transform 560ms var(--ease),opacity 300ms var(--ease)}
.bar.on{transform:translate(-50%,0);opacity:1;pointer-events:auto}
.bar__open{display:flex;align-items:center;gap:12px;flex:1;min-width:0;text-align:left}
.bar__art{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:none}
.bar.playing .bar__art{animation:spin 9s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.bar__txt{flex:1;min-width:0;line-height:1.2}
.bar__nm{display:block;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bar__tag{display:block;font-family:var(--mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;opacity:.62;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bar__b{width:42px;height:42px;border-radius:50%;flex:none;display:grid;place-items:center;
  transition:background 200ms var(--ease),transform 200ms var(--ease)}
.bar__b:hover{background:rgba(255,255,255,.12)}
.bar__b:active{transform:scale(.92)}
.bar__b--play,.bar__b--play:hover{background:#fff;color:#000}
.bar.playing #icoPlay,.bar:not(.playing) #icoPause{display:none}
/* The real outline of the track. Click or drag to move through it. */
.bar__seek{flex:none;width:calc(100% - 20px);margin:0 10px;height:24px;cursor:pointer;touch-action:none}
.bar__seek canvas,.stage__wave canvas{display:block;width:100%;height:100%}

/* While the page moves under the thumb, the player folds into a pill. */
.bar{transition:transform 560ms var(--ease),opacity 300ms var(--ease),width 380ms var(--ease),border-radius 380ms var(--ease)}
.bar__txt,.bar #barNext,.bar__seek{transition:opacity 220ms var(--ease)}
.bar.mini{width:112px;flex-wrap:nowrap;border-radius:999px;padding:8px}
.bar.mini .bar__open{flex:none}
.bar.mini .bar__txt,.bar.mini #barNext,.bar.mini .bar__seek{display:none}

/* ---- 11b LISTENING VIEW ------------------------------------------------
   The player opened wide: the sleeve, the record turning, the outline of the
   track, three controls. Nothing else.
   ------------------------------------------------------------------------ */
.stage{position:fixed;inset:0;z-index:11;display:none;overflow:hidden;outline:none;
  padding:84px var(--gut) max(34px,calc(env(safe-area-inset-bottom) + var(--lift) + 18px))}
body.stage-open .stage{display:grid;place-items:center;animation:stage-in 620ms var(--ease) both}
@keyframes stage-in{from{opacity:0;transform:scale(1.04)}}
body.stage-open main,body.stage-open .sheet,body.stage-open .rail{visibility:hidden}
body.stage-open .bar{transform:translate(-50%,170%);opacity:0;pointer-events:none}
.stage__in{display:grid;justify-items:center;gap:clamp(22px,4.5svh,52px);width:100%;max-width:820px}
.stage__plate{perspective:1300px;display:grid;place-items:center;width:100%}
.stage .plate{width:min(44svh,62vw)}
.stage__txt{width:100%;text-align:center}
.stage__title{font-weight:800;font-stretch:80%;letter-spacing:-.035em;line-height:.95;margin:6px 0 0;
  font-size:clamp(34px,6.4svh,76px);text-wrap:balance}
.stage__wave{height:clamp(46px,9svh,84px);margin-top:clamp(16px,3svh,30px);cursor:pointer;touch-action:none}
.stage__time{display:flex;justify-content:space-between;margin-top:8px;font-family:var(--mono);font-size:11px;
  letter-spacing:.1em;color:var(--ink-2);font-variant-numeric:tabular-nums}
.stage__ctl{display:flex;justify-content:center;align-items:center;gap:clamp(18px,4vw,34px);margin-top:clamp(10px,2svh,22px)}
.stage__b{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;color:var(--ink);
  transition:background 200ms var(--ease),transform 200ms var(--ease)}
.stage__b:hover{background:var(--wash)}
.stage__b:active{transform:scale(.92)}
.stage__b--play{width:84px;height:84px;background:var(--ink);color:var(--on-ink,#000)}
.stage__b--play:hover{background:var(--ink);transform:scale(1.05)}
.stage.playing .i-play,.stage:not(.playing) .i-pause{display:none}
.stage .i-play{margin-left:4px}

/* ---- 11b² THE SHOW -----------------------------------------------------
   An album as one piece. Each track tints the light; the controls fade when
   nothing is touched; a card opens it and a card closes it.
   ------------------------------------------------------------------------ */
.btn--show span{display:inline}
.stage__segs{position:absolute;left:var(--gut);right:var(--gut);top:calc(env(safe-area-inset-top) + 70px);display:flex;gap:5px;z-index:2}
.stage__segs i{position:relative;flex:1;height:3px;border-radius:2px;overflow:hidden;background:var(--line)}
.stage__segs i.done{background:var(--ink)}
.stage__segs i.on::after{content:"";position:absolute;inset:0;background:var(--ink);transform-origin:0 50%;transform:scaleX(var(--p,0))}
.concert .wall{filter:hue-rotate(var(--hue,0deg));transition:filter 1600ms var(--ease)}
.concert .stage .plate__glow{filter:blur(46px) saturate(1.9) hue-rotate(var(--hue,0deg))}
.concert .stage__title{font-size:clamp(44px,11svh,128px)}
.stage__title .w{display:inline-block;white-space:nowrap}
.stage__title .w span{display:inline-block;animation:st-letter 900ms var(--ease) both;animation-delay:calc(var(--i) * 36ms + 260ms)}
@keyframes st-letter{from{opacity:0;transform:translateY(62%) rotate(5deg)}}
.stage::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:0;
  background:radial-gradient(circle at 50% 36%,rgba(255,255,255,.6),transparent 64%)}
.stage.beat::before{animation:st-flash 1200ms ease-out}
@keyframes st-flash{0%{opacity:0}10%{opacity:1}100%{opacity:0}}
.concert .nav,.concert .stage__ctl,.concert .stage__time,.concert .stage__segs{transition:opacity 700ms var(--ease)}
.concert.idle .nav,.concert.idle .stage__ctl,.concert.idle .stage__time,.concert.idle .cur{opacity:0;pointer-events:none}
.concert.idle .stage__segs{opacity:.45}
.concert.idle,.concert.idle *{cursor:none!important}
.stage__card{position:absolute;inset:0;z-index:3;display:grid;place-content:center;justify-items:center;gap:14px;text-align:center;
  padding:90px var(--gut);background-color:var(--chrome);opacity:0;visibility:hidden;
  transition:opacity 900ms var(--ease),visibility 0s 900ms}
.stage__card.show{opacity:1;visibility:visible;transition:opacity 500ms var(--ease)}
.stage__card.open.show{transition:none}
.stage__card h2{margin:0;font-weight:800;font-stretch:76%;letter-spacing:-.04em;line-height:.88;text-wrap:balance;
  font-size:clamp(48px,11vw,170px);animation:card-in 1100ms var(--ease) both}
.stage__card .kicker{animation:card-in 900ms var(--ease) both}
.stage__sub{margin:0;font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-2);
  animation:card-in 1100ms var(--ease) 180ms both}
.stage__card .acts{justify-content:center;animation:card-in 1100ms var(--ease) 320ms both}
@keyframes card-in{from{opacity:0;transform:translateY(22px)}}
.out__news{margin:0}

/* ---- 11c THE OPENING ---------------------------------------------------
   Dark, a light comes up, the name lands, the dark opens from the middle.
   ------------------------------------------------------------------------ */
div.intro{position:fixed;inset:0;z-index:60;display:none;place-items:center;overflow:hidden;background:#07070a;color:#fff}
html.intro .intro,html.intro-out .intro{display:grid}
html.intro .intro{animation:intro-safe 1ms 6s forwards}      /* whatever happens, it never stays */
@keyframes intro-safe{to{visibility:hidden}}
html.intro body{overflow:hidden}
.intro__glow{position:absolute;left:50%;top:50%;width:min(120vw,130svh);aspect-ratio:1;border-radius:50%;
  transform:translate(-50%,-50%) scale(.3);opacity:0;will-change:transform,opacity;
  background:radial-gradient(closest-side,rgba(255,214,150,.85) 0,rgba(255,92,170,.5) 24%,rgba(120,70,255,.26) 48%,rgba(120,70,255,.08) 66%,transparent 78%)}
.intro__word{position:relative;font-family:"WeskiMark",var(--sans);font-weight:800;font-stretch:75%;font-synthesis:none;
  font-size:min(27vw,36svh);line-height:.8;letter-spacing:-.045em;white-space:nowrap}
.intro__word span{display:inline-block;opacity:0}
.intro__line{position:absolute;left:50%;top:calc(50% + min(13vw,17svh));width:min(58vw,560px);height:1px;
  background:#fff;transform:translateX(-50%) scaleX(0);opacity:.7}
html.intro-go .intro__glow{animation:intro-glow 2400ms cubic-bezier(.2,.7,.2,1) forwards}
html.intro-go .intro__word span{animation:intro-letter 900ms var(--ease) both;animation-delay:calc(var(--i) * 85ms + 180ms)}
html.intro-go .intro__line{animation:intro-line 1100ms var(--ease) 620ms forwards}
@keyframes intro-glow{to{transform:translate(-50%,-50%) scale(1);opacity:.85}}
@keyframes intro-letter{from{opacity:0;transform:translateY(46%) scale(1.1)}to{opacity:1;transform:none}}
@keyframes intro-line{to{transform:translateX(-50%) scaleX(1)}}
html.intro-out .intro{pointer-events:none;animation:intro-open 920ms cubic-bezier(.6,0,.2,1) forwards;
  -webkit-mask-image:radial-gradient(circle at 50% 50%,transparent calc(var(--r) - 16%),#000 var(--r));
          mask-image:radial-gradient(circle at 50% 50%,transparent calc(var(--r) - 16%),#000 var(--r))}
@keyframes intro-open{from{--r:0%}72%{opacity:1}to{--r:118%;opacity:0}}
html.intro-out .intro__word{animation:intro-away 700ms var(--ease) forwards}
html.intro-out .intro__line{opacity:0;transition:opacity 200ms}
@keyframes intro-away{to{transform:scale(1.45);opacity:0}}
/* The hero waits behind the dark and makes its own entrance as it opens. */
html.intro .hero__word span,html.intro .hero__fig img{animation-play-state:paused}

/* ---- 12 CURSOR ---------------------------------------------------------
   A round dot on the exact pointer; over anything you can act on, a hairline
   square opens around it and names the action. The square is dark glass, like
   the player, so its label reads on every cover and every wall. Desktop only.
   ------------------------------------------------------------------------ */
.cur{display:none}
@media (hover:hover) and (pointer:fine){
  html.has-cur,html.has-cur *{cursor:none!important}
  .cur{display:block;position:fixed;inset:0;z-index:40;pointer-events:none;color:#fff;
    opacity:0;transition:opacity 140ms linear}
  .cur.on{opacity:1}
  .cur__dot,.cur__field{position:absolute;left:0;top:0;width:0;height:0;will-change:transform}
  .cur__dot{mix-blend-mode:difference}
  .cur__mark{position:absolute;width:8px;height:8px;border-radius:50%;background:currentColor;
    transform:translate(-50%,-50%) scale(var(--dot,1));transition:transform 220ms var(--ease)}
  .cur__box{position:absolute;display:grid;place-items:center;width:52px;height:52px;
    border:1px solid rgba(255,255,255,.55);background:rgba(12,12,16,.72);
    backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);opacity:0;
    transform:translate(-50%,-50%) scale(var(--box,.5));
    transition:transform 240ms var(--ease),opacity 200ms var(--ease)}
  .cur__lab{font-family:var(--mono);font-size:9px;letter-spacing:.14em;text-transform:uppercase;line-height:1}
  .cur.is-act{--dot:0}
  .cur.is-act .cur__box{opacity:1;--box:1}
  .cur.is-down .cur__box{--box:.86}
  .cur.is-down:not(.is-act){--dot:.6}
}

/* ---- 13 MOTION ---- */
.rise{opacity:0;transform:translateY(34px);transition:opacity 800ms var(--ease),transform 900ms var(--ease)}
.in .rise{opacity:1;transform:none}
.in .rise:nth-child(2){transition-delay:90ms}
.in .rise:nth-child(3){transition-delay:180ms}
.in .rise:nth-child(4){transition-delay:270ms}
.in .rise:nth-child(5){transition-delay:360ms}
#reels .rel__stage{opacity:0;transform:scale(.92);transition:opacity 900ms var(--ease),transform 1100ms var(--ease)}
#reels .rel.in .rel__stage{opacity:1;transform:none}
.hero__word span{animation:letter 1100ms var(--ease) both;animation-delay:calc(var(--i) * 70ms + 120ms)}
@keyframes letter{from{transform:translateY(38%);opacity:0}}
.hero__fig img{animation:fig 1400ms var(--ease) both}
@keyframes fig{from{transform:translateY(5%) scale(1.03);opacity:0}}
.card{animation:card 700ms var(--ease) both;animation-delay:calc(var(--i,0) * 60ms)}
@keyframes card{from{opacity:0;transform:translateY(26px)}}
main.swap{animation:view 480ms var(--ease) both}
@keyframes view{from{opacity:0;transform:translateY(14px)}}

/* On a phone the light cannot listen to the bass (routing sound through an
   analyser there would cut the music when the screen locks), so the halo
   simply breathes while something is playing. */
@media (hover:none){
}

/* ---- 14 PHONE ----------------------------------------------------------
   Its own layout, not the desktop one squeezed: the cover leads, full and
   centred, the title sits under it, rows are thumb-sized.
   ------------------------------------------------------------------------ */
@media (max-width:860px){
  .rel{grid-template-columns:1fr;gap:26px;padding:92px var(--gut) 120px;align-content:center}
  #reels .rel:nth-of-type(even) .rel__stage{order:0}
  .plate{width:min(74vw,46svh)}
  .plate.is-spinning,.stage .plate.is-spinning{translate:-13% 0}
  .plate.is-spinning .plate__disc,.stage .plate.is-spinning .plate__disc{transform:translateX(28%) translateZ(-1px)}
  .plate__glow{filter:blur(34px) saturate(1.9)}
  .stage{padding-top:78px;touch-action:pan-x pan-y;overscroll-behavior:contain}
  .stage__in{will-change:transform}
  .stage .plate{width:min(66vw,36svh)}
  .concert .stage__title{font-size:clamp(40px,14vw,84px)}
  .concert .stage .plate{width:min(60vw,31svh)}
  .stage__b{width:62px;height:62px}
  .title{font-size:clamp(42px,13vw,72px)}
  .list{max-width:none}
  .row{min-height:54px}
  .acts .btn{flex:1}
  .icons,.icons--inline{flex-basis:100%;margin-top:0;justify-content:space-between;gap:8px}
  .icons--inline .ico{width:auto;height:56px}
  .ico{width:auto;flex:1;height:56px;border-radius:999px}
  .hero__word{top:34%;font-size:41vw}
  .hero__fig{top:auto;bottom:-3svh;height:auto;width:100vw;transform:translate3d(-44%,var(--fy,0px),0)}
  .hero__fig > img{-webkit-mask-image:linear-gradient(to bottom,#000 62%,transparent 95%);mask-image:linear-gradient(to bottom,#000 62%,transparent 95%)}
  .hero__foot{flex-direction:column;align-items:flex-start;gap:6px}
  .hero__next{text-align:left}
  .nav{font-size:11px}
  .pill{padding:0 14px}
  .out{padding-bottom:26svh}
  .arc{padding-top:104px}
  .arc__grid{grid-template-columns:1fr 1fr;gap:26px 14px}
  .card__nm{font-size:17px;margin-top:11px}
  .card__meta{font-size:15px}
  .arc__search{flex-basis:100%;max-width:none}
  .arc__count{flex-basis:100%;margin-left:0}
  .sheet .rel{align-content:start;padding-top:96px}
}

/* A PHONE HELD UPRIGHT — ONE RECORD, ONE SCREEN.
   Every record is exactly one screen tall: cover, title, play, platforms.
   The page then stops on each record by itself, the way a feed does — always
   whole, never half-way — and one flick moves exactly one record. The full
   track list of an album is one tap away, on its own sheet. */
.rel__more{display:none}
@media (max-width:860px) and (orientation:portrait){
  html:has(body[data-view="home"]:not(.sheet-open):not(.stage-open)){scroll-snap-type:y mandatory}
  .hero,.out{scroll-snap-align:start;scroll-snap-stop:always}
  #reels .rel{scroll-snap-align:center;scroll-snap-stop:always;
    height:100svh;min-height:0;padding:74px var(--gut) calc(112px + var(--lift));gap:14px;grid-template-rows:minmax(0,1fr) auto;align-content:stretch}
  #reels .rel__stage{min-height:0;height:100%;container-type:size}
  #reels .plate{width:max(150px,min(74vw,calc(100svh - 400px - var(--lift))))}      /* older phones */
  @supports (width:1cqh){ #reels .plate{width:min(100cqh,76vw)} }
  #reels .list{display:none}
  #reels .kicker{font-size:17px}
  #reels .title{font-size:clamp(32px,10vw,56px)}
  #reels .acts{margin-top:14px;gap:8px}
  #reels .rel__more{display:inline-flex}
  #reels .acts .btn{height:48px;min-height:48px;padding:0 8px}
  .btn--show span{display:none}
  #reels .icons--inline .ico{height:42px}
  .out{min-height:100svh}
  .bar__seek{height:18px}
}
/* Small phones: the hint under the hero stays on one line. */
@media (max-width:420px){
  .hero__next{font-size:10.5px;letter-spacing:.08em;white-space:nowrap}
}
/* A phone held sideways: little height, so the cover and the text sit side by
   side again and the hero is framed like the desktop one. */
@media (orientation:landscape) and (max-height:520px){
  .hero{min-height:0}
  .hero__word{top:52%;font-size:min(34vw,82svh)}
  .hero__fig{top:-4svh;bottom:auto;width:auto;height:150svh;transform:translate3d(-48%,var(--fy,0px),0)}
  .rel{grid-template-columns:minmax(0,.7fr) minmax(0,1fr);gap:30px;padding:78px var(--gut) 96px;align-items:start}
  .plate{width:min(72svh,100%)}
  .stage{padding-top:60px}
  .stage__in{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8vw;max-width:none}
  .stage .plate{width:min(58svh,30vw)}
  .stage__txt{text-align:left}
  .stage__ctl{justify-content:flex-start}
  .stage__b{width:46px;height:46px}.stage__b--play{width:60px;height:60px}
  .title{font-size:clamp(34px,6vw,56px)}
  .row{min-height:46px}
}
/* Very large screens: the lists grow with everything else. */
@media (min-width:1700px){
  .list{max-width:620px}
  .row{font-size:20px;min-height:58px}
  .row__st,.btn{font-size:13px}
  .btn{min-height:56px;padding:0 28px}
  .icons--inline .ico{width:56px;height:56px}
}

/* ---- 15 REDUCED MOTION ---- */
@media (prefers-reduced-motion:reduce){
  :root{--swap:1ms}
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition-duration:1ms!important}
  .rise,#reels .rel__stage{opacity:1;transform:none}
}
