/* styles for the inside pages. base.css has the sitewide stuff */

/* no grey text: what base.css draws in --dim (labels, the nav, the © line) is white here (2026-10-28).
   the nav goes red on hover instead, since it can't go from grey to white any more */
:root { --dim: var(--fg); }
@media (hover: hover) { .exit a:hover { color: var(--sig); } }

/* artist names (the artists list and the top of each artist page): helvetica bold caps like the page
   titles. they were archivo expanded until 2026-10-29, when Gregor went back to helvetica sitewide */
.names a, .cover h1 { font-weight: 700; letter-spacing: -0.03em; text-transform: uppercase; }

body { padding: clamp(30px, 8vh, 90px) clamp(20px, 7vw, 110px) 110px; }
@media (max-width: 620px) { body { padding-top: 62px; padding-bottom: 150px; } }
.wrap { max-width: 1180px; margin: 0 auto; }

h1 { font-size: clamp(40px, 11vw, 150px); line-height: 0.82; letter-spacing: -0.045em;
     font-weight: 700; text-transform: uppercase; overflow-wrap: anywhere; }
h1 em { font-style: normal; color: var(--sig); margin-left: calc(0.045em + 2px); }
/* artist names are long (wolfmanwoof) so they go a size down */
h1.name { font-size: clamp(34px, 8.6vw, 120px); }

.lede { font-size: clamp(19px, 2.4vw, 30px); line-height: 1.45; letter-spacing: -0.01em; text-wrap: pretty;
        max-width: 26ch; margin: clamp(26px, 5vh, 54px) 0 0; }
.byline { margin: clamp(20px, 3.4vh, 34px) 0 0; line-height: 2.1; }

.prose { max-width: 62ch; margin-top: clamp(30px, 6vh, 60px); }
.prose p { font-size: 16px; line-height: 1.7; letter-spacing: 0.005em;
           /* no lonely last word */
           text-wrap: pretty; }
.prose p + p { margin-top: 1.1em; }
.prose a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--faint);
           transition: color 0.2s, border-color 0.2s; }
@media (hover: hover) { .prose a:hover { color: var(--sig); border-color: var(--sig); } }

section { margin-top: clamp(50px, 10vh, 110px); }
section > .label:first-child { display: block; margin-bottom: 16px; }

/* lined rows, name on the left, detail on the right. links get the little arrow */
.rows { list-style: none; max-width: 760px; }
.rows li { border-top: 1px solid var(--rule); }
.rows li:last-child { border-bottom: 1px solid var(--rule); }
.rows .row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
             padding: 15px 0; color: var(--fg); text-decoration: none;
             transition: color 0.2s, padding-left 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.rows .n { font-size: 15px; letter-spacing: -0.005em; }
.rows .u { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.6;
           color: var(--dim); text-align: right; transition: color 0.2s; }
a.row .u::after { content: ""; display: inline-block; width: 0.5em; height: 0.5em;
                  margin-left: 0.7em; vertical-align: 0.22em; background: currentColor;
                  clip-path: polygon(0 0, 100% 0, 100% 100%); }
a.row:focus-visible { color: var(--sig); padding-left: 10px; }
@media (hover: hover) { a.row:hover { color: var(--sig); padding-left: 10px; } }
a.row:focus-visible .u { color: var(--sig); }
@media (hover: hover) { a.row:hover .u { color: var(--sig); } }
@media (max-width: 560px) {
    .rows .row { flex-direction: column; gap: 4px; }
    .rows .u { text-align: left; }
}

/* square tile grid for artists and releases */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px);
         margin-top: clamp(24px, 5vh, 54px); }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .tiles { grid-template-columns: 1fr; } }
.tile { display: block; color: inherit; text-decoration: none; }
.tile .shot { aspect-ratio: 1; overflow: hidden; background: var(--rule); }
.tile img { display: block; width: 100%; height: 100%; object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.tile:focus-visible img { transform: scale(1.02); }
@media (hover: hover) { .tile:hover img { transform: scale(1.02); } }
.tile .cap { display: flex; gap: 12px; align-items: baseline; padding: 10px 1px 0; line-height: 1.5; }
.tile .t { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
           transition: color 0.2s; }
.tile .m { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim);
           margin-left: auto; text-align: right; }
.tile:focus-visible .t { color: var(--sig); }
@media (hover: hover) { .tile:hover .t { color: var(--sig); } }

/* artists page: the names one per line, big and wide. hovering one fills its letters
   with the artist's photo (the 1200px copy in img/artists/sm/, so all eleven load light) */
