@font-face {
    font-family: 'Carbon Plus';
    src: url('../carbon-plus-font/carbonplus-light-bl.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Carbon Plus';
    src: url('../carbon-plus-font/carbonplus-regular-bl.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Carbon Plus';
    src: url('../carbon-plus-font/carbonplus-bold-bl.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #782901;
    --text: #ffffff;
    --dim: rgba(255,255,255,0.5);
    --faint: rgba(255,255,255,0.1);
    --mono: 'Carbon Plus', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }

::selection {
    background: #fff;
    color: var(--bg);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--mono);
    font-size: 13px;
    line-height: 1.6;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: opacity 0.2s;
}
a:hover { opacity: 0.6; }

#bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.page {
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 40px 0;
}

.hero-wrap {
    align-self: flex-start;
    width: min(45vw, 360px);
}

.hero-logo {
    width: 100%;
    margin-bottom: 16px;
    display: block;
}

.hero-nav {
    display: flex;
    gap: 24px;
    justify-content: flex-start;
    padding: 12px;
    margin: -12px;
}

.hero-nav a {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.hero-nav a:hover {
    opacity: 1;
}

/* --- Sections --- */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 32px;
}

/* --- Player --- */
.now-playing {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 0 20px;
}

.play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--faint);
    background: none;
    cursor: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s;
}

.play-btn:hover { border-color: var(--text); }

.play-btn .icon-play,
.play-btn .icon-pause { color: var(--dim); transition: color 0.2s; }
.play-btn:hover .icon-play,
.play-btn:hover .icon-pause { color: var(--text); }
.play-btn.is-playing .icon-play { display: none; }
.play-btn:not(.is-playing) .icon-pause { display: none; }

.now-playing-info { flex: 1; min-width: 0; }

.now-playing-title {
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.now-playing-time {
    font-size: 11px;
    color: var(--dim);
    margin-top: 2px;
}

.progress-bar {
    width: 100%;
    height: 2px;
    background: var(--faint);
    margin-top: 8px;
    cursor: none;
}

.progress-fill {
    height: 100%;
    background: var(--text);
    width: 0%;
    transition: width 0.15s ease;
}

/* --- Tracklist --- */
.tracklist {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
}

.track-row {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    align-items: center;
    padding: 10px 0;
    cursor: none;
    font-size: 12px;
    color: var(--dim);
    transition: background 0.2s, color 0.15s, border-color 0.2s;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 10px 12px;
    margin: 0 -12px;
}

.track-row:hover { color: var(--text); background: var(--faint); border-color: var(--dim); }
.track-row.is-active { color: var(--text); }

.track-num { font-size: 11px; }
.track-row.is-active .track-num-label { display: none; }
.track-row:not(.is-active) .track-num-icon { display: none; }

.track-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-dur {
    font-size: 11px;
    padding-left: 12px;
}

.tracklist-more {
    display: block;
    padding: 14px 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--dim);
    transition: color 0.2s;
}
.tracklist-more:hover { color: var(--text); opacity: 1; }

/* --- Events --- */
.event {
    padding: 14px 0;
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 16px;
    align-items: baseline;
    text-decoration: none;
    color: var(--text);
}
a.event { transition: background 0.2s, opacity 0.2s, border-color 0.2s; border: 1px solid transparent; border-radius: 4px; padding: 14px 12px; margin: 0 -12px; }
a.event:hover { opacity: 1; background: var(--faint); border-color: var(--dim); }

.event-date {
    font-size: 11px;
    font-weight: 700;
    color: var(--dim);
}

.event-name { font-size: 13px; }

.event-lineup {
    font-size: 11px;
    color: var(--dim);
    font-weight: 300;
    margin-top: 2px;
}

.event-city {
    font-size: 10px;
    color: var(--dim);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* --- About --- */
.about-text {
    color: var(--dim);
    font-size: 13px;
    font-weight: 300;
    max-width: 440px;
    line-height: 1.8;
}

/* --- Footer --- */
.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dim);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* --- Screen reader only --- */
.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;
}

/* --- Mobile --- */
@media (max-width: 600px) {
    .event {
        grid-template-columns: 1fr;
        gap: 2px;
    }
    .event-city { display: none; }
}
