/* Variables */
:root {
    --primary-color: #1a1a1a;
    --accent-color: #8b7355;
    --text-color: #111;
    /* stronger contrast for body text */
    --bg-color: #fff;
    --light-bg: #ffffff;
    /* keep panels crisp white */
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);

    /* Spacing system for consistent vertical rhythm */
    --section-spacing-desktop: 60px;
    --section-spacing-mobile: 40px;
    --container-padding-desktop: 20px;
    --container-padding-mobile: 20px;
    --element-gap-desktop: 30px;
    --element-gap-mobile: 20px;
}

/* Manual dark toggle via [data-theme="dark"] */
[data-theme="dark"] {
    --primary-color: #0f1720;
    --accent-color: #c9a66b;
    --text-color: #e6e6e6;
    --bg-color: #0b0b0d;
    --light-bg: #0b0b0d;
    --border-color: rgba(255, 255, 255, 0.06);
    --shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Avenir', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding-desktop);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--container-padding-mobile);
    }
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    width: 38px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: white;
    height: 2px;
    width: 18px;
    border-radius: 2px;
    position: relative;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
    left: 0;
}

.nav-toggle-label span::before {
    top: -6px;
}

.nav-toggle-label span::after {
    top: 6px;
}

.nav-toggle:checked+.nav-toggle-label span {
    transform: rotate(45deg);
}

.nav-toggle:checked+.nav-toggle-label span::before {
    transform: rotate(90deg) translateX(-6px);
}

.nav-toggle:checked+.nav-toggle-label span::after {
    opacity: 0;
}

.nav-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.nav-brand {
    flex-shrink: 0;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 16px;
    row-gap: 6px;
    flex: 0 0 auto;
    justify-content: center;
    min-width: 0;
    flex-wrap: wrap;
}

.nav-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
    font-size: clamp(0.82rem, 0.9vw, 0.92rem);
    padding: 2px 2px;
    flex-shrink: 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 4px;
    font-size: 0.65rem;
    white-space: nowrap;
    justify-content: center;
    align-items: center;
    order: -1;
}

.nav-brand {
    flex-shrink: 0;
}

.lang-current,
.lang-link {
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.25s ease;
}

.lang-current {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.lang-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.05);
}

.lang-link:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}


/* Hero Section */
.home-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/hero.jpg") center/cover no-repeat;
    color: white;
    padding: 150px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    animation: fadeInUp 420ms cubic-bezier(.2, .9, .2, 1);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.hero-content .description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Featured Content */
