:root {
  --bg: #2c2c2c;
  --bg-2: #3c3c3c;
  --line: #565656;
  --hair: rgba(255,255,255,.045);
  --side-bg: #272727;
  --fg: #f6f6f6;
  --mute: #c8c8c8;
  --dim: #bfbfbf;
  --mono: 'Century Gothic', CenturyGothic, 'Didact Gothic', AppleGothic, sans-serif;
  --sans: 'Century Gothic', CenturyGothic, 'Didact Gothic', AppleGothic, sans-serif;
  --brand: 'Century Gothic', CenturyGothic, 'Didact Gothic', AppleGothic, sans-serif;
  --side: 270px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { background: var(--bg); color: var(--fg); font: 300 15px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
.ic { width: 18px; height: 18px; flex: none; }
.lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .25em; color: var(--dim); margin-bottom: 12px; text-transform: uppercase; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--fg); color: var(--bg); padding: 8px 14px; font-family: var(--mono); font-size: 12px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* brand: logo + wordmark on one line */
.brand { display: inline-flex; align-items: baseline; gap: .32em; }
/* Century Gothic has no light weight: a hairline outline in the background colour thins the strokes */
.brand span { -webkit-text-stroke: .025em var(--brand-cut, var(--bg)); }
.hero .brand { --brand-cut: #0a0a0a; }
aside .brand { --brand-cut: var(--side-bg); }
.brand img { height: 1.3em; width: auto; display: block; position: relative; top: .05em; }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; --hero-img: url(../img/hero-02-1200.jpg); --hero-pos: 11% center; }
/* photo + vignette + bottom fade, all inside one layer so the filter treats them together */
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to bottom, transparent 50%, #000 96%), radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,.3) 100%), var(--hero-img); background-size: 100% 100%, 100% 100%, cover; background-position: center, center, var(--hero-pos); background-repeat: no-repeat; filter: grayscale(1) contrast(1.12) brightness(.92); transform: scale(1.04); }
/* lift the photo's blacks to the page grey so the banner and the page share the same base tone */
/* weaker over the photo (55%), full strength at the bottom so the banner still ends exactly in the page grey */
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 55%, transparent) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 45%, var(--bg) 96%); mix-blend-mode: screen; pointer-events: none; }
@media (min-width: 1100px) { .hero { --hero-img: url(../img/hero-02.jpg); } }
@media (max-width: 700px) { .hero { --hero-pos: 19% center; align-items: end; } .hero .hero-in { padding-bottom: calc(6svh + 80px); } }
.hero h1, .hero .sub, .hero .lbl, .scroll { text-shadow: 0 1px 14px rgba(0,0,0,.95), 0 0 2px rgba(0,0,0,.8); }
.hero-in { position: relative; z-index: 1; padding: 100px 24px 80px; }
.hero h1 { font-family: var(--brand); font-weight: 400; font-size: clamp(30px, 5.5vw, 64px); line-height: 1; letter-spacing: .042em; }
.hero h1 span { margin-right: -.042em; }
.hero .sub { margin-top: 22px; font-family: var(--mono); color: var(--mute); letter-spacing: .2em; font-size: 12px; }
.hero .lbl { margin: 56px 0 16px; letter-spacing: .3em; }
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: 14px; font-weight: 400; background: rgba(44,44,44,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s, color .2s, border-color .2s; }
.pill:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pill .ic { width: 20px; height: 20px; }
.scroll { position: absolute; bottom: 28px; left: 50%; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; transform: translateX(-50%); font-family: var(--mono); font-size: 10px; letter-spacing: .3em; color: var(--dim); }
.scroll::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--mute), transparent); animation: drip 2.4s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* layout + sidebar */
.layout { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); }
aside { position: sticky; top: 0; height: 100vh; align-self: start; padding: 36px 32px; display: flex; flex-direction: column; gap: 36px; background: var(--side-bg); z-index: 5; }
aside .brand { font-family: var(--brand); font-size: 24px; letter-spacing: .042em; color: var(--fg); font-weight: 400; }
aside nav { display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 13px; color: var(--mute); }
aside nav a { display: flex; gap: 12px; transition: color .2s; }
aside nav a::before { content: attr(data-n); color: var(--dim); }
aside nav a:hover, aside nav a.on, aside nav a.on::before { color: var(--fg); }
.stream a { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hair); font-size: 14px; color: #e8e8e8; transition: color .2s, padding .2s; }
.stream a:last-child { border-bottom: 1px solid var(--hair); }
.stream a:hover { color: #fff; padding-left: 6px; }
.stream a .ic:last-child { margin-left: auto; width: 14px; height: 14px; color: var(--dim); }
aside .menu { display: contents; }
aside nav a.ext { margin-top: 10px; }
aside .menu-btn { display: none; }
aside .soc { order: 9; margin-top: auto; display: flex; gap: 16px; color: var(--mute); font-family: var(--mono); font-size: 12px; }
aside .soc a { display: inline-flex; gap: 6px; align-items: center; }
aside .soc a:hover { color: var(--fg); }

main section { padding: 112px 72px 48px; max-width: 1120px; scroll-margin-top: 0; }
h2 { font-weight: 300; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; letter-spacing: -.01em; margin-bottom: 40px; }
h2 em { font-style: normal; color: var(--mute); }
.head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.head h2 { margin-bottom: 0; }

/* soundcloud */
.sc { position: relative; border: 1px solid var(--line); background: var(--bg-2); margin-top: 20px; }
.sc iframe { display: block; width: 100%; height: 640px; border: 0; filter: invert(.83) hue-rotate(180deg) grayscale(1); }
.sc { overflow: hidden; }
.sc.custom iframe { position: absolute; left: 0; top: 0; width: 100%; height: 166px; opacity: 0; pointer-events: none; z-index: -1; }

/* mini player */
.mini { position: fixed; left: var(--side); right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 16px; padding: 10px 24px calc(10px + env(safe-area-inset-bottom)); background: rgba(39,39,39,.95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--hair); transition: transform .35s ease, opacity .35s; }
.mini[hidden] { display: none; }
.mini.tucked { transform: translateY(110%); opacity: 0; pointer-events: none; }
.mini-bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--line); }
.mini-bar span { display: block; width: 0; height: 100%; background: var(--fg); transition: width .3s linear; }
.mini-art { width: 44px; height: 44px; object-fit: cover; flex: none; background: var(--bg-2); filter: grayscale(1); }
.mini-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; text-align: left; background: none; border: 0; cursor: pointer; padding: 0; }
.mini-info b { font-weight: 400; font-size: 15px; color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-info span { font-size: 11px; letter-spacing: .14em; color: var(--dim); }
.mini-time { font-size: 12px; color: var(--dim); min-width: 40px; text-align: right; }
.mini-ctl { display: flex; align-items: center; gap: 6px; }
.mini-ctl button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); background: none; color: var(--mute); border-radius: 50%; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.mini-ctl button:hover { color: var(--fg); border-color: var(--mute); }
.mini-ctl .main { width: 46px; height: 46px; background: var(--fg); color: var(--bg); border-color: var(--fg); }
.mini-ctl .main:hover { background: #fff; color: var(--bg); }
.mini-ctl .ic { width: 15px; height: 15px; }
.mini-ctl .main .ic { width: 18px; height: 18px; }
.mini-close { background: none; border: 0; color: var(--dim); font-size: 14px; cursor: pointer; padding: 8px; }
.mini-close:hover { color: var(--fg); }
body.has-mini { padding-bottom: 72px; }

/* custom soundcloud player */
.scp-head { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 28px; padding: 24px; border-bottom: 1px solid var(--line); }
.scp-art { width: 168px; height: 168px; object-fit: cover; display: block; background: var(--bg); filter: grayscale(1) contrast(1.05); }
.scp-main { display: flex; flex-direction: column; min-width: 0; }
.scp-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--dim); }
.scp-meta a { color: var(--mute); border-bottom: 1px solid var(--line); }
.scp-meta a:hover { color: var(--fg); border-color: var(--mute); }
.scp-title { font-size: 24px; font-weight: 300; margin: 8px 0 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scp .deck { margin: 18px 0 0; padding: 0; border: 0; background: none; }
.sc-tracks { margin: 0; max-height: 452px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.sc-tracks li:last-child { border-bottom: 0; }
ol.tracks.sc-tracks button { grid-template-columns: 40px 32px minmax(0, 1fr) 64px 52px; padding-left: 16px; padding-right: 20px; }
.sc-tracks .no { padding-left: 4px; }
.sc-tracks img { width: 32px; height: 32px; object-fit: cover; display: block; filter: grayscale(1); background: var(--bg); }
.sc-tracks .ti { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-tracks .pl { font-family: var(--mono); font-size: 11px; color: var(--dim); text-align: left; white-space: nowrap; }
.sc-tracks .d { text-align: right; }
.sc-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-family: var(--mono); font-size: 12px; color: var(--mute); border-top: 1px solid var(--line); }
.sc-foot a { display: inline-flex; gap: 8px; align-items: center; }
.sc-foot a:hover { color: var(--fg); }

/* works table */
.filters { display: flex; gap: 2px; font-family: var(--mono); font-size: 12px; }
.filters button { background: none; border: 1px solid var(--line); color: var(--mute); padding: 6px 14px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font: 400 11px var(--mono); letter-spacing: .2em; color: var(--dim); padding: 0 12px 12px 0; border-bottom: 1px solid var(--hair); }
td { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
tr.r { transition: background .2s; }
tr.r:hover { background: var(--bg-2); }
td.n { font-family: var(--mono); color: var(--dim); font-size: 12px; width: 52px; padding: 22px 12px 18px 4px; }
td.t { font-size: 19px; font-weight: 400; }
td.t small { display: block; font-size: 13px; font-weight: 300; color: var(--dim); margin-top: 2px; }
td.t img.cover { width: 56px; height: 56px; float: left; margin-right: 16px; object-fit: cover; filter: grayscale(1); background: var(--bg-2); }
td.t .tx { overflow: hidden; }
td.t .ref { display: block; margin-top: 5px; font: 400 11px/1.6 var(--mono); color: var(--dim); letter-spacing: .03em; }
td.t .ref b { font-weight: 400; color: var(--mute); letter-spacing: .15em; margin-right: 8px; }
.disco-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
a.more { display: inline-block; margin-top: 0; }

/* discography page */
.page-bar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 32px; background: rgba(44,44,44,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--hair); }
.page-bar .brand { font-family: var(--brand); font-weight: 400; font-size: 24px; letter-spacing: .042em; }
.page-bar nav { display: flex; gap: 24px; font-family: var(--mono); font-size: 12px; color: var(--mute); }
.page-bar nav a:hover { color: var(--fg); }
.page { max-width: 1120px; margin: 0 auto; padding: 80px 48px 0; }
.page-h { font-weight: 300; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.1; letter-spacing: -.01em; }
.page-h em, .page h2 em { font-style: normal; color: var(--mute); }
.page-intro { margin-top: 20px; max-width: 62ch; color: #dfdfdf; font-size: 16px; }
.page-intro a { color: var(--fg); border-bottom: 1px solid var(--line); }
.page section { padding: 64px 0 8px; }
.page section .head { margin-bottom: 20px; }
.page h2 { font-size: clamp(26px, 3vw, 36px); }
.page footer { padding: 72px 0 56px; }
ol.comp { list-style: none; }
ol.comp li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 56px minmax(0, 1.3fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hair); font-size: 14px; }
ol.comp li:first-child { border-top: 1px solid var(--hair); }
ol.comp .c-t { color: var(--fg); font-size: 16px; }
ol.comp .c-b { color: var(--mute); }
ol.comp .c-y { font-family: var(--mono); font-size: 12px; color: var(--dim); padding-top: 2px; }
ol.comp .c-tr { color: #dfdfdf; }

td.t a.onsite { display: inline-block; margin-top: 6px; font: 400 11px var(--mono); letter-spacing: .15em; color: var(--mute); border-bottom: 1px solid var(--line); }
td.t a.onsite:hover { color: var(--fg); border-color: var(--mute); }
td.s { font-family: var(--mono); font-size: 12px; color: var(--mute); padding-top: 22px; }
td.s.calm { color: var(--fg); }
td.label { font-size: 13px; color: var(--mute); padding-top: 21px; }
td.y { font-family: var(--mono); font-size: 12px; color: var(--dim); padding-top: 22px; }
td.l { white-space: nowrap; text-align: right; padding-top: 18px; }
td.l a { display: inline-flex; padding: 4px; color: var(--dim); transition: color .2s; }
tr.r:hover td.l a { color: var(--mute); }
td.l a:hover { color: var(--fg) !important; }

/* pean player */
.pean-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; }
.pean-cover { position: sticky; top: 40px; }
.pean-cover img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05); }
.pean-cover .meta { font-family: var(--mono); font-size: 12px; color: var(--mute); margin-top: 14px; line-height: 1.9; }
.pean-cover .links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pean-cover .links a { display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--mute); transition: color .2s, border-color .2s; }
.pean-cover .links a:hover { color: var(--fg); border-color: var(--mute); }
.pean-cover .links .ic { width: 15px; height: 15px; }
.pean-text { color: #e3e3e3; font-size: 16px; max-width: 60ch; }
.pean-text cite { display: block; margin-top: 10px; font: normal 400 11px var(--mono); letter-spacing: .2em; color: var(--dim); }

.deck { margin: 36px 0 8px; border: 1px solid var(--line); background: var(--bg-2); padding: 18px 20px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 20px; align-items: center; }
.deck .ctl { display: flex; gap: 6px; align-items: center; grid-row: span 2; }
.deck .ctl button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); background: none; color: var(--mute); border-radius: 50%; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.deck .ctl button:hover { color: var(--fg); border-color: var(--mute); }
.deck .ctl .main { width: 52px; height: 52px; background: var(--fg); color: var(--bg); border-color: var(--fg); }
.deck .ctl .main:hover { background: #fff; color: var(--bg); }
.deck .ctl .ic { width: 16px; height: 16px; }
.deck .ctl .main .ic { width: 20px; height: 20px; }
.deck .now { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.deck .now b { font-weight: 400; }
.deck .now span { font-family: var(--mono); font-size: 12px; color: var(--mute); white-space: nowrap; }
.seek { -webkit-appearance: none; appearance: none; width: 100%; height: 18px; background: transparent; cursor: pointer; --p: 0%; }
.seek::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(var(--fg), var(--fg)) 0 / var(--p) 100% no-repeat, var(--line); }
.seek::-moz-range-track { height: 2px; background: var(--line); }
.seek::-moz-range-progress { height: 2px; background: var(--fg); }
.seek::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--fg); margin-top: -5px; border: 0; }
.seek::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--fg); border: 0; }