body.roster { padding-left: clamp(20px, 3.5vw, 56px); padding-right: clamp(20px, 3.5vw, 56px); }
.roster .wrap { max-width: 1760px; }
@media (min-width: 761px) { body.roster { padding-bottom: 28px; } .roster .footcopy { margin-top: 60px; } }
.names { list-style: none; margin: 0; padding: 0; }
.names a { display: inline-block; color: var(--fg); text-decoration: none; transition: color 0.15s;
           font-size: clamp(26px, 5.4vw, 84px); line-height: 1.12; }
.names span { background: linear-gradient(rgba(255,255,255,.16), rgba(255,255,255,.16)), var(--photo) center 30% / cover no-repeat;
              -webkit-background-clip: text; background-clip: text; }
.names a:focus-visible { color: transparent; outline: none; }
@media (hover: hover) { .names a:hover { color: transparent; } }
/* front page, wide screens: the artists' photos on the right, dissolving one into the next every
   5s (js/reel.js), curved corner like the artist covers. hovering a name shows theirs */
.reel { display: none; }
@media (min-width: 1000px) {
    .home .wrap { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: clamp(32px, 4vw, 72px); }
    .reel { display: block; position: sticky; top: clamp(80px, 9vh, 100px); align-self: start;
            justify-self: end; width: 100%; max-width: 760px;
            margin-right: calc(-0.5 * clamp(20px, 3.5vw, 56px)); /* half into the side margin, Gregor */
            height: calc(100svh - clamp(80px, 9vh, 100px) - 28px); min-height: 360px;
            overflow: hidden; background: var(--rule); border-top-left-radius: min(10vw, 180px); }
    .reel a { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
    .reel a.on { opacity: 1; z-index: 1; }
    .reel img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block;
                transform: scale(1.06); transition: transform 7s linear; }
    .reel a.on img { transform: scale(1); }
    .reel img:not([src]) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .reel img, .reel a.on img { transform: none; transition: none; } }
/* "out now" line top left of the front page, set from content/music.js. sits in the bar's
   row on desktop, next to the icons on phones. red dot is the only color */
.news { position: fixed; z-index: 61; top: calc(18px + env(safe-area-inset-top, 0px));
        left: clamp(20px, 3.5vw, 56px); max-width: calc(50vw - 250px - clamp(20px, 3.5vw, 56px));
        display: flex; align-items: center; gap: 10px; white-space: nowrap;
        font-family: var(--sans); font-size: 10px; line-height: 12px; letter-spacing: 0.18em;
        text-transform: uppercase; color: var(--fg); text-decoration: none; transition: color 0.2s; }
.news i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--sig); }
.news span { overflow: hidden; text-overflow: ellipsis; }
.news span::before { content: "\00a0"; }
@media (hover: hover) { .news:hover { color: var(--sig); } }
/* not enough room beside the centered bar links, so just under the bar instead */
@media (min-width: 761px) and (max-width: 1000px) {
    .news { position: absolute; top: calc(62px + env(safe-area-inset-top, 0px)); max-width: none; }
}
@media (max-width: 760px) {
    .news { position: absolute; top: calc(13px + env(safe-area-inset-top, 0px)); height: 28px;
            max-width: calc(100% - 2 * clamp(20px, 3.5vw, 56px) - 112px); }
}
/* phones: the names spread top to bottom to fill the screen */
@media (max-width: 760px) {
    .names { display: flex; flex-direction: column; justify-content: space-between;
             min-height: calc(100svh - 62px - 28px); }
    .names a { font-size: clamp(22px, 7.2vw, 44px); line-height: 1; }
}