.featured-content {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.featured-content h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.news-card h3 {
    margin-bottom: 15px;
}

.news-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.news-card h3 a:hover {
    color: var(--accent-color);
}

.news-card p {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.read-more:hover {
    margin-right: -5px;
}

/* Page Content */
.page-content {
    padding: 60px 0;
}

.post {
    max-width: 800px;
    margin: 0 auto;
}

.post h1 {
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.post-date {
    color: #999;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 30px;
}

.post-body {
    line-height: 1.8;
    color: #555;
}

.post-body h2 {
    margin: 30px 0 15px 0;
    color: var(--primary-color);
}

.post-body h3 {
    margin: 20px 0 10px 0;
    color: var(--primary-color);
}

.post-body p {
    margin-bottom: 15px;
}

.post-body ul,
.post-body ol {
    margin: 15px 0 15px 30px;
}

.post-body li {
    margin-bottom: 8px;
}

.post-body a {
    color: var(--accent-color);
    text-decoration: none;
}

.post-body a:hover {
    text-decoration: underline;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Ensemble Pages Elegant Styling */
.ensemble-intro {
    font-family: 'Georgia', 'Merriweather', serif;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #2c3e50;
    max-width: 68ch;
    margin: 0 auto 1.5rem;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--accent-color);
    border-radius: 6px;
    font-style: italic;
}

.post-body h3 {
    font-family: 'Georgia', 'Merriweather', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--accent-color);
    margin: 1.75rem 0 0.6rem;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.post-body hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #d0d0d0 50%, transparent);
    margin: 1.25rem 0;
}

.program-description {
    font-family: 'Avenir', 'Helvetica Neue', sans-serif;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #34495e;
    max-width: 65ch;
    margin: 0 0 1rem;
    padding-left: 1rem;
    border-left: 3px solid #e0e0e0;
    font-style: normal;
}

.ensemble-members {
    background: #fafbfc;
    padding: 0.9rem 1.15rem;
    border-radius: 8px;
    margin: 1rem 0 1.5rem;
    border: 1px solid #e8eaed;
}

.ensemble-members strong {
    font-family: 'Avenir', 'Helvetica Neue', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 0.5rem;
}

.ensemble-members ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ensemble-members li {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 0.35rem;
    padding-left: 0;
}

.ensemble-members li strong {
    display: inline;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .ensemble-intro {
        font-size: 0.92rem;
        padding: 0.75rem 1rem;
        margin-bottom: 1.25rem;
    }

    .post-body h3 {
        font-size: 1.25rem;
        margin: 1.5rem 0 0.5rem;
    }

    .program-description {
        font-size: 0.9rem;
        padding-left: 0.85rem;
    }

    .ensemble-members {
        padding: 0.75rem 1rem;
    }
}


/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer p {
    opacity: 0.8;
}

/* Homepage Sections */
.hero-section {
    width: 100%;
    margin: 0 0 var(--section-spacing-desktop) 0;
    padding: 0;
}

.hero-image {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Bandcamp & Calendar Section */
.bandcamp-section {
    margin-bottom: var(--section-spacing-desktop);
}

.bc-and-calendar {
    display: flex;
    gap: var(--element-gap-desktop);
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
}

.bc-player {
    flex: 0 0 360px;
    margin: 0;
}

.bc-iframe {
    width: 360px;
    height: 420px;
}

.bc-caption {
    margin-top: 8px;
    text-align: center;
    color: #34586b;
    font-weight: 600;
    font-size: 0.92rem;
}

.bc-calendar {
    flex: 1;
    min-width: 0;
}

.calendar-title {
    font-size: 1.2rem;
    margin-bottom: var(--element-gap-mobile);
    color: var(--primary-color);
}

.gc-list-container {
    --gc-item-height: 64px;
    max-height: calc(var(--gc-item-height) * 6);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(11, 74, 122, 0.25) transparent;
}

.gc-list-container::-webkit-scrollbar {
    width: 6px;
}

.gc-list-container::-webkit-scrollbar-thumb {
    background: rgba(11, 74, 122, 0.22);
    border-radius: 3px;
}

.gc-list {
    list-style: none;
}

.gc-item {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 12px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.gc-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    list-style: none;
}

.gc-summary-left {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gc-title-text {
    font-weight: 700;
    color: var(--primary-color);
}

.gc-location {
    color: #666;
    font-size: 0.9rem;
}

.gc-summary-date {
    text-align: right;
    flex-shrink: 0;
}

.gc-date-line1 {
    display: block;
    font-size: 0.85rem;
    color: #666;
}

.gc-date-line2 {
    display: block;
    font-weight: 700;
    color: var(--accent-color);
}

@media (max-width: 880px) {
    .bandcamp-section {
        margin-bottom: var(--section-spacing-mobile);
    }

    .bc-and-calendar {
        flex-direction: column;
        align-items: stretch;
        gap: var(--section-spacing-mobile);
    }

    .bc-player {
        flex: 1;
    }

    .bc-iframe {
        width: 100%;
        height: 380px;
    }
}

/* NEWS Window */
.news-window-section {
    margin-bottom: var(--section-spacing-desktop);
    padding: 0 var(--container-padding-desktop);
}

.news-window {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-window:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.news-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-color);
}

.news-icon {
    font-size: 1.4rem;
    line-height: 1;
    animation: pulse 2s ease-in-out infinite;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.news-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    text-transform: uppercase;
}

.news-content {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 12px;
}

.news-content a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.news-content a:hover {
    border-bottom-color: var(--accent-color);
    color: #6b5840;
}

.news-date {
    text-align: center;
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

@media (max-width: 768px) {
    .news-window-section {
        margin-bottom: var(--section-spacing-mobile);
        padding: 0 var(--container-padding-mobile);
    }

    .news-window {
        padding: 20px 24px;
    }

    .news-title {
        font-size: 1rem;
    }

    .news-content {
        font-size: 0.95rem;
    }
}

/* Page Hero Images */
.page-hero {
    width: 100%;
    margin: 0 0 40px 0;
    padding: 0;
}

/* Recordings / Discs */
.recordings-section {
    padding: 40px 0 60px;
    background: var(--light-bg);
}

.recordings-header {
    text-align: center;
    margin-bottom: 40px;
}

.recordings-title {
    font-size: 2.25rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    letter-spacing: 0.01em;
}

.recordings-subtitle {
    max-width: 720px;
    margin: 0 auto;
    color: #555;
    line-height: 1.6;
}

.discs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.disc-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    height: 100%;
}

.disc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.disc-card__link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.disc-cover {
    background: var(--light-bg);
    aspect-ratio: 1 / 1;
}

.disc-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.disc-meta {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.disc-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.35;
}

.disc-artist {
    font-weight: 600;
    color: var(--accent-color);
}

.disc-role {
    color: #666;
    font-size: 0.95rem;
}

.disc-cta {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    transition: background 0.2s ease, transform 0.2s ease;
}

.disc-card:hover .disc-cta {
    background: var(--accent-color);
    transform: translateX(2px);
}

/* Album links card (shortcode) */
.album-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(22, 28, 37, 0.06);
    padding: 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
    max-width: 820px;
    border: 1px solid rgba(18, 23, 29, 0.04);
}

.album-card__cover {
    width: 110px;
    height: 110px;
    border-radius: 10px;
    overflow: hidden;
    flex: 0 0 110px;
    box-shadow: 0 6px 18px rgba(18, 23, 29, 0.06);
    background: var(--light-bg);
}

.album-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.album-card__meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.album-card__title {
    font-size: 1.1rem;
    margin: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.album-card__year {
    color: #7a7a7a;
    font-size: 0.95rem;
}

.album-links {
    list-style: none;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 6px 0 0 0;
    padding: 0;
}

.album-link-button {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    background: #fff;
    border-radius: 999px;
    padding: 8px 14px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: transform 0.16s cubic-bezier(.2, .8, .2, 1), box-shadow 0.16s ease, background 0.12s ease, color 0.12s ease;
    border: 1px solid rgba(18, 23, 29, 0.06);
}

.album-link-button .icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: inline-block;
    background: rgba(18, 23, 29, 0.04);
    border-radius: 50%;
    padding: 4px;
    box-sizing: content-box;
}

.album-link-button .icon * {
    display: block;
}

.album-link-button:hover .icon * {
    filter: brightness(0) invert(1);
}

.album-link-button .icon svg,
.album-link-button .icon path {
    display: block;
}

.album-link-button .album-link-label {
    font-size: 0.95rem;
}

.album-link-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(18, 23, 29, 0.08);
    background: var(--accent-color);
    color: #fff;
}

.album-link-button:hover .icon path {
    filter: brightness(0) invert(1);
}

@media (max-width: 640px) {
    .album-card {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .album-card__cover {
        width: 88px;
        height: 88px;
    }

    .album-link-button {
        padding: 7px 10px;
    }

    .album-link-button .album-link-label {
        font-size: 0.9rem;
    }
}

.page-hero .hero-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    overflow: hidden;
}

.page-hero img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: top;
}

