:root{--ink:#0a0a0a;--paper:#f1eee7;--acid:#ff5a36;--acid-text:#b83c10;--cyan:#9ff5ed;--yellow:#f3dc78;--coral:#ff9e88;--surface-muted:#f2efe8;--line:#0a0a0a38;--gutter:clamp(1rem,4vw,4rem);--utility:.875rem;--sans:"Satoshi",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--mono:"Space Mono","SFMono-Regular",Consolas,"Liberation Mono",monospace;--space-2xs:.35rem;--space-xs:.55rem;--space-sm:.75rem;--space-md:1rem;--space-lg:1.5rem;--space-xl:2.25rem;--space-2xl:3rem;--space-3xl:clamp(3.5rem,6vw,5rem);--motion-fast:160ms;--motion-base:200ms}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:400 1rem/1.5 var(--sans);text-rendering:optimizeLegibility}
img,iframe{display:block;max-width:100%}
iframe[data-src]{opacity:.55;background:repeating-linear-gradient(135deg,var(--paper) 0 .6rem,#0a0a0a14 .6rem 1.2rem);transition:opacity var(--motion-fast) ease}
iframe[data-media-loaded="true"]{opacity:1}
a{color:inherit}
.skip-link{position:fixed;z-index:99;top:.5rem;left:.5rem;padding:.7rem 1rem;background:var(--ink);color:var(--paper);transform:translateY(-160%)}
.skip-link:focus{transform:none}

.site-header{min-height:4.5rem;padding:.8rem var(--gutter);border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:.7rem 1rem;align-items:center;font-family:var(--mono)}
.wordmark,.footer-wordmark{font:700 clamp(1.4rem,3vw,2rem)/1 var(--sans);letter-spacing:-.06em;text-decoration:none}
.wordmark{grid-column:1;grid-row:1}
.wordmark span,.footer-wordmark{color:var(--acid)}
.site-nav{grid-column:1/-1;grid-row:2;display:flex;justify-content:center;gap:1rem;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
.site-nav a{font-size:var(--utility);font-weight:700;text-transform:uppercase;text-decoration:none}
.site-nav .support-link{color:var(--acid-text)}
.site-nav .selector-link{padding:.15rem .5rem;background:var(--ink);color:var(--yellow)}
.site-nav a:hover,.site-nav a:focus-visible,.footer-nav a:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.3em}
.site-nav:has(.lang-switch){overflow:visible}
.lang-switch{position:relative;padding-left:1rem;border-left:1px solid var(--line)}
.lang-switch summary{list-style:none;cursor:pointer;font-size:var(--utility);font-weight:700;text-transform:uppercase}
.lang-switch summary::-webkit-details-marker{display:none}
.lang-switch summary::after{content:" ▾"}
.lang-switch[open] summary::after{content:" ▴"}
.lang-switch summary:hover,.lang-switch summary:focus-visible{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.3em}
.lang-switch ul{position:absolute;right:0;top:calc(100% + .5rem);z-index:20;min-width:9rem;margin:0;padding:.35rem 0;list-style:none;background:var(--paper);border:1px solid var(--ink)}
.site-nav .lang-switch a,.site-header>.lang-switch a{display:block;padding:.45rem .8rem;font-size:var(--utility);text-transform:none;text-decoration:none;font-weight:400}
.site-nav .lang-switch a[aria-current="page"],.site-header>.lang-switch a[aria-current="page"]{font-weight:700}
.site-nav .lang-switch a:hover,.site-nav .lang-switch a:focus-visible,.site-header>.lang-switch a:hover,.site-header>.lang-switch a:focus-visible{background:var(--ink);color:var(--paper);text-decoration:none}
/* a centred row that scrolls hides its first links off the left edge, so beside the switcher it starts at the left */
.site-header:has(>.lang-switch){grid-template-columns:1fr auto auto}
.site-header:has(>.lang-switch) .site-nav{grid-column:1/3;justify-content:flex-start}
.site-header>.lang-switch{grid-column:3;grid-row:2;justify-self:end}
.site-header:has(>.lang-switch) .header-socials{grid-column:2/4}
.header-socials{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:flex-end;gap:.35rem}
.header-socials a{width:2.55rem;height:2.55rem;border:1px solid var(--ink);display:grid;place-items:center;text-decoration:none;transition:background-color .2s,color .2s}
.header-socials a:hover,.header-socials a:focus-visible{color:#fff}
.header-socials a:nth-child(1):hover,.header-socials a:nth-child(1):focus-visible{background:#f50;border-color:#f50}
.header-socials a:nth-child(2):hover,.header-socials a:nth-child(2):focus-visible{background:#1da0c3;border-color:#1da0c3}
.header-socials a:nth-child(3):hover,.header-socials a:nth-child(3):focus-visible{background:#1db954;border-color:#1db954}
.header-socials a:nth-child(4):hover,.header-socials a:nth-child(4):focus-visible{background:linear-gradient(135deg,#833ab4,#fd1d1d 55%,#fcb045);border-color:#c13584}
.header-socials svg{width:1.25rem;height:1.25rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.header-socials a:nth-child(2) svg,.header-socials a:nth-child(3) svg{fill:currentColor;stroke:none}
.header-socials .spotify-waves{fill:none;stroke:var(--paper);stroke-width:1.35}
.header-socials a:nth-child(3):hover .spotify-waves,.header-socials a:nth-child(3):focus-visible .spotify-waves{stroke:#1db954}
.header-socials .instagram-dot{fill:currentColor;stroke:none}

/* The homepage opens straight on Bandcamp; the h1 is kept for the one-H1-per-page
   SEO/a11y contract but not shown anywhere (owner, 2026-09-24). */
.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}
.label,figcaption,.footer-nav p,.newsletter label,.newsletter small{font:400 var(--utility)/1.4 var(--mono);letter-spacing:.02em;text-transform:uppercase}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{line-height:.98;letter-spacing:-.055em}
/* Matched to the Selector's own h1 (thecatrave-article.css, .sel-panel-head h1) so any visible heading elsewhere reads at the same scale as the tool page (owner, 2026-09-24). */
h1{margin-bottom:1.5rem;font-size:clamp(2.05rem,9.4vw,4rem);line-height:1;letter-spacing:-.025em}
/* One rule instead of hand-tuning each heading: the browser spreads the words evenly across the lines it needs and stops leaving a single word alone on the last one. `pretty` does the same for body copy. Both are ignored by browsers that do not have them, which costs nothing. */
h1,h2,h3{text-wrap:balance}
p,li{text-wrap:pretty}
.button{min-height:3rem;padding:.8rem 1rem;border:1px solid var(--ink);display:inline-flex;align-items:center;font:700 var(--utility) var(--mono);text-decoration:none;text-transform:uppercase}
.button.primary{background:var(--ink);color:var(--paper)}
.button:not(.primary):hover{background:var(--cyan)}
.about-photo{width:min(100%,32rem);margin:0 auto 2rem}
.about-image-frame{width:100%;max-height:65vh;aspect-ratio:4/3;overflow:hidden}
.about-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 46%;filter:saturate(.9) contrast(1.05)}
.about-photo figcaption{padding-top:.55rem}

/* One thin line on a phone: dot + label, a truncated title and the play link, with the meta hidden until there's room for it (owner, 2026-09-24). */
.now-playing{padding:.55rem var(--gutter);display:flex;align-items:center;gap:.6rem;background:var(--ink);color:var(--paper);font:400 var(--utility) var(--mono);text-transform:uppercase}
.now-playing span{display:flex;align-items:center;gap:.5rem;flex-shrink:0}
.now-playing i{width:.6rem;height:.6rem;border-radius:50%;background:var(--acid);box-shadow:0 0 0 .3rem #ff5a364d;animation:now-playing-pulse 1.2s ease-out infinite;flex-shrink:0}
.now-playing strong{flex:1;min-width:0;overflow:hidden;text-transform:none}
/* Ticker: the title is duplicated and the pair scrolls by exactly half its own
   width, so the second copy lands where the first started and the loop is
   seamless whatever the title's length (owner, 2026-09-24). */
.now-playing-marquee{display:inline-flex;white-space:nowrap;animation:now-playing-marquee 12s linear infinite}
.now-playing-marquee span{padding-right:3rem}
@keyframes now-playing-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.now-playing small{display:none;opacity:.6}
.now-playing a{flex-shrink:0;display:inline-flex;align-items:center;gap:.4rem;text-decoration:none;font-weight:700;color:var(--acid)}
.now-playing-play-icon{width:1.35rem;height:1.35rem;border-radius:50%;background:var(--acid);flex-shrink:0;display:inline-flex;align-items:center;justify-content:center}
.now-playing-play-icon::before{content:'';width:0;height:0;margin-left:.15rem;border-style:solid;border-width:.3rem 0 .3rem .48rem;border-color:transparent transparent transparent var(--ink)}

.home-identity{max-width:1440px;margin:0 auto;padding:1.1rem var(--gutter) 0;font:400 var(--utility) var(--mono)}
.section-shell{content-visibility:auto;contain-intrinsic-size:auto 900px;max-width:1440px;margin:auto;padding:2.5rem var(--gutter);border-bottom:1px solid var(--line)}
.section-heading{margin-bottom:2.25rem}
/* Section heading size matches the shared article/Selector scale (--heading-section in thecatrave-article.css) rather than the home page's own, bigger one (owner, 2026-09-24). */
.section-heading h2,.bandcamp h2{margin-left:-.03em;margin-bottom:1.2rem;font-size:clamp(2rem,3.7vw,2.8rem);line-height:1.04;letter-spacing:-.04em}
.section-heading p{font-size:.95rem}
.player-feature,.mix-grid,.playlist-grid,.article-grid{display:grid;gap:1px;border:1px solid var(--ink);background:var(--ink)}
.production-stack{display:grid;gap:1rem}
.player-feature>div,.player-feature iframe,.mix-card,.article-grid article{background:var(--paper)}
.player-feature>div{padding:1.25rem}
.player-feature h3,.mix-card h3,.article-grid h3{font-size:clamp(1.7rem,4.5vw,2.5rem)}
.player-feature iframe{width:100%;height:300px;border:0}
.mix-grid{gap:.75rem;border:0;background:transparent}
.mix-card{padding:1rem;border:1px solid var(--ink);display:flex;flex-direction:column}
.mix-card.accent{background:var(--cyan)}
.mix-card h3{margin-bottom:.4rem}
.mix-card p{margin-bottom:0}
.mix-card iframe{width:100%;margin-top:auto;padding-top:.85rem;border:0}
.playlist-grid{gap:1rem;border:0;background:transparent}
.playlist-grid iframe{width:100%;height:152px;border:0;border-radius:12px}
.bandcamp{content-visibility:visible;background:var(--ink);color:var(--paper)}
.bandcamp p{font-size:.95rem}
.bandcamp-cta{min-height:4rem;margin-top:2rem;padding:1rem 1.25rem;display:inline-flex;align-items:center;background:var(--acid);color:var(--ink);font:700 var(--utility) var(--mono);text-decoration:none;text-transform:uppercase}
.bandcamp-cta:hover{background:var(--cyan)}

.article-grid article{padding:0}
.article-grid a{width:100%;height:100%;min-height:18rem;display:flex;flex-direction:column;text-decoration:none}
.article-grid a>*:not(img){margin-inline:1rem}
/* Each category has its own colour (owner, 2026-09-23): the card's chip wears it,
   the whole card takes it on hover, and the /articles filter chip fills with it. */
[data-category="music-history"]{--cat:var(--yellow)}
[data-category="festivals"]{--cat:var(--coral)}
[data-category="rave-spots"]{--cat:#c9b8ff}
[data-category="digging"]{--cat:var(--cyan)}
.article-grid a:hover,.article-grid a:focus-visible{background:var(--cat,var(--cyan))}
.article-grid img{width:100%;height:6.25rem;margin-bottom:.85rem;object-fit:cover;border-bottom:1px solid var(--ink);filter:saturate(.85) contrast(1.05)}
.article-grid h3{font-size:clamp(1.35rem,3.5vw,1.8rem)}
.article-grid article[hidden]{display:none}
/* The card's category, drawn as a Selector chip filled with the category colour. */
.article-grid .card-chip{align-self:flex-start;margin-bottom:.7rem;padding:.35rem .6rem;border:1.5px solid var(--ink);background:var(--cat,var(--paper));color:var(--ink);font:700 .75rem/1 var(--mono);letter-spacing:.01em}
.articles-all{margin:1.25rem 0 0;display:flex;justify-content:center}
.article-grid .label{margin-bottom:.55rem}
.article-grid p{max-width:33rem;margin-bottom:.6rem;font-size:.92rem;line-height:1.4}
.article-grid b{margin-top:auto;margin-bottom:1rem;padding-top:.8rem;font:700 var(--utility) var(--mono);text-transform:uppercase}
#articles{padding-block:2rem}
#articles .section-heading{margin-bottom:1.5rem}
#articles .section-heading h2{margin-bottom:.65rem;font-size:clamp(1.7rem,3vw,2.2rem)}
#articles .section-heading p{font-size:.95rem}
.about-grid{display:grid;gap:2rem}
.about-grid>div{max-width:43rem;font-size:.95rem;line-height:1.45}
.about-grid p{margin-bottom:1rem}
.about-grid p:last-child{margin-bottom:0}
.about-highlight{margin-top:.8rem;padding:1rem;border:1px solid var(--ink);background:var(--cyan);font:400 var(--utility)/1.5 var(--mono)}
.no-ai{margin-top:2.5rem;padding:1.25rem;border:1px solid var(--ink);background:var(--cyan);font-family:var(--mono);font-size:clamp(.85rem,1.5vw,1rem)}

.site-footer{padding:2rem var(--gutter) 1.5rem;background:var(--ink);color:var(--paper)}
.footer-top{padding-bottom:3rem}
.footer-wordmark{display:inline-block;font-size:clamp(3.5rem,18vw,11rem)}
.footer-top p{margin:1rem 0 0;font-size:clamp(1.1rem,2vw,1.4rem)}
.footer-nav{padding-block:2rem;border-block:1px solid #f1eee740;display:grid;grid-template-columns:repeat(2,1fr);gap:2rem}
.footer-nav div{display:flex;flex-direction:column;align-items:flex-start;gap:.55rem}
.footer-nav a{font:var(--utility) var(--mono);text-decoration:none}
.footer-nav p{margin-bottom:.4rem;color:var(--acid)}
.footer-bottom{padding-top:1.3rem;display:flex;flex-direction:column;gap:.4rem;font:var(--utility) var(--mono);text-transform:uppercase}
.footer-bottom p{margin:0}

@media(min-width:48rem){.site-header{min-height:5.5rem;grid-template-columns:1fr auto 1fr}
.site-nav{grid-column:2;grid-row:1;gap:1.5rem}
.header-socials{grid-column:3;grid-row:1;justify-self:end}
.site-header:has(>.lang-switch){grid-template-columns:1fr auto auto 1fr}
.site-header:has(>.lang-switch) .site-nav{grid-column:2}
.site-header>.lang-switch{grid-column:3;grid-row:1}
.site-header:has(>.lang-switch) .header-socials{grid-column:4}
/* Side by side at desktop: a small portrait beside the bio instead of one big
   photo stacked on top of dense text, which read as two unrelated blocks
   (owner, 2026-09-24). */
.about-layout{display:grid;grid-template-columns:minmax(14rem,20rem) 1fr;gap:2.5rem;align-items:start}
.about-photo{width:100%;margin:0}
.about-image-frame{max-height:26rem;aspect-ratio:4/5}
.about-photo img{object-position:50% 50%}
.now-playing{display:grid;grid-template-columns:auto 1fr auto auto;gap:2rem;padding:.9rem var(--gutter)}
.now-playing strong{overflow:visible}
.now-playing-marquee{animation:none;white-space:normal}
.now-playing-marquee span:last-child{display:none}
.now-playing small{display:inline}
.section-shell{padding-block:4rem}
.about-grid>div{font-size:clamp(1rem,1.5vw,1.1rem);line-height:1.55}
.player-feature{grid-template-columns:.8fr 1.2fr;align-items:stretch}
.player-feature iframe{height:352px}
.mix-grid,.playlist-grid{grid-template-columns:repeat(2,1fr)}
.playlist-grid iframe{height:420px}
.mix-grid{gap:1rem}
.mix-card{padding:1.25rem}
.mix-card iframe{padding-top:1.5rem}
.article-grid{grid-template-columns:repeat(2,1fr)}
.about-grid{grid-template-columns:1.1fr .9fr}
.bandcamp{display:block;padding-block:2.5rem}
.bandcamp-intro{display:grid;grid-template-columns:1fr auto;gap:1rem 3rem;align-items:end}
.bandcamp-intro h2,.bandcamp-intro p{grid-column:1;margin-bottom:0}
.bandcamp-intro .bandcamp-cta{grid-column:2;grid-row:1/3;margin:0;align-self:end}
.footer-nav{grid-template-columns:repeat(3,1fr)}
.footer-bottom{flex-direction:row;justify-content:space-between}
}
@media(min-width:70rem){.article-grid{grid-template-columns:repeat(4,1fr)}
/* The Articles section holds a growing set of guides. auto-fit keeps them on as few
   rows as fit, equal width, with no fixed-column orphan; a short last row is just
   wider cards, not an L-shaped gap. */
/* Four across, so eight guides read as two rows of four rather than one row of
   eight at 165px each. Driving the count from the card count worked while there
   were seven; it stops working the moment there are ten, and a row that thin is
   unreadable well before that. Beyond eight articles the answer is a separate
   /articles page, not a narrower column. */
#articles .article-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
/* On tablet the odd last card fills the row instead of leaving a half-width gap. */
@media(min-width:48rem) and (max-width:69.99rem){#articles .article-grid article:last-child:nth-child(odd){grid-column:1/-1}
}
@keyframes now-playing-pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.25);opacity:.55}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
.now-playing i{animation:none}
.now-playing-marquee{animation:none;width:100%}
.now-playing-marquee span:last-child{display:none}
.now-playing-marquee span:first-child{display:block;width:100%;overflow:hidden;text-overflow:ellipsis}
iframe[data-src]{transition:none}
}
.selector-promo{margin:clamp(2rem,4vw,3rem) var(--gutter);padding:clamp(1.5rem,4vw,2.75rem);border:2px solid var(--ink);background:var(--acid);color:var(--ink);box-shadow:8px 8px 0 var(--ink);display:grid;gap:1.5rem}
.selector-promo .label{margin:0}
.selector-promo h2{margin:.55rem 0 .7rem;font-size:clamp(1.7rem,4vw,2.6rem);line-height:1.02;letter-spacing:-.03em}
.selector-promo p:not(.label){margin:0;max-width:66ch;font-size:clamp(1rem,1.6vw,1.1rem);line-height:1.5}
.selector-promo .button{margin-top:1.2rem}
.selector-promo-wall{display:flex;flex-wrap:wrap;gap:.4rem}
.selector-promo-wall img{width:28px;height:28px;border:1px solid var(--ink);object-fit:cover}
@media(max-width:600px){.selector-promo{box-shadow:5px 5px 0 var(--ink)}}
