/*
 * refine.css — Stadtkapelle St. Pölten
 *
 * The design source of truth (see DESIGN_README.md). Load order:
 *   main.0.0.1.css → pages.css → refine.css
 * This file loads last and therefore wins: tokens, colour, surfaces, type,
 * cards, buttons and motion are defined here. pages.css only holds page
 * structure (grids, sizes, reveal states). Templates carry no <style> blocks
 * and no inline style attributes.
 *
 * Sections
 *   1. Tokens          5. Hero banners        9. Gallery & photos
 *   2. Base & type     6. Section headings   10. Timeline & leaders
 *   3. Focus & motion  7. Cards              11. Footer & misc
 *   4. Navbar          8. Buttons & quotes   12. Responsive
 */

/* ------------------------------------------------------------------ */
/* 1. Tokens                                                           */
/* ------------------------------------------------------------------ */

:root {
    /* Brand — a touch deeper than #D11317 so large areas feel less loud */
    --primary: #C21216;
    --primary-deep: #9E0E12;
    --primary-soft: rgba(194, 18, 22, 0.08);
    --primary-line: rgba(194, 18, 22, 0.18);

    /* Gold is an accent, never a surface */
    --accent: #D9A400;
    --accent-soft: rgba(217, 164, 0, 0.14);

    /* Warm neutrals instead of pure grey */
    --ink: #1F1B1A;
    --ink-2: #3D3736;
    --ink-3: #6B6462;
    --ink-4: #9A918E;
    --paper: #FBFAF8;
    --paper-2: #F4F1EC;
    --surface: #FFFFFF;
    --hairline: rgba(31, 27, 26, 0.08);
    --hairline-strong: rgba(31, 27, 26, 0.14);

    /* Status (forms, alerts), muted to sit with the warm neutrals */
    --success: #2E6B47;
    --success-soft: rgba(46, 107, 71, 0.08);
    --success-line: rgba(46, 107, 71, 0.22);

    /* Keep the old variable names alive for main.css rules */
    --secondary: var(--ink-2);
    --dark: var(--ink);
    --light: var(--paper);
    --border-light: var(--hairline);

    /* Layered shadows read as depth, not as a smudge */
    --shadow-sm: 0 1px 2px rgba(31, 27, 26, 0.04), 0 2px 6px rgba(31, 27, 26, 0.04);
    --shadow-md: 0 1px 2px rgba(31, 27, 26, 0.04), 0 6px 18px rgba(31, 27, 26, 0.07);
    --shadow-lg: 0 2px 4px rgba(31, 27, 26, 0.04), 0 16px 40px rgba(31, 27, 26, 0.10);

    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 18px;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 0.18s var(--ease-out);
    --transition-normal: 0.32s var(--ease-out);
    --transition-slow: 0.6s var(--ease-out);

    /* Fluid type scale */
    --fs-display: clamp(2.6rem, 1.6rem + 4.2vw, 4.4rem);
    --fs-h1: clamp(2.2rem, 1.5rem + 2.6vw, 3.2rem);
    --fs-h2: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem);
    --fs-h3: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem);
    --fs-body: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
    --fs-lead: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
    --fs-small: 0.9rem;

    --measure: 66ch;
    --section-gap: clamp(3rem, 2rem + 4vw, 5.5rem);
}

/* ------------------------------------------------------------------ */
/* 2. Base & typography                                                */
/* ------------------------------------------------------------------ */

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 88px;
}

body {
    color: var(--ink-2);
    background-color: var(--paper);
    font-size: var(--fs-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--ink);
    letter-spacing: -0.012em;
    line-height: 1.12;
    text-wrap: balance;
}

h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); }
h4, .h4 { font-size: 1.25rem; letter-spacing: 0; }
h5, .h5 { font-size: 1.1rem; letter-spacing: 0; }

/* Justified condensed text produces rivers — left-aligned reads better */
p {
    text-align: start;
    font-size: inherit;
    line-height: inherit;
    text-wrap: pretty;
    margin-bottom: 1.1em;
}

p.lead, .lead {
    font-size: var(--fs-lead);
    font-weight: 400;
    line-height: 1.5;
    color: var(--ink-2);
}

small, .small, .text-muted {
    color: var(--ink-3) !important;
}

/* Body copy in centred columns keeps a readable measure */
.col-lg-8.text-center p,
.section-intro p,
.coming-soon-container p {
    max-width: var(--measure);
    margin-inline: auto;
}

a {
    color: var(--primary);
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
    color: var(--primary-deep);
    opacity: 1;
}