/* Recordings / Discs */
.recordings-section {
    padding: 40px 0 60px;
    background: var(--light-bg);
}

.recordings-header {
    text-align: center;
    margin-bottom: 40px;
}

.recordings-title {
    font-size: 2.25rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    letter-spacing: 0.01em;
}

.recordings-subtitle {
    max-width: 720px;
    margin: 0 auto;
    color: #555;
    line-height: 1.6;
}

.discs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.disc-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    height: 100%;
}

.disc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.disc-card__link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.disc-cover {
    background: var(--light-bg);
    aspect-ratio: 1 / 1;
}

.disc-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.disc-meta {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.disc-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.35;
}

.disc-artist {
    font-weight: 600;
    color: var(--accent-color);
}

.disc-role {
    color: #666;
    font-size: 0.95rem;
}

.disc-cta {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    transition: background 0.2s ease, transform 0.2s ease;
}

.disc-card:hover .disc-cta {
    background: var(--accent-color);
    transform: translateX(2px);
}

/* Biography */
.bio-section {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.01) 100%);
    padding: 50px 0 40px;
}

.bio-card {
    display: grid;
    grid-template-columns: minmax(260px, 360px) 1fr;
    gap: 32px;
    align-items: start;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
    padding: 26px 28px;
}

.bio-photo img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.bio-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 700;
}