/* flex instead of grid so a short last row stays centered. five across, two under 1000px */
.tiles.centered { --gap: clamp(14px, 2vw, 28px); --cols: 5;
                  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.tiles.centered > .tile { width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
/* music page is three across */
.tiles.centered.third { --cols: 3; }
@media (max-width: 1000px) { .tiles.centered, .tiles.centered.third { --cols: 2; } }
/* one per row on phones, extra gap so the name goes with the photo above it */
@media (max-width: 480px)  { .tiles.centered, .tiles.centered.third { --cols: 1; row-gap: 40px; } }

/* artist page cover, the whole first screen: the page photo big on the
   left with a curved top corner, the name bottom right on the black. flip mirrors it. on phones the
   photo then the name */
body.artist { padding-top: 0; overflow-x: clip; }
section.cover { --navh: 49px; display: grid; grid-template-columns: 60% 40%;
         height: calc(100svh - var(--navh)); margin: var(--navh) calc(50% - 50vw) clamp(60px, 10vh, 110px); }
.cover .c1 { overflow: hidden; background: var(--rule); border-top-right-radius: min(16vw, 240px); }
.cover img, .cover .clip, .cover .clip video { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover h1 { align-self: end; justify-self: end; text-align: right; margin: 0;
            padding: 0 clamp(20px, 3vw, 48px) clamp(24px, 5vh, 56px) 20px;
            font-size: clamp(30px, 4vw, 82px); line-height: 0.95; overflow-wrap: normal; white-space: nowrap; }
.cover.flip { grid-template-columns: 40% 60%; }
/* a video cover (LUCI) is landscape, so it gets more of the width */
.cover.wide { grid-template-columns: 70% 30%; }
.cover.wide.flip { grid-template-columns: 30% 70%; }
.cover.flip .c1 { grid-column: 2; grid-row: 1; border-top-right-radius: 0; border-top-left-radius: min(16vw, 240px); }
.cover.flip h1 { grid-column: 1; grid-row: 1; justify-self: start; text-align: left;
                 padding: 0 20px clamp(24px, 5vh, 56px) clamp(20px, 3vw, 48px); }
@media (max-width: 760px) {
    section.cover, section.cover.flip, section.cover.wide { --navh: 0px; height: auto; grid-template-columns: 1fr; }
    .cover .c1, .cover.flip .c1 { grid-column: 1; grid-row: auto; height: 78svh; border-radius: 0 0 38vw 0; }
    .cover h1, .cover.flip h1 { grid-column: 1; grid-row: auto; justify-self: start; text-align: left;
        padding: 26px clamp(20px, 7vw, 110px) 0; font-size: clamp(22px, 7.2vw, 44px); }
}

/* under the cover: the bio and the rest in one centered column */
.artist-top { max-width: 760px; margin: 0 auto; }
.artist-text { container-type: inline-size; }
/* tagline stays on one line, shrinks instead of wrapping */
.artist-text .lede { margin-top: 0; max-width: none; white-space: nowrap; font-size: min(clamp(19px, 2.4vw, 30px), 5.6cqw); }
.artist-text .prose { margin-top: 0; }
.artist-text .lede + .prose { margin-top: clamp(22px, 4vh, 40px); }

/* photos further down, uncropped */
.photos { columns: 2; column-gap: clamp(14px, 2vw, 28px); margin-top: clamp(24px, 5vh, 54px); }
@media (max-width: 620px) { .photos { columns: 1; } }
/* two photo columns centered against each other. the build splits the photos
   between them, phones go back to the original order (--i) */
.photos.cols { --g: clamp(14px, 2vw, 28px); columns: auto; display: flex; align-items: center; gap: var(--g); }
.photos.cols > .col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--g); }
.photos.cols img, .photos.cols .clip, .photos.cols figure { margin-bottom: 0; }
@media (max-width: 620px) {
    .photos.cols { flex-direction: column; align-items: stretch; }
    .photos.cols > .col { display: contents; }
    .photos.cols .col > * { order: var(--i); }
}
/* looping videos with a sound button in the corner */
.clip { position: relative; }
.clip video { display: block; width: 100%; height: auto; background: var(--rule); }
.photos .clip { margin-bottom: clamp(14px, 2vw, 28px); break-inside: avoid; }
.clip .sound { position: absolute; right: 10px; bottom: 10px; width: 28px; height: 28px; padding: 0;
               border-radius: 50%; border: 1px solid rgba(242, 242, 239, 0.25); cursor: pointer;
               background: rgba(10, 10, 10, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
               color: var(--fg); display: grid; place-items: center;
               transition: color 0.2s, border-color 0.2s, background 0.2s; }
.clip .sound svg { width: 14px; height: 14px; fill: currentColor; }
/* bigger tap area than it looks */
.clip .sound::before { content: ''; position: absolute; inset: -8px; }
.clip .sound:focus-visible { color: var(--sig); border-color: var(--sig); }
@media (hover: hover) { .clip .sound:hover { color: var(--sig); border-color: var(--sig); } }
.clip .sound[aria-pressed="true"] { background: rgba(10, 10, 10, 0.75); }

/* video players under the bio, centered */
.more { text-align: center; }
.more .players { margin: 0 auto; text-align: left; }
.more .note { margin-left: auto; margin-right: auto; }

/* four releases, two by two */
.tiles.cube { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }
section:has(> .tiles.cube) > .label { text-align: center; }

/* one photo goes full width */
.photos:has(> img:only-child) { columns: 1; }
.photos img { display: block; width: 100%; height: auto; margin-bottom: clamp(14px, 2vw, 28px);
              break-inside: avoid; background: var(--rule); }
/* photo captions, kept how the artist wrote them */
.photos figure { margin: 0 0 clamp(14px, 2vw, 28px); break-inside: avoid; }
.photos figure img { margin-bottom: 0; }
.photos figcaption { margin-top: 10px; font-size: 12px; letter-spacing: 0.04em; line-height: 1.5; color: var(--dim); }

/* click to load players. nothing from spotify, soundcloud or youtube loads until you click */
.players { display: grid; gap: clamp(14px, 2vw, 22px); max-width: 760px; }
.player { position: relative; width: 100%; border: 1px solid var(--rule); background: #111110;
          color: var(--fg); font: inherit; cursor: pointer; text-align: left; padding: 0;
          display: block; overflow: hidden; }
.player.video { aspect-ratio: 16 / 9; }
.player.audio { min-height: 96px; }
.player img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
              opacity: 0.72; transition: opacity 0.3s; }
.player:focus-visible img { opacity: 0.9; }
@media (hover: hover) { .player:hover img { opacity: 0.9; } }
.player .play { position: absolute; left: 18px; bottom: 16px; display: flex; align-items: center; gap: 12px; }
.player .play i { width: 38px; height: 38px; border-radius: 50%; background: var(--fg); display: grid;
                  place-items: center; transition: background 0.2s; }
.player .play i::after { content: ""; width: 12px; height: 14px; margin-left: 3px; background: var(--bg);
                         clip-path: polygon(0 0, 100% 50%, 0 100%); }
.player:focus-visible .play i { background: var(--sig); }
@media (hover: hover) { .player:hover .play i { background: var(--sig); } }
.player .play b { font-weight: 400; font-size: 14px; text-shadow: 0 1px 12px rgba(0,0,0,0.7); }
.player .play small { display: block; margin-top: 2px; }
.player iframe { display: block; width: 100%; height: 100%; border: 0; }
.player.audio iframe { height: 166px; }
.player.audio.tall iframe { height: 352px; }
.player.loaded { cursor: default; border-color: transparent; background: none; }
.note { max-width: 62ch; margin-top: 18px; line-height: 1.9; }

/* rows where the right side is a sentence */
.rows.plain .u { text-transform: none; letter-spacing: 0; font-size: 14px; line-height: 1.5;
                 max-width: 44ch; }

/* nav bar goes at the top here, copyright at the bottom of the page (.footcopy, from js/menu.js).
   base.css is shared with visuospatials which has the bar at the bottom */
.exit { top: 0; bottom: auto; justify-content: center; text-align: center;
        padding: calc(18px + env(safe-area-inset-top, 0px)) 20px 18px;
        border-top: 0; border-bottom: 1px solid var(--rule); }
.exit::after { display: none; }
.exit .spacer, .exit .copy { display: none; }
@media (min-width: 761px) {
    body { padding-top: clamp(80px, 9vh, 100px); padding-bottom: 50px; }
    /* line up with the bar links */
    .backmark, .homemark, .corner { top: 11px; }
}
.footcopy { display: block; max-width: 1180px; margin: clamp(70px, 13vh, 120px) auto 0;
            font-size: 10px; text-align: center; }

/* phones: no bar, the links drop down from the menu button top right (js/menu.js) */
.menumark { display: none !important; }
@media (max-width: 760px) {
    .menumark { display: grid !important; }
    body { padding-bottom: 70px; }
    .exit { display: none; }
    html.menu-open .exit {
        display: flex;
        position: fixed;
        top: 50px;
        right: max(15px, env(safe-area-inset-right, 0px));
        left: auto;
        bottom: auto;
        z-index: 220;
        flex-direction: column;
        align-items: flex-end;
        text-align: right;
        gap: 18px;
        min-width: 200px;
        padding: 22px 22px 20px;
        border: 1px solid var(--rule);
        font-size: 12px;
        animation: drop 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    }
    html.menu-open .exit::after { display: none; }
    html.menu-open .exit .copy { display: none; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
/* phones with javascript off get no menu button, so the bar sits at the end of the page instead */
@media (max-width: 760px) and (scripting: none) {
    .exit { display: flex; position: static; gap: 14px 22px;
            padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
            border-bottom: 0; border-top: 1px solid var(--rule); }
}

/* soundcloud under the bio */
.listen-here, .elsewhere { margin-top: clamp(30px, 5vh, 50px); }
.listen-here .label:first-child, .elsewhere .label:first-child { display: block; margin-bottom: 14px; }
.listen-here .tracks { margin-bottom: 0; }

/* our own soundcloud track rows. no lines between them (looked too clinical),
   round play button goes white when playing, red progress bar you can click to seek */
.tracks { max-width: 760px; margin-bottom: clamp(14px, 2vw, 22px); }
.track { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto;
         align-items: center; column-gap: 18px; row-gap: 9px; }
.track + .track { margin-top: 26px; }
.track-play { grid-row: 1 / span 2; appearance: none; width: 46px; height: 46px; border-radius: 50%; padding: 0;
              border: 0; background: rgba(242, 242, 239, 0.08); color: var(--fg);
              display: grid; place-items: center; cursor: pointer;
              transition: background 0.2s, color 0.2s; }
.track-play i { width: 11px; height: 13px; margin-left: 3px; background: currentColor;
                clip-path: polygon(0 0, 100% 50%, 0 100%); }
/* pause icon, second bar is a box-shadow */
.track[data-state="playing"] .track-play i { width: 4px; height: 12px; margin-left: 0; clip-path: none;
                                             box-shadow: 6px 0 0 currentColor; transform: translateX(-3px); }
.track[data-state="loading"] .track-play i { opacity: 0.4; }
.track-play:focus-visible { color: var(--sig); }
@media (hover: hover) { .track-play:hover { background: rgba(242, 242, 239, 0.15); } }
.track[data-state="playing"] .track-play { background: var(--fg); color: var(--bg); }
.track-name { grid-column: 2; align-self: end; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.track-title { font-size: 16px; letter-spacing: -0.005em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track[data-state="playing"] .track-title { color: var(--sig); }
.track-time { grid-column: 3; align-self: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* link out to soundcloud under the title */
.track-sub a { color: var(--dim); text-decoration: none; transition: color 0.2s; }
.track-sub a::after { content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin-left: 0.6em;
                      vertical-align: 0.22em; background: currentColor; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.track-sub a:focus-visible { color: var(--sig); }
@media (hover: hover) { .track-sub a:hover { color: var(--sig); } }
.track-bar { grid-column: 2 / -1; align-self: start; height: 12px; position: relative; cursor: pointer; }
.track-bar::before, .track-bar span { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; border-radius: 2px; }
.track-bar::before { background: rgba(242, 242, 239, 0.1); }
.track-bar span { background: var(--sig); transform: scaleX(0); transform-origin: left; transition: transform 0.25s linear; }
.track[data-state="idle"] .track-bar { cursor: default; }
/* the real embed, hidden while it plays. only shows if the browser won't play it hidden */
.track-frame { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.track-frame iframe { display: block; width: 100%; border: 0; }
.track.native .track-frame { position: static; grid-column: 1 / -1; width: 100%; height: auto;
                             overflow: visible; opacity: 1; pointer-events: auto; margin: 4px 0 14px; }
.track.native .track-frame iframe { height: 120px; }
.track.native[data-kind="spotify"] .track-frame iframe { height: 152px; border-radius: 12px; }
.track.native .track-bar { display: none; }

/* titles spread out a little as you scroll down and tighten back up on the way up.
   off for reduced motion and browsers that can't do it */
@supports (animation-timeline: scroll()) {
    @media (prefers-reduced-motion: no-preference) {
        .wrap > h1 {
            animation: title-open linear both;
            animation-timeline: scroll(root block);
            /* finishes before the title scrolls away */
            animation-range: 0 25vh;
        }
    }
}
@keyframes title-open { to { letter-spacing: 0.03em; } }
/* titles that already wrap (contact) stay still or they jump around */
.wrap > h1.still { animation: none; }

/* light mode (css/theme.css): the players and the sound buttons sit on photos and video, so they
   keep their dark colors; the track rows' see-through whites turn to see-through blacks */
:root[data-theme="light"] .player, :root[data-theme="light"] .clip .sound { --fg: #f2f2ef; --bg: #0a0a0a; }
:root[data-theme="light"] .player { background: #111110; }
:root[data-theme="light"] .track-play { background: rgba(10, 10, 10, 0.06); }
@media (hover: hover) { :root[data-theme="light"] .track-play:hover { background: rgba(10, 10, 10, 0.12); } }
:root[data-theme="light"] .track[data-state="playing"] .track-play { background: var(--fg); }
:root[data-theme="light"] .track-bar::before { background: rgba(10, 10, 10, 0.1); }