/* The animated underline stays, but thinner and offset from the baseline */
a:not(.btn):not(.social-link):not(.navbar-brand):not(.nav-link)::after {
    height: 1px;
    bottom: -0.1em;
    opacity: 0.6;
}

strong, b {
    color: var(--ink);
    font-weight: 700;
}

hr {
    border: 0;
    border-top: 1px solid var(--hairline);
    opacity: 1;
    margin: var(--section-gap) 0;
}

/* Main content column */
.container {
    max-width: 1180px;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

/* ------------------------------------------------------------------ */
/* 3. Focus & motion                                                   */
/* ------------------------------------------------------------------ */

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 3px;
}

/* Bootstrap sets outline: 0 on .btn/.nav-link focus; restore the brand ring */
.btn:focus-visible,
.nav-link:focus-visible,
.btn-dashboard:focus-visible,
.btn-manage:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .fade, .fall, .slide-in-left, .slide-in-right, .scale-in,
    .stagger-item, .timeline-item, .leader-card, .instrument-card,
    .info-block, .achievement-item {
        opacity: 1 !important;
        transform: none !important;
    }

    .news-track {
        animation: none !important;
    }

    .hero-content {
        animation: none !important;
    }
}

/* ------------------------------------------------------------------ */
/* 4. Navbar                                                           */
/* ------------------------------------------------------------------ */

.navbar,
nav.navbar.sticky-top,
.navbar.navbar-expand-lg.sticky-top {
    background-color: rgba(251, 250, 248, 0.86) !important;
    -webkit-backdrop-filter: saturate(160%) blur(14px) !important;
    backdrop-filter: saturate(160%) blur(14px) !important;
    box-shadow: none !important;
    border-bottom: 1px solid var(--hairline);
    padding-block: 0.65rem;
    will-change: auto;
}

.navbar-brand img {
    height: 44px;
    width: auto;
    transition: transform var(--transition-normal), filter var(--transition-normal);
}

.navbar-brand:hover img {
    transform: translateY(-1px);
}

.nav-link {
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--ink-2) !important;
    padding-inline: 1rem !important;
    padding-block: 0.6rem;
}

.nav-link:hover {
    color: var(--ink) !important;
}

.nav-link.active {
    color: var(--primary) !important;
}

.nav-link::after {
    height: 2px;
    bottom: 0.15rem;
    border-radius: 2px;
    background-color: var(--primary);
}

.nav-link:hover::after {
    width: 1.1rem;
    background-color: var(--ink-4);
}

.nav-link.active::after {
    width: 1.6rem;
    background-color: var(--primary);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231F1B1A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1.6' d='M5 9h20M5 15h20M5 21h20'/%3e%3c/svg%3e");
}

/* ------------------------------------------------------------------ */
/* 5. Hero banners                                                     */
/* ------------------------------------------------------------------ */

/* The photo stays in its natural colours: no red or gold wash. A single
   neutral gradient darkens only the lower third so the title stays legible.
   The hero always scrolls with the page (background-attachment: scroll) and
   never receives a transform: a transform on an element with a fixed
   background makes the photo jump on the first scrolled pixel. */

.hero-banner,
.concerts-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: #fff;
    text-align: center;
    background-image:
        linear-gradient(180deg, rgba(20, 18, 17, 0.22) 0%, rgba(20, 18, 17, 0) 30%, rgba(20, 18, 17, 0.18) 60%, rgba(20, 18, 17, 0.78) 100%),
        url("../fotos/blasmusik/gruppenfoto.437edad137fe.jpg");
    background-size: cover;
    background-position: center 22%;
    background-repeat: no-repeat;
    background-attachment: scroll;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    overflow: hidden;
}

.hero-banner {
    min-height: min(78vh, 760px);
    padding: clamp(4rem, 10vh, 6rem) 1rem clamp(1.75rem, 4vh, 2.5rem);
}

.concerts-hero {
    min-height: min(52vh, 460px);
    padding: clamp(4rem, 10vh, 6rem) 1rem clamp(1.75rem, 4vh, 2.5rem);
}

.hero-banner .hero-content,
.concerts-hero .container {
    position: relative;
    z-index: 2;
}

.hero-banner .hero-content {
    max-width: 820px;
    padding: 0 1rem;
}

/* Photo heroes only: the soft .hero-section keeps ink headings */
.hero-banner h1,
.concerts-hero h1 {
    color: #fff;
    font-size: var(--fs-display);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.02;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.30);
    margin-bottom: 1rem;
}