ol.tracks { list-style: none; margin-top: 8px; }
ol.tracks li { border-bottom: 1px solid var(--hair); }
ol.tracks button { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 8px 13px 4px; background: none; border: 0; text-align: left; cursor: pointer; color: #e5e5e5; font-size: 15px; transition: background .2s, color .2s; }
ol.tracks button:hover { background: var(--bg-2); color: var(--fg); }
ol.tracks .no { font-family: var(--mono); font-size: 12px; color: var(--dim); }
ol.tracks .d { font-family: var(--mono); font-size: 12px; color: var(--dim); }
ol.tracks li.on button { color: var(--fg); }
ol.tracks li.on .no { font-size: 0; }
ol.tracks li.on .no::before { content: ""; display: inline-block; width: 14px; height: 10px; background: linear-gradient(var(--fg), var(--fg)) 0 100% / 2px 40% no-repeat, linear-gradient(var(--fg), var(--fg)) 6px 100% / 2px 100% no-repeat, linear-gradient(var(--fg), var(--fg)) 12px 100% / 2px 65% no-repeat; }
ol.tracks li.on.playing .no::before { animation: eq .9s ease-in-out infinite alternate; }
@keyframes eq { to { background-size: 2px 100%, 2px 35%, 2px 90%; } }

/* bio */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
p.bio { color: #e3e3e3; font-size: 16px; }
p.bio + p.bio { margin-top: 16px; }
.bio-sec figure { margin-top: 32px; }
.bio-sec figure img { width: 100%; height: auto; display: block; filter: grayscale(1) contrast(1.05); opacity: .85; }
ol.fn { list-style: none; counter-reset: f; }
ol.fn li { counter-increment: f; display: grid; grid-template-columns: 36px 1fr; padding: 12px 0; border-top: 1px solid var(--hair); font-size: 14px; color: #dfdfdf; }
ol.fn li::before { content: "[" counter(f) "]"; font-family: var(--mono); font-size: 11px; color: var(--dim); padding-top: 3px; }
.meta-line { margin-top: 28px; font-family: var(--mono); font-size: 12px; color: var(--mute); line-height: 2; }
.meta-line b { font-weight: 400; color: var(--dim); letter-spacing: .2em; margin-right: 10px; }
.bio-sec .meta-line { margin-top: 56px; }
.sub-block { margin-top: 72px; }
.aliases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.aliases h3 { font-family: var(--mono); font-weight: 200; font-size: 26px; letter-spacing: .08em; margin-bottom: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--hair); }
.aliases p { font-size: 14px; color: #dfdfdf; }

/* gallery */
.count { font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: .1em; white-space: nowrap; }
.sheet { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.sheet button { position: relative; min-width: 0; padding: 0; border: 0; background: var(--bg-2); cursor: zoom-in; aspect-ratio: 19 / 9; overflow: hidden; }
.sheet button[hidden] { display: none; }
.sheet img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) brightness(.7) contrast(1.1); transition: filter .4s, transform .6s; }
.sheet button:hover img, .sheet button:focus-visible img { filter: grayscale(1) brightness(1) contrast(1.1); transform: scale(1.04); }
.more { margin-top: 24px; background: none; border: 1px solid var(--line); color: var(--mute); font: 400 12px var(--mono); letter-spacing: .15em; padding: 10px 18px; cursor: pointer; }
.more:hover { color: var(--fg); border-color: var(--mute); }
.more[hidden] { display: none; }

.viewer { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; margin: 0; }
.viewer::backdrop { background: rgba(8,8,8,.96); }
.viewer[open] { display: grid; place-items: center; }
.viewer figure { max-width: min(1400px, 92vw); }
.viewer img { display: block; max-width: 100%; max-height: 80vh; filter: grayscale(1) contrast(1.05); margin: 0 auto; }
.viewer figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; font: 400 12px var(--mono); letter-spacing: .15em; color: var(--mute); flex-wrap: wrap; }
.viewer-ctrl { display: flex; gap: 6px; }
.viewer button { background: none; border: 1px solid var(--line); color: var(--mute); letter-spacing: inherit; padding: 8px 14px; cursor: pointer; }
.viewer button:hover { color: var(--fg); border-color: var(--mute); }

/* played at */
.typeset { font-size: 17px; line-height: 2; color: #e3e3e3; max-width: 70ch; }
.typeset p > span { white-space: nowrap; }
.typeset p + p { margin-top: 10px; }
.typeset .yr { font-family: var(--mono); font-size: 12px; color: var(--fg); border: 1px solid var(--line); padding: 1px 6px; margin-right: 6px; }
.typeset i { font-style: normal; color: var(--dim); }
.typeset .sl { color: var(--dim); margin: 0 8px; }

footer { padding: 40px 72px 56px; font-family: var(--mono); font-size: 12px; color: var(--dim); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a:hover { color: var(--fg); }

@media (max-width: 1100px) {
  main section { padding: 80px 48px; }
  .pean-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 36px; }
}

@media (max-width: 900px) {
  .pill { padding: 12px 18px; font-size: 13px; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  aside { height: auto; flex-direction: row; align-items: center; justify-content: space-between; padding: 10px 16px; gap: 12px; border-right: 0; border-bottom: 1px solid var(--hair); background: rgba(39,39,39,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  aside .brand { font-size: 19px; }
  aside .stream .lbl { display: none; }
  aside .stream { display: none; }
  .stream a { border: 0 !important; padding: 7px; }
  aside .menu-btn { display: inline-flex; margin-left: auto; align-items: center; gap: 8px; padding: 7px 4px 7px 8px; background: none; border: 0; color: var(--fg); font: 400 12px var(--mono); letter-spacing: .12em; cursor: pointer; }
  aside .menu-btn .bars { width: 12px; height: 8px; background: linear-gradient(currentColor, currentColor) 0 0 / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: transform .2s; }
  aside .menu-btn[aria-expanded="true"] .bars { background: linear-gradient(currentColor, currentColor) 0 50% / 100% 1px no-repeat; }
  aside .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 20px; padding: 8px 20px 24px; background: var(--side-bg); border-bottom: 1px solid var(--hair); box-shadow: 0 24px 48px rgba(0,0,0,.6); z-index: 20; max-height: calc(100vh - 60px); overflow-y: auto; }
  aside.open .menu { display: flex; }
  aside .menu nav { display: flex; gap: 0; font-size: 15px; }
  aside .menu nav a { padding: 14px 0; border-bottom: 1px solid var(--hair); gap: 16px; }
  aside .menu nav a.ext { margin-top: 0; }
  aside .menu .soc { margin-top: 0; font-size: 13px; gap: 20px; }
  .stream a span, .stream a .ic:last-child { display: none; }
  .stream a .ic { width: 22px; height: 22px; }
  main section { padding: 64px 20px; scroll-margin-top: 60px; }
  .cols, .pean-grid, .aliases { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sub-block { margin-top: 56px; }
  .pean-cover { position: static; display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: start; }
  .pean-cover .meta { margin-top: 0; }
  .pean-cover .links { grid-column: 1 / -1; margin-top: 0; }
  .sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .viewer figcaption { justify-content: center; }
  .sc iframe { height: 560px; }
  .scp-head { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px; }
  .scp-art { width: 96px; height: 96px; grid-row: span 2; }
  .scp-title { font-size: 18px; margin-bottom: 0; }
  .scp .deck { grid-column: 1 / -1; }
  .scp-main { display: contents; }
  .scp-main > .scp-meta, .scp-main > .scp-title { grid-column: 2; }
  .sc-tracks { max-height: 400px; }
  ol.tracks.sc-tracks button { grid-template-columns: 30px 28px minmax(0, 1fr) 44px; padding-left: 10px; padding-right: 12px; gap: 10px; }
  .sc-tracks .pl { display: none; }
  thead { display: none; }
  td.label, td.y { display: none; }
  tr.r { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; border-bottom: 1px solid var(--hair); }
  tr.r td { border: 0; }
  tr.r td.s { grid-row: 1; grid-column: 3; }
  td.t img.cover { width: 44px; height: 44px; margin-right: 12px; }
  tr.r td.l { grid-column: 2 / -1; padding-top: 0; text-align: left; }
  .deck { padding: 14px; gap: 6px 14px; }
  .mini { left: 0; gap: 10px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .mini-time, #mini-prev { display: none; }
  .mini-art { width: 40px; height: 40px; }
  .mini-info b { font-size: 14px; }
  .mini-ctl .main { width: 42px; height: 42px; }
  .typeset { font-size: 16px; }
  .typeset p > span { white-space: normal; }
  .page-bar { padding: 10px 16px; }
  .page-bar .brand { font-size: 19px; }
  .page-bar nav { gap: 14px; font-size: 11px; }
  .page { padding: 48px 20px 0; }
  ol.comp li { grid-template-columns: minmax(0, 1fr) 48px; gap: 4px 12px; }
  ol.comp .c-b, ol.comp .c-tr { grid-column: 1 / -1; }
  ol.comp .c-y { grid-row: 1; grid-column: 2; text-align: right; }
  footer { padding: 32px 20px 48px; }
}
