/* Fonts: self-hosted, Latin subset (see assets/fonts/README.md) */
@font-face { font-family: 'Inter'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/inter-italic.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/lexend.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/lexend.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/lexend.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Moon Cowboy: purple/mint duotone, dreamy gradient, film grain. */
:root {
  --bg: #1b1033;
  --bg-2: #2a1660;
  --text: #f4f0ff;
  --muted: rgba(244, 240, 255, 0.78);
  --accent: #aa94ff;      /* lavender (Carrd palette) */
  --accent-soft: #d9cfff;
  --accent-strong: #7a3de0;
  --mint: #a4f0c8;        /* highlight colour from the duotone photos */
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.12);
  --radius: 14px;
  --max: 68rem;
  --font-head: "Lexend", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
/* Fixed haze: grain + Carrd's gradient + the photo, behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.875'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='512' height='512' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(27, 16, 51, 0) 0%, rgba(27, 16, 51, 0.85) 70%, var(--bg) 100%),
    radial-gradient(79% 150% at 29% 100%, rgba(135, 92, 161, 0.79) 21%, rgba(66, 95, 199, 0.69) 68%, rgba(0, 148, 255, 0.54) 100%),
    url("../images/bg.webp") center / cover no-repeat;
  background-size: 512px, cover, cover, cover;
}

img, iframe { max-width: 100%; display: block; }
a { color: var(--mint); text-underline-offset: 0.2em; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.6em; }
h1 { font-weight: 300; font-size: clamp(2.6rem, 9vw, 5rem); letter-spacing: 0.04em; text-transform: lowercase; }
h2 { font-weight: 500; font-size: clamp(1.5rem, 4vw, 2.1rem); letter-spacing: 0.02em; }
h3 { font-weight: 500; font-size: 1.05rem; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 0; background: var(--mint); color: var(--bg); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

main > section, main > article, .hero, .site-footer { width: min(var(--max), 100% - 2rem); margin-inline: auto; }
main > section, main > article.private { padding-block: clamp(3rem, 8vw, 5.5rem); }
.eyebrow { font: 500 0.8rem/1.4 var(--font-head); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 0.8rem; }

/* Hero */
.hero { min-height: min(92svh, 52rem); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: 4rem 2rem; }
.portrait { width: 12rem; height: 12rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--card-border), 0 20px 60px rgba(122, 61, 224, 0.45); margin-bottom: 1.5rem; }
.hero h1 { margin-bottom: 0.3em; }
.hero-quote { margin: 0 0 1rem; }
.hero-quote blockquote { margin: 0; font: 300 italic clamp(1.15rem, 3vw, 1.45rem)/1.4 var(--font-head); }
.hero-quote figcaption { color: var(--accent-soft); font-size: 0.9rem; margin-top: 0.25rem; }
.tagline { max-width: 34rem; color: var(--muted); }

/* Link lists */
.links { list-style: none; padding: 0; margin: 0.75rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.button { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.6em 1.1em; border-radius: 999px; background: var(--card); border: 1px solid var(--card-border); color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem; backdrop-filter: blur(6px); transition: background 0.2s, border-color 0.2s; }
.button:hover { background: rgba(170, 148, 255, 0.22); border-color: var(--accent); color: var(--text); }
.button.primary { background: var(--accent-strong); border-color: var(--accent-strong); }
.button.primary:hover { background: #8d55f0; }
.links-social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; color: var(--text); transition: color 0.2s, background 0.2s; }
.links-social a:hover { color: var(--mint); background: var(--card); }
.links-social .icon { width: 1.5rem; height: 1.5rem; }

/* Featured release */
.featured-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 52rem) { .featured-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.featured-cover { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.featured h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
.credits { color: var(--muted); font-size: 0.92rem; }
.bandcamp-player { width: 100%; height: 260px; border: 0; border-radius: var(--radius); background: var(--card); margin-block: 1.25rem; }

/* Discography + videos */
.release-grid, .video-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); }
.video-grid { grid-template-columns: repeat(auto-fill, minmax(min(26rem, 100%), 1fr)); }
.release h3 { margin: 0.9rem 0 0.15rem; }
.release h3 a { color: var(--text); text-decoration: none; }
.release h3 a:hover { color: var(--mint); }
.release .meta { color: var(--accent-soft); font-size: 0.85rem; margin-bottom: 0.4rem; }
.release p:last-child { color: var(--muted); font-size: 0.93rem; }
.release-cover, .video { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--card); }
.release-cover img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform 0.4s, filter 0.4s; }
.video img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.4s, filter 0.4s; }
.play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; opacity: 0; transition: opacity 0.25s; background: rgba(27, 16, 51, 0.35); }
.play .icon { width: 4rem; height: 4rem; }
.video .play { opacity: 0.9; background: transparent; }
.release-cover:hover img, .video:hover img, .release-cover:focus-visible img, .video:focus-visible img { transform: scale(1.04); filter: saturate(1.15); }
.release-cover:hover .play, .release-cover:focus-visible .play { opacity: 1; }
.bandcamp-mini { width: 100%; height: 340px; border: 0; border-radius: var(--radius); background: var(--card); }
.video-frame { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.video-grid p { margin-top: 0.6rem; color: var(--muted); font-size: 0.93rem; }

/* Press */
.quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); }
.quotes figure { margin: 0; height: 100%; padding: 1.5rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-border); }
.quotes blockquote { margin: 0 0 0.75rem; font: 300 1.2rem/1.45 var(--font-head); }
.quotes figcaption { color: var(--accent-soft); font-size: 0.88rem; }
.quotes.fan { margin-top: 1.25rem; }
.quotes.fan figure { background: transparent; }
.quotes.fan blockquote { font: italic 400 1rem/1.5 var(--font-body); color: var(--muted); }

/* Story + contact */
.story p { max-width: 42rem; color: var(--muted); }
.story p:first-of-type { color: var(--text); font-size: 1.15rem; }
.contact { text-align: center; }
.contact p { color: var(--muted); }

/* Private pages */
.private { max-width: 44rem; }
.private h1 { font-size: clamp(2rem, 7vw, 3.2rem); }
.soundcloud-player { width: 100%; height: 400px; border: 0; border-radius: var(--radius); margin-block: 1.5rem 0.5rem; }
.tracks { width: 100%; border-collapse: collapse; margin-block: 1.5rem; }
.tracks th, .tracks td { text-align: left; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--card-border); }
.tracks th { font: 500 0.8rem var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-soft); }
.back { margin-top: 2rem; }

.site-footer { padding-block: 2rem 3rem; text-align: center; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--card-border); }

/* Private press kit (/press/) */
.presskit { max-width: 48rem; }
.presskit h2 { margin-top: 2.5rem; }
.press-contact .buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.press-label { display: flex; gap: 1rem; align-items: center; margin-top: 1rem; }
.press-label img { width: 4.5rem; height: 4.5rem; border-radius: 50%; flex: none; }
.press-label p { margin: 0; color: var(--muted); }
.press-quotes { padding-left: 1.1rem; }
.press-quotes li { margin-bottom: 0.6rem; }
.press-quotes span { color: var(--accent-soft); font-size: 0.9rem; }
.press-release { padding-block: 1.5rem; border-top: 1px solid var(--card-border); }
.press-release-head { display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: 1rem; }
.press-release-head img { width: 7.5rem; height: 7.5rem; border-radius: 10px; object-fit: cover; flex: none; }
.press-release-head h3 { margin-bottom: 0.4rem; }
.press-release .meta { color: var(--accent-soft); font-size: 0.85rem; margin-bottom: 0.25rem; }
.press-release p, .presskit > p { color: var(--muted); }
.press-links { font-size: 0.92rem; }
@media (max-width: 34rem) { .press-release-head { flex-direction: column; } }

/* Release pages (/music/<slug>/) and /music/ */
.breadcrumbs { width: min(var(--max), 100% - 2rem); margin: 1.75rem auto 0; font-size: 1rem; font-weight: 600; color: var(--text); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--accent-soft); font-weight: 400; }
.breadcrumbs a { color: var(--mint); text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 500; }
.release-page { width: min(var(--max), 100% - 2rem); margin-inline: auto; padding-block: 2rem 4rem; }
.release-page h1 { text-transform: none; font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 500; letter-spacing: 0.01em; }
.release-page > section { margin-top: 3rem; }
.release-page .byline { color: var(--muted); margin-top: -0.4rem; }
.tracklist { padding-left: 1.4rem; font-size: 1.05rem; }
.tracklist li { padding: 0.35rem 0; border-bottom: 1px solid var(--card-border); }
.release-nav { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--card-border); }
.release-nav ul { list-style: none; padding: 0; columns: 2 16rem; }
.release-nav li { margin-bottom: 0.5rem; break-inside: avoid; }
.release-nav span { color: var(--muted); font-size: 0.85rem; }
.featured h2 a, .discography h2 a { color: inherit; text-decoration: none; }
.featured h2 a:hover, .discography h2 a:hover { color: var(--mint); }
.discography h1 { text-transform: none; font-weight: 500; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.25rem; margin-bottom: 0.75rem; }
.site-footer nav a { color: var(--accent-soft); text-decoration: none; }
.site-footer nav a:hover { color: var(--mint); }

/* Press release list (/press/) and pages (/press/<slug>/) */
.press-release-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.press-release-list .press-release { padding: 0; border: 0; }
.press-release-card { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-border); color: var(--text); text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.press-release-card:hover, .press-release-card:focus-visible { border-color: var(--accent); background: rgba(170, 148, 255, 0.12); color: var(--text); }
.press-release-card img { width: 6.5rem; height: 6.5rem; border-radius: 10px; object-fit: cover; flex: none; }
.press-release-card > span { display: grid; gap: 0.3rem; }
.press-release-card .meta { color: var(--accent-soft); font-size: 0.8rem; }
.press-release-card strong { font: 500 1.05rem/1.35 var(--font-head); }
.press-release-card .summary { color: var(--muted); font-size: 0.92rem; }
.press-release-card .more { color: var(--mint); font-size: 0.88rem; font-weight: 600; }
.press-release-page h1 { text-transform: none; font-weight: 500; font-size: clamp(1.5rem, 4vw, 2.2rem); }
.press-release-page .press-release-head img { width: 10rem; height: 10rem; }
.press-cta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.press-assets { padding-left: 1.1rem; }
.press-assets li { margin-bottom: 0.4rem; }
@media (max-width: 34rem) { .press-release-card { flex-direction: column; } }

/* Top bar on private press pages */
.press-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-bottom: 1.5rem; font-size: 0.9rem; }
.press-nav a { color: var(--mint); text-decoration: none; font-weight: 600; }
.press-nav a:hover { color: var(--text); text-decoration: underline; }

/* Release buy/stream buttons: Bandcamp on its own line, streaming services below */
.release-buttons p { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 0.6rem; }
.release-buttons .buttons-buy .button { font-size: 1rem; padding: 0.75em 1.4em; }
.release-buttons .buttons-stream .button { font-size: 0.92rem; }
/* /music/: heading sits right under the breadcrumbs, grid right under the heading */
main > section.discography-page { padding-top: 1.5rem; }