/* Small gold rule above the title, the only decorative ornament in the hero */
.hero-banner h1::before,
.concerts-hero h1::before {
    content: "";
    display: block;
    width: 3.5rem;
    height: 3px;
    margin: 0 auto 1.5rem;
    border-radius: 3px;
    background: var(--accent);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.hero-banner .lead,
.concerts-hero .lead {
    color: rgba(255, 255, 255, 0.92);
    font-size: var(--fs-lead);
    font-weight: 400;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
}

/* Breathing room between the concerts hero and the first section */
.concerts-hero + section {
    padding-top: var(--section-gap);
}

/* Soft hero (Aktuelles, Impressum) */
.hero-section {
    background: var(--paper-2);
    border: 1px solid var(--hairline);
    border-radius: var(--border-radius-lg);
    padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
    margin: 1.5rem 0 var(--section-gap);
}

.hero-section h1 {
    margin-bottom: 0.5rem;
}

.hero-section .hero-subtitle {
    color: var(--ink-3);
    font-size: var(--fs-lead);
    margin: 0;
}

/* ------------------------------------------------------------------ */
/* 6. Section rhythm & headings                                        */
/* ------------------------------------------------------------------ */

.section-intro,
.leadership-showcase,
.quick-facts,
.gallery-preview,
.concert-travels,
.achievements-section,
.content-section {
    padding-block: var(--section-gap);
    background: transparent;
}

/* Alternate a warm band so long pages don't read as one flat surface */
.quick-facts,
.concert-travels {
    background: var(--paper-2);
    border-block: 1px solid var(--hairline);
    border-radius: var(--border-radius-lg);
    margin-block: 1rem;
}

/* Section titles: dark ink + short two-tone rule instead of all-red headings */
.section-intro h2,
.leadership-showcase h2,
.quick-facts h2,
.gallery-preview h2,
.concert-travels h2,
.achievements-section h2,
section.container > .text-center > h2,
.content-section > .container > h2,
.section-header h2,
h2.text-center {
    color: var(--ink);
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem !important;
}

.section-intro h2::after,
.leadership-showcase h2::after,
.quick-facts h2::after,
.gallery-preview h2::after,
.concert-travels h2::after,
.achievements-section h2::after,
section.container > .text-center > h2::after,
.content-section > .container > h2::after,
.section-header h2::after,
h2.text-center::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3rem;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary) 0 60%, var(--accent) 60% 100%);
}

/* Centre the rule when the heading is centred */
.text-center h2::after,
h2.text-center::after,
.section-intro h2::after,
.quick-facts h2::after,
.gallery-preview h2::after,
.concert-travels h2::after,
.achievements-section h2::after,
.section-header h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* The leadership heading is left-aligned in its column */
.leadership-showcase h2::after {
    left: 0;
    transform: none;
}

/* ------------------------------------------------------------------ */
/* 7. Cards — one language for all card-like blocks                    */
/* ------------------------------------------------------------------ */

.fact-card,
.concert-card,
.travel-card,
.news-card,
.leader-card,
.timeline-content,
.instrument-card,
.info-block,
.achievement-item,
.news-modal-content,
.impressum-content,
.news-detail,
.auth-container,
.stats-card,
.action-card,
.content-card,
.card,
.manage-panel,
.manage-stat {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition:
        opacity var(--transition-slow),
        transform var(--transition-normal),
        box-shadow var(--transition-normal),
        border-color var(--transition-normal);
}

.fact-card:hover,
.concert-card:hover,
.travel-card:hover,
.news-card:hover,
.leader-card:hover,
.instrument-card:hover,
.info-block:hover,
.achievement-item:hover,
.action-card:hover,
.manage-event-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--hairline-strong);
}

/* Remove the heavy coloured top/left bars; keep a quiet gold tick instead */
.fact-card,
.leader-card {
    border-top: 1px solid var(--hairline);
}

.travel-card::before,
.info-block::before,
.achievement-item::before {
    width: 3px;
    background: var(--accent);
    opacity: 1;
}

.travel-card:hover::before,
.achievement-item:hover::before {
    width: 3px;
}

/* Quick facts */
.fact-card {
    padding: 2rem 1.5rem 1.75rem;
}

.fact-icon {
    font-size: 1.25rem;
    color: var(--primary);
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1.25rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary-soft);
}

.fact-number {
    font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    margin-bottom: 0.5rem;
}

.fact-card h5 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.fact-card p {
    font-size: 1rem;
    color: var(--ink-3);
    text-align: center;
    margin: 0;
}

/* Concert cards */
.concert-card {
    overflow: hidden;
}

.concert-image {
    height: 240px;
}

