:root {
    --bg: #1a1a2e;
    --text: #c4b5fd;
    --text-muted: #a78bfa;
    --accent: #c4b5fd;
    --accent-hover: #ddd6fe;
    --border: rgba(167, 139, 250, 0.3);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    margin: 0;
}

/* Nav (in normal document flow — not fixed, so no content offset hacks) */
.site-nav {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    position: relative;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-logo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    font-style: italic;
    color: var(--text);
    text-decoration: none;
}

.nav-instagram {
    display: flex;
    align-items: center;
    line-height: 0;
    flex-shrink: 0;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-instagram:hover {
    color: var(--accent-hover);
}

.nav-instagram-svg {
    display: block;
    width: 1.4rem;
    height: 1.4rem;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

@media (max-width: 640px) {
    .nav-inner {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding: 1.25rem 1rem 1.5rem;
    }
    .nav-brand {
        display: none;
    }
    .nav-instagram {
        display: none;
    }
    /* Absolute centering takes links out of flow, so the bar’s height = padding
       only; brand (logo) and Instagram in nav not shown on mobile. Put links in
       flow so .nav-inner sizes correctly. */
    .nav-links {
        position: static;
        left: auto;
        transform: none;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 0.6rem;
        column-gap: 1.25rem;
    }
    .nav-links a[href$="#contact"] {
        display: none;
    }

    .site-footer p a.footer-name-instagram svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}

.nav-links a {
    font-style: italic;
    color: var(--text);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Hero */
.hero {
    padding: 2.5rem 1.5rem 4rem;
    text-align: center;
}

.hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.02em;
    margin: 0;
    color: var(--text);
}

.hero-title-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.hero-instagram {
    display: inline-flex;
    line-height: 0;
    margin-left: 1em;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.hero-instagram:hover {
    color: var(--accent-hover);
}

.hero-instagram-svg {
    display: block;
    width: 0.75em;
    height: 0.75em;
}

@media (min-width: 641px) {
    .hero-title--site {
        display: none;
    }
    .hero {
        padding: 2rem 1.5rem 1.5rem;
    }
    /* Home: title hidden, so the header would be empty—drop the padding */
    .hero:has(.hero-title--site) {
        padding: 0;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 1rem 1.25rem 0;
    }
}

/* Sections */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

#contact.section {
    padding-bottom: 0;
}

@media (max-width: 640px) {
    #videos.section {
        padding-top: 0.5rem;
    }
}

#shows.section {
    margin-top: 2.5rem;
    margin-bottom: 2.75rem;
    padding: 2.85rem 2.25rem 3rem;
    max-width: min(1200px, 100%);
    background: linear-gradient(
        155deg,
        rgba(34, 44, 82, 0.55) 0%,
        rgba(22, 33, 62, 0.42) 45%,
        rgba(26, 26, 46, 0.2) 100%
    );
    border: 1px solid rgba(196, 181, 253, 0.28);
    border-radius: 14px;
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#shows .section-title {
    font-size: clamp(1.9rem, 4.2vw, 2.35rem);
    font-style: italic;
    font-weight: 600;
    margin: 0 0 1.5rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(167, 139, 250, 0.4);
    letter-spacing: 0.03em;
}

@media (max-width: 640px) {
    #shows.section {
        margin-top: 1.75rem;
        margin-bottom: 2rem;
        padding: 2rem 1.35rem 2.35rem;
        border-radius: 0;
    }

    #shows .section-title {
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
    }
}

.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: var(--text);
}

.section-link {
    color: inherit;
    text-decoration: none;
}

.section-link:hover {
    color: var(--accent-hover);
}

/* Video grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.video-grid-more {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.video-grid-more.expanded {
    display: grid;
}

.more-videos-btn {
    display: block;
    margin: 2rem auto 0;
    padding: 0.75rem 2rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text);
    background: transparent;
    border: 2px solid var(--text);
    border-radius: 4px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.more-videos-btn:hover {
    color: var(--bg);
    background: var(--text);
}

.video-card {
    margin: 0;
}

/* All videos use a portrait 9:16 frame; letterboxing when content differs */
.video-wrapper {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: min(100%, 20rem);
    margin-inline: auto;
    aspect-ratio: 9/16;
    background: #16213e;
    border-radius: 4px;
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.video-card h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1rem 0 0.25rem;
    color: var(--text);
}