.bio-title {
    font-size: 2.4rem;
    color: var(--primary-color);
    line-height: 1.15;
}

.bio-text {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.75;
}

.bio-text p+p {
    margin-top: 14px;
}

@media (max-width: 900px) {
    .bio-card {
        grid-template-columns: 1fr;
    }
}

/* Concerts */
.concerts-section {
    padding: 30px 0 60px;
}

.concerts-header {
    text-align: center;
    margin-bottom: 20px;
}

.concerts-title {
    font-size: 1.9rem;
    color: var(--primary-color);
}

.concerts-subtitle {
    color: #666;
    max-width: 640px;
    margin: 8px auto 0;
}

.concerts-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 18px;
    overflow-x: auto;
}

.concerts-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

.concerts-table th,
.concerts-table td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.concerts-table thead th {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #777;
    background: var(--light-bg);
}

.concerts-table tbody tr:hover {
    background: #fafafa;
}

.quote-section {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
}

.testimonial p {
    margin-bottom: 20px;
    position: relative;
}

.testimonial p::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    left: -40px;
    top: -20px;
    color: var(--accent-color);
    opacity: 0.3;
}

.testimonial footer {
    font-style: normal;
    font-size: 1rem;
    color: #666;
    margin-top: 20px;
}

.testimonial footer strong {
    color: var(--primary-color);
}

.cta-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: 1.8rem;
    margin: 0;
}

.cta-section h2 a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 2px solid var(--accent-color);
    transition: all 0.3s;
}

.cta-section h2 a:hover {
    color: var(--accent-color);
}

.newsletter-section {
    padding: 60px 20px;
    background-color: var(--light-bg);
    text-align: center;
}

.newsletter-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessible focus styles */
:focus {
    outline: none;
}

:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color) 30%, transparent);
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        /* layout brand and toggle on a single row, allow the menu to wrap below when opened */
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
    }

    .nav-brand {
        padding-left: 4px;
    }

    .nav-toggle-label {
        display: inline-flex;
        margin-left: auto;
    }

    .nav-block {
        display: none;
        width: 100%;
        align-items: flex-start;
    }

    .nav-toggle:checked+.nav-toggle-label+.nav-block {
        display: flex;
    }

    .nav-menu {
        width: 100%;
        justify-content: flex-start;
        flex-direction: column;
        gap: 10px;
        row-gap: 10px;
        padding-left: 4px;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        display: inline-block;
        padding: 6px 0;
    }

    .language-selector {
        width: auto;
        justify-content: center;
        gap: 6px;
    }

    .instruments-grid,
    .media-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }


    @media (max-width: 1100px) {
        .nav-menu {
            gap: 10px;
        }

        .language-selector {
            gap: 2px;
        }
    }

    @media (max-width: 768px) {

        /* restored to row layout for space saving */
        .navbar .container {
            flex-direction: row;
            gap: 10px;
            justify-content: center;
        }

        .nav-toggle-label {
            margin-left: 0;
        }

        .nav-menu {
            flex-direction: column;
            gap: 15px;
            text-align: center;
            width: 100%;
        }

        .hero-content h1 {
            font-size: 2rem;
        }

        .hero-content .subtitle {
            font-size: 1.2rem;
        }

        .hero-buttons {
            flex-direction: column;
            align-items: center;
        }

        .btn {
            width: 100%;
            max-width: 300px;
        }

        .post h1 {
            font-size: 1.8rem;
        }

        .language-selector {
            justify-content: center;
        }

        .biography-hero {
            flex-direction: column;
        }

        .biography-image {
            max-width: 100%;
            flex: 0 0 auto;
        }

        .instruments-grid,
        .media-grid {
            grid-template-columns: 1fr;
        }

        .newsletter-form {
            flex-direction: column;
        }

        .newsletter-form button {
            width: 100%;
        }

        .hero-image {
            height: 40vh;
            min-height: 300px;
        }

        .testimonial {
            font-size: 1.1rem;
            padding: 0 10px;
        }

        .testimonial p::before {
            display: none;
        }
    }

    @media (max-width: 480px) {
        .nav-brand a {
            font-size: 1.2rem;
        }

        .nav-menu {
            gap: 10px;
        }

        .post h1,
        .biography-content h1 {
            font-size: 1.5rem;
        }

        .hero-image {
            height: 30vh;
            min-height: 190px;
        }

        .hero-section {
            margin-bottom: var(--section-spacing-mobile);
        }

        .hero-image img {
            object-position: center top;
        }

        .quote-section,
        .cta-section,
        .newsletter-section {
            padding: 40px 15px;
        }

        .instrument-card img,
        .media-item iframe {
            height: 200px;
        }
    }

    /* Print Styles */
    @media print {

        .navbar,
        .footer,
        .newsletter-section {
            display: none;
        }

        .page-content {
            padding: 0;
        }
    }

    /* Biography Layout */
    .biography-hero {
        display: flex;
        gap: 40px;
        align-items: flex-start;
        margin-bottom: 40px;
    }

    .biography-image {
        flex: 0 0 350px;
        max-width: 350px;
        width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: var(--shadow);
        object-fit: contain;
    }

    .biography-content {
        flex: 1;
    }

    .biography-content h1 {
        margin-bottom: 30px;
        font-size: 2.5rem;
        color: var(--primary-color);
    }

    /* Instruments Grid */
    .instruments-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }

    .instrument-card {
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .instrument-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

    .instrument-card img {
        width: 100%;
        height: 300px;
        object-fit: contain;
        background-color: var(--light-bg);
    }

    .instrument-info {
        padding: 20px;
    }

    .instrument-info h3 {
        margin-bottom: 10px;
        color: var(--primary-color);
    }

    /* Media Gallery */
    .media-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }

    .media-item {
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: var(--shadow);
    }

    .video-wrap {
        position: relative;
        width: 100%;
        padding-top: 56.25%;
        /* 16:9 aspect ratio */
        overflow: hidden;
    }

    .video-wrap iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

    .media-info {
        padding: 20px;
    }

    .media-info h3 {
        margin-bottom: 8px;
        font-size: 1.1rem;
        color: var(--primary-color);
    }

    .media-info p {
        color: #666;
        font-size: 0.9rem;
    }
}

/* Instruments Grid Redesign */
.instruments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.instrument-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.instrument-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.instrument-image {
    width: 100%;
    height: 400px;
    background: #f4f4f4;
    overflow: hidden;
}

.instrument-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instrument-card:hover .instrument-image img {
    transform: scale(1.03);
}

.instrument-info {
    padding: 20px;
}

.instrument-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.25rem;
    color: var(--primary-color, #1a1a1a);
    margin: 0 0 8px 0;
    font-weight: 700;
}

.instrument-builder {
    font-family: 'Avenir', sans-serif;
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Media Grid Redesign */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.media-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.media-video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.media-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.media-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.media-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.15rem;
    color: var(--primary-color, #1a1a1a);
    margin: 0 0 8px 0;
    font-weight: 700;
    line-height: 1.4;
}

.media-artist {
    font-family: 'Avenir', sans-serif;
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 16px 0;
    font-weight: 500;
}

.media-link-small {
    margin-top: auto;
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent-color, #8b7355);
    text-decoration: none;
    font-weight: 600;
}

.media-link-small:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .media-grid {
        grid-template-columns: 1fr;
    }
}

/* Concerts Archive (Scrollable Window) */
.concerts-archive-container {
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 4px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.03);
    font-family: 'Avenir', 'Helvetica Neue', sans-serif;
    font-size: 0.9rem;
}

.concerts-header {
    display: grid;
    grid-template-columns: 100px 140px 1fr 1fr 1fr;
    gap: 15px;
    background: #f4f4f4;
    padding: 12px 15px;
    position: sticky;
    top: 0;
    z-index: 10;
    font-weight: 700;
    border-bottom: 1px solid #ddd;
    color: var(--primary-color);
}