.concert-content {
    padding: 1.5rem 1.5rem 1.6rem;
}

.concert-title {
    color: var(--ink);
    font-size: 1.45rem;
    margin-bottom: 0.6rem;
}

.concert-details {
    color: var(--ink-2);
    font-size: 1.02rem;
}

.concert-location {
    color: var(--ink-3);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-top: 0.9rem;
    border-top: 1px solid var(--hairline);
}

.concert-location::before {
    content: "\f3c5";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 0.45rem;
}

/* Travel & achievement cards */
.travel-card {
    padding: 2rem 1.75rem;
    border-radius: var(--border-radius-md);
}

.travel-card h4 {
    color: var(--ink);
}

.achievement-item {
    padding: 1.75rem;
}

.achievement-year {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    margin-bottom: 0.85rem;
}

/* News ticker (home) */
.news-section {
    background: var(--paper-2);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    padding-block: 2.25rem;
}

.news-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.news-card {
    border-radius: var(--border-radius-md);
}

.news-card-title,
.news-link {
    color: var(--ink);
}

.news-date,
.news-meta {
    color: var(--ink-4);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.news-card-content,
.news-excerpt {
    color: var(--ink-3);
}

.read-more {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.read-more:hover {
    text-decoration: none;
}

/* Info block (coming soon / impressum) */
.info-block {
    padding: 2rem 2rem 2rem 2.25rem;
}

.info-block h2,
.info-block h3 {
    color: var(--ink);
    border-bottom: 0;
}

.info-block h2::after,
.info-block h3::after {
    width: 2.5rem;
    height: 2px;
    background: var(--accent);
}

/* ------------------------------------------------------------------ */
/* 8. Buttons & quotes                                                 */
/* ------------------------------------------------------------------ */

.btn,
.btn-dashboard,
.btn-manage,
.content-card .btn-secondary {
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    border-width: 1.5px;
    transition:
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.btn .fas,
.btn .fa {
    margin-right: 0.4rem;
    font-size: 0.9em;
}

.btn-primary,
.btn-hero-primary,
.btn-dashboard,
.btn-manage {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 6px 16px rgba(194, 18, 22, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-hero-primary:hover,
.btn-dashboard:hover,
.btn-manage:hover {
    background-color: var(--primary-deep);
    border-color: var(--primary-deep);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(194, 18, 22, 0.28);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(194, 18, 22, 0.2);
}

.btn-outline-primary,
.btn-hero-outline,
.btn-outline-secondary,
.btn-secondary,
.content-card .btn-secondary {
    color: var(--primary);
    border-color: var(--primary-line);
    background: transparent;
}

.btn-outline-primary:hover,
.btn-hero-outline:hover,
.btn-outline-secondary:hover,
.btn-secondary:hover,
.content-card .btn-secondary:hover {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Blockquote: no tinted box, just a hairline and a large gold quote mark */
blockquote,
.leadership-showcase blockquote {
    position: relative;
    background: transparent !important;
    border-left: 2px solid var(--accent) !important;
    border-radius: 0;
    padding: 0.25rem 0 0.25rem 1.5rem !important;
    margin: 1.75rem 0 0;
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--ink-2) !important;
}

blockquote::before {
    content: "\201C";
    position: absolute;
    left: 1.1rem;
    top: -1.4rem;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--accent);
    opacity: 0.9;
    font-family: Georgia, "Times New Roman", serif;
}

blockquote small {
    font-style: normal;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-3) !important;
}

/* ------------------------------------------------------------------ */
/* 9. Gallery & photos                                                 */
/* ------------------------------------------------------------------ */

.leadership-image {
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--hairline);
}

.leadership-showcase h4 {
    color: var(--ink);
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

.leadership-showcase .lead {
    color: var(--ink-3);
    font-size: 1.15rem;
}

.gallery-grid {
    gap: 1.25rem;
}

.gallery-item,
.photo-item {
    border-radius: var(--border-radius-md);
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow-sm);
}

.gallery-item:hover,
.photo-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.gallery-item:hover img,
.photo-item:hover img {
    transform: scale(1.04);
}

/* Caption always legible: a quiet scrim, text rises on hover */
.gallery-overlay,
.photo-caption {
    transform: none;
    padding: 2.5rem 1.1rem 1rem;
    background: linear-gradient(180deg, rgba(31, 27, 26, 0) 0%, rgba(31, 27, 26, 0.72) 100%);
}

.gallery-overlay h5,
.photo-caption h5 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.gallery-overlay p,
.photo-caption p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay p,
.photo-item:hover .photo-caption p {
    max-height: 3rem;
    opacity: 1;
}

.group-photo,
.banner-image,
.instrument-image,
.modal-image,
.news-image img {
    border-radius: var(--border-radius-md);
}

/* ------------------------------------------------------------------ */
/* 10. Timeline & leaders (Geschichte)                                  */
/* ------------------------------------------------------------------ */

.timeline::before {
    width: 2px;
    background: linear-gradient(180deg, var(--hairline-strong), var(--primary-line), var(--hairline-strong));
}

.timeline-marker {
    width: 14px;
    height: 14px;
    top: 26px;
    background: var(--primary);
    border: 3px solid var(--paper);
    box-shadow: 0 0 0 1px var(--primary-line);
}

.timeline-content {
    padding: 1.5rem 1.6rem;
    border-left: 1px solid var(--hairline) !important;
    box-shadow: var(--shadow-sm);
}

.timeline-year {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.timeline-content h3 {
    color: var(--ink);
    font-size: 1.3rem;
}

.leader-card {
    padding: 2rem;
    border-radius: var(--border-radius-lg);
}

.leader-photo,
.member-photo-large {
    border: 3px solid var(--surface);
    box-shadow: 0 0 0 1px var(--hairline-strong), var(--shadow-md);
}

.instrument-card {
    padding: 1.75rem 1.5rem;
}

.instrument-icon {
    color: var(--primary);
}

/* ------------------------------------------------------------------ */
/* 11. Footer & misc                                                    */
/* ------------------------------------------------------------------ */

.footer {
    margin-top: var(--section-gap);
    padding: 2.25rem 0 2.5rem;
    border-top: 1px solid var(--hairline);
    text-align: center;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0 60%, var(--accent) 60% 100%);
    border-radius: 2px;
}

.footer-copyright {
    color: var(--ink-3);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-copyright a {
    color: var(--ink-2);
}

.footer-copyright a:hover {
    color: var(--primary);
    opacity: 1;
}

.back-to-top {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    background: var(--surface);
    color: var(--primary);
    border: 1px solid var(--hairline-strong);
    box-shadow: var(--shadow-md);
}

.back-to-top:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.list-unstyled li::before {
    background-color: var(--accent);
    width: 5px;
    height: 5px;
    top: 0.7em;
}

.subtle-bg {
    background:
        radial-gradient(60% 40% at 100% 0%, rgba(217, 164, 0, 0.05) 0%, rgba(217, 164, 0, 0) 60%),
        radial-gradient(50% 40% at 0% 100%, rgba(194, 18, 22, 0.035) 0%, rgba(194, 18, 22, 0) 60%);
}

.breadcrumb {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.breadcrumb-item a {
    color: var(--ink-3);
}

.breadcrumb-item.active {
    color: var(--ink);
}

/* Modal */
.news-modal {
    background-color: rgba(31, 27, 26, 0.55);
}

.news-modal-content {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.modal-title {
    color: var(--ink);
}

.modal-date {
    color: var(--ink-4);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ------------------------------------------------------------------ */
/* 12. Responsive                                                       */
/* ------------------------------------------------------------------ */

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--surface);
        border: 1px solid var(--hairline);
        box-shadow: var(--shadow-lg);
        border-radius: var(--border-radius-md);
        padding: 0.75rem;
    }

    .nav-link {
        padding: 0.8rem 1rem !important;
    }

    .nav-link.active {
        background: var(--primary-soft);
    }
}

@media (max-width: 767.98px) {
    .hero-banner,
    .concerts-hero {
        border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
    }

    .hero-banner {
        min-height: min(60vh, 560px);
    }

    .quick-facts,
    .concert-travels {
        border-radius: var(--border-radius-md);
    }

    .fact-card {
        padding: 1.6rem 1.25rem 1.4rem;
    }

    .concert-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
        margin: 2.5rem 0;
    }

    .concert-image {
        height: 200px;
    }

    .leader-card,
    .travel-card {
        padding: 1.5rem;
    }

    .timeline-content {
        padding: 1.25rem;
    }

    blockquote::before {
        font-size: 3rem;
        top: -1.2rem;
    }
}

@media (max-width: 479.98px) {
    .navbar-brand img {
        height: 38px;
    }

    .btn {
        width: 100%;
        max-width: 22rem;
    }
}

@media print {
    .hero-banner,
    .concerts-hero {
        min-height: auto;
        padding: 2rem 0;
        background: none !important;
        color: var(--ink);
    }

    .hero-banner h1,
    .concerts-hero h1 {
        color: var(--ink);
        text-shadow: none;
    }
}