.video-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* Content blocks */
.content-block {
    max-width: 640px;
}

.show-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.show-item {
    margin: 0;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
}

.show-item:first-child {
    padding-top: 0;
}

.show-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.show-list .show-when {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    line-height: 1.45;
    color: var(--text);
}

.show-time {
    white-space: nowrap;
}

.show-headline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    font-style: italic;
    margin: 0 0 0.5rem;
    color: var(--text);
}

.show-list .show-where {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--text);
}

.show-item--past {
    text-decoration: line-through;
    text-decoration-thickness: 0.05em;
    color: var(--text-muted);
}

.show-item--past .show-time {
    color: var(--text-muted);
}

.content-block p {
    margin: 0 0 1rem;
    color: var(--text);
}

.content-block p:last-child {
    margin-bottom: 0;
}

.prose p {
    font-size: 1.1rem;
    line-height: 1.7;
}

details.lyrics-song {
    max-width: 640px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
    margin-bottom: 0.25rem;
}

details.lyrics-song + details.lyrics-song {
    margin-top: 1.25rem;
    padding-top: 0.75rem;
}

details.lyrics-song:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

summary.lyrics-song-summary {
    list-style: none;
    cursor: pointer;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text);
    padding: 0.2rem 0 0.75rem 0.1rem;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

summary.lyrics-song-summary::-webkit-details-marker {
    display: none;
}

summary.lyrics-song-summary::before {
    content: '▶';
    display: block;
    font-size: 0.45em;
    line-height: 1;
    color: var(--text-muted);
    margin-top: 0.1em;
    transform: translateY(0.05em);
    transition: transform 0.2s ease, color 0.2s;
    flex-shrink: 0;
}

details.lyrics-song[open] > summary.lyrics-song-summary::before {
    transform: translateY(0.05em) rotate(90deg);
}

summary.lyrics-song-summary:hover {
    color: var(--accent-hover);
}

summary.lyrics-song-summary:hover::before {
    color: var(--accent-hover);
}

.lyrics-song .lyrics-song-body {
    padding-top: 0.15rem;
}

.lyrics-song .lyrics-stanza,
.lyrics-song .lyrics-chorus {
    margin: 0 0 1.1rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text);
}

.lyrics-song .lyrics-chorus,
.lyrics-song .lyrics-chorus em {
    font-weight: 700;
}

.lyrics-song .lyrics-stanza--break {
    margin-top: 1.5rem;
}

.lyrics-song .lyrics-label {
    margin: 0.85rem 0 0.45rem;
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--text);
    font-weight: 700;
}

.lyrics-song .lyrics-label--normal {
    font-weight: 400;
    font-style: normal;
}

/* Contact */
.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    margin-bottom: 0;
}

.contact-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.contact-links a:hover {
    color: var(--accent-hover);
}

.contact-links a.contact-link-underlined {
    text-decoration: underline;
}

.contact-instagram {
    margin: 0;
    font-size: 0.9rem;
}

.contact-instagram a {
    color: var(--text-muted);
    text-decoration: none;
}

.contact-instagram a:hover {
    color: var(--accent);
}

/* Footer */
.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    margin-top: 2rem;
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-name-instagram {
    display: inline-flex;
    vertical-align: -0.22em;
    margin-left: 1em;
    line-height: 0;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-name-instagram:hover {
    color: var(--accent-hover);
}

.site-footer p {
    margin: 0;
}

.site-footer p a {
    color: inherit;
    text-decoration: underline;
}

.site-footer p a.footer-name-instagram {
    text-decoration: none;
    color: var(--text);
}

.site-footer p a:hover {
    color: var(--text);
}

.site-footer p a.footer-name-instagram:hover {
    color: var(--accent-hover);
}