.concerts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.concert-item {
    border-bottom: 1px solid #eee;
}

.concert-item:last-child {
    border-bottom: none;
}

.concert-row {
    display: grid;
    grid-template-columns: 100px 140px 1fr 1fr 1fr;
    gap: 15px;
    padding: 10px 15px;
    align-items: start;
}

.concert-row:hover {
    background-color: #fcfcfc;
}

/* Column styles */
.col-date {
    font-weight: 600;
    color: #555;
}

.col-city {
    color: #333;
}

.col-venue {
    color: #555;
    font-style: italic;
}

.col-program {
    font-weight: 600;
    color: var(--accent-color);
}

.col-ensemble {
    color: #444;
}

/* Responsive Scrollable Table */
@media (max-width: 800px) {
    .concerts-header {
        display: none;
    }

    .concert-row {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 15px;
    }

    .col-date {
        order: 1;
        font-size: 0.85rem;
        color: #888;
        margin-bottom: 2px;
    }

    .col-program {
        order: 2;
        font-size: 1.05rem;
        margin-bottom: 2px;
    }

    .col-city {
        order: 3;
        font-weight: 600;
    }

    .col-venue {
        order: 4;
    }

    .col-ensemble {
        order: 5;
        font-size: 0.9rem;
        margin-top: 4px;
        color: #666;
    }

    .col-city::before {
        content: "📍 ";
    }

    .col-ensemble::before {
        content: "👥 ";
    }
}

/* ============================================
   Elegant Program Page Styles
   ============================================ */

/* Manuscript Hero Image - Compact, integrated style */
.program-hero {
    position: relative;
    float: right;
    max-width: 280px;
    margin: 0 0 1.5rem 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.program-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.program-hero img {
    width: 100%;
    height: auto;
    display: block;
    border: 4px solid #f5f0e8;
    box-sizing: border-box;
}

/* Program Title Styling */
.post-body h2:first-of-type {
    font-family: 'Georgia', 'Merriweather', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin: 2rem 0 0.5rem;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

/* Instrument subtitle */
.post-body h2:first-of-type+p strong {
    display: block;
    text-align: center;
    font-family: 'Avenir', 'Helvetica Neue', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Program Description Text */
.program-description-block {
    font-family: 'Georgia', 'Merriweather', serif;
    font-size: 1.1rem;
    line-height: 1.85;
    color: #3a3a3a;
    max-width: 720px;
    margin: 0 auto 2rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, #fdfcfa 0%, #f9f7f3 100%);
    border-left: 4px solid var(--accent-color);
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.program-description-block strong {
    font-weight: 600;
    color: var(--primary-color);
}

.program-description-block em {
    font-style: italic;
    color: #555;
}

/* Download Section */
.program-download {
    text-align: center;
    margin: 3rem 0 2rem;
    padding: 2rem 0;
}

.program-download h3 {
    font-family: 'Georgia', 'Merriweather', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #9a7d5a 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Avenir', 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.3);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.4);
    background: linear-gradient(135deg, #9a7d5a 0%, var(--accent-color) 100%);
}

.download-btn::before {
    content: '📄';
    font-size: 1.2rem;
}

/* Decorative Divider */
.program-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2.5rem auto;
    max-width: 400px;
}

.program-divider::before,
.program-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #d4c4b0, transparent);
}

.program-divider::before {
    margin-right: 20px;
}

.program-divider::after {
    margin-left: 20px;
}

.program-divider span {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .program-hero {
        float: none;
        max-width: 200px;
        margin: 0 auto 1.5rem;
        border-radius: 8px;
    }

    .program-hero img {
        border-width: 3px;
    }

    .post-body h2:first-of-type {
        font-size: 1.6rem;
        margin: 1.5rem 0 0.5rem;
    }

    .program-description-block {
        font-size: 1rem;
        padding: 1.5rem;
        margin: 0 auto 1.5rem;
        clear: both;
    }

    .download-btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}

/* Clear float after program content */
.program-download {
    clear: both;
}