:root {
    --bg: #121314;
    --surface: #1a1b1d;
    --line: rgba(232, 230, 225, 0.1);
    --text: #e8e6e1;
    --muted: #8d8b87;
    --accent: #b9c6d8;
    --max: 1080px;
    --gutter: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

[hidden] { display: none !important; }

/* ---------- Navigation ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(18, 19, 20, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0.9rem var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    text-decoration: none;
}

.brand a { text-decoration: none; transition: color 0.2s; }
.brand a:not([aria-current]) { color: var(--muted); }
.brand a:hover { color: var(--text); }
.brand span { margin: 0 0.5em; color: var(--muted); }

.nav-links {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    list-style: none;
}

.nav-links a {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--muted);
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
    min-height: calc(100svh - 3.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem var(--gutter);
    background: radial-gradient(ellipse at center, #1e2023 0%, var(--bg) 65%);
}

.hero img {
    width: min(380px, 72vw);
    height: auto;
    margin-bottom: 2.5rem;
}

.tagline {
    font-size: 0.8rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--muted);
}

.tagline span { margin: 0 0.6em; opacity: 0.5; }

/* ---------- Sections ---------- */
section {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(4rem, 10vw, 7rem) var(--gutter);
    border-top: 1px solid var(--line);
}

.eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    max-width: 18ch;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.1rem;
    color: #c4c2bd;
    max-width: 60ch;
}

.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 820px) {
    .split { grid-template-columns: 5fr 7fr; gap: 4rem; }
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-top: 3rem;
}

.card {
    background: var(--bg);
    padding: 2rem 1.75rem;
}

.card h3 {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Facebook feed ---------- */
.feed-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.feed {
    width: 100%;
    max-width: 500px; /* Facebook's page plugin caps at 500px */
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    padding: 0.75rem;
}

.feed iframe {
    display: block;
    width: 100%;
    height: 720px;
    border: 0;
    border-radius: 8px;
    background: #fff;
}

.feed-fallback {
    font-size: 0.85rem;
    color: var(--muted);
}

.feed-fallback a { color: var(--accent); text-underline-offset: 3px; }

/* ---------- News posts ---------- */
.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-bottom: 2.5rem;
}

.section-head h2 { margin-bottom: 0; }

.more {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--muted);
    transition: color 0.2s;
}

.more:hover { color: var(--text); }

.posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.post {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.post:hover { border-color: rgba(232, 230, 225, 0.25); transform: translateY(-2px); }

.post-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0d0e0f;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.85);
    transition: filter 0.3s, transform 0.4s;
}

.post:hover .post-image img { filter: saturate(1); transform: scale(1.02); }

.post-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.4rem 1.4rem;
}

.post-date {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.6rem;
}

.post-text {
    font-size: 0.95rem;
    color: #c4c2bd;
    white-space: pre-line;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.post-link {
    margin-top: auto;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact h2 { margin-left: auto; margin-right: auto; }

.button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.9rem 1.8rem;
    border: 1px solid var(--text);
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.button:hover { background: var(--text); color: var(--bg); }

.socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    font-size: 0.85rem;
}

.socials a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.socials a:hover { color: var(--text); }

footer {
    border-top: 1px solid var(--line);
    padding: 2rem var(--gutter);
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--muted);
}

@media (max-width: 560px) {
    .nav-inner { flex-direction: column; gap: 0.5rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
    .nav-links { gap: 0.85rem; }
    .nav-links a { font-size: 0.7rem; letter-spacing: 0.08em; }
    .brand { font-size: 0.72rem; letter-spacing: 0.18em; }
}

/* ---------- Artists ---------- */
.roster {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.artist-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.artist-card:hover { border-color: rgba(232, 230, 225, 0.25); transform: translateY(-2px); }

.artist-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.artist-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem 1.6rem 1.6rem;
}

.artist-card .eyebrow { margin-bottom: 0.6rem; }

.artist-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.artist-card-body > p:not(.eyebrow) {
    color: #c4c2bd;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.artist-card .post-link { margin-top: auto; }

/* ---------- Artist page ---------- */
.artist-hero {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(3rem, 8vw, 6rem) var(--gutter);
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

@media (min-width: 820px) {
    .artist-hero { grid-template-columns: 5fr 6fr; }
}

.artist-hero img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--line);
}

.artist-hero h1 {
    font-size: clamp(2.6rem, 8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1rem;
}

.artist-hero .tagline { margin-bottom: 2rem; }

.link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.link-row a {
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--muted);
    transition: color 0.2s, border-color 0.2s;
}

.link-row a:hover { color: var(--text); border-color: var(--text); }

.lineup {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-top: 2.5rem;
}

.lineup li { background: var(--bg); padding: 1.5rem 1.75rem; }
.lineup strong { display: block; font-weight: 600; margin-bottom: 0.25rem; }
.lineup span { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }

.releases {
    display: grid;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.release {
    display: grid;
    gap: 0.6rem;
}

.release-meta {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.release iframe {
    display: block;
    width: 100%;
    max-width: 700px; /* Bandcamp's player doesn't grow beyond this */
    height: 120px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
}

.back {
    display: inline-block;
    margin-bottom: 0.5rem;
}

@media (min-width: 900px) {
    .releases { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
}

@media (max-width: 560px) {
    /* Two-column lineup: let an odd last member span the full row. */
    .lineup li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Spotify's compact player is 152px high. */
.release iframe.spotify { height: 152px; border: 0; border-radius: 12px; background: transparent; }
