@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/Inter-Variable.ttf') format('truetype');
}

:root {
    --paper: #ebe8e1;
    --paper-light: #fbfaf7;
    --ink: #2e2d28;
    --rust: #0a8292;
    --brown: #2e2d28;
    --hero-teal: #1799ae;
    --teal: #47b6c9;
    --teal-dark: #087987;
    --yellow: #f7ac00;
    --coral: #ff7194;
    /* 1283 px obsahu + 38 px bezpečný okraj na obou stranách. */
    --max-width: 1359px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper-light);
    color: var(--ink);
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.5;
    letter-spacing: -.02em;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.2; }
h1, h2 { text-wrap: balance; overflow-wrap: normal; word-break: normal; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; background: var(--paper-light); padding: 10px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.brand-logo { display: inline-block; color: inherit; line-height: 0; }
.brand-logo svg { display: block; width: 100%; height: auto; fill: currentColor; }
.logo-text-fallback { font-family: 'Inter', Arial, Helvetica, sans-serif; font-weight: 700; }

.hero {
    position: relative;
    width: 100%;
    height: clamp(460px, 33.7vw, 652px);
    overflow: hidden;
}
.hero-copy {
    position: absolute;
    left: clamp(40px, 4.13vw, 80px);
    bottom: clamp(30px, 5vw, 70px);
    z-index: 2;
    width: min(610px, calc(100% - 48px));
    padding: 0;
    color: var(--paper-light);
}
.hero h1 { margin: 0; line-height: 0; }
.hero-logo { width: min(698px, 100%); }
.hero-image-wrap {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 100%;
    background: var(--hero-teal);
}
.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    filter: grayscale(1);
    mix-blend-mode: overlay;
    opacity: .6;
}

.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 61px;
    padding: 0 max(28px, calc((100vw - var(--max-width)) / 2 + 38px));
    display: flex;
    gap: 30px;
    align-items: center;
    background: rgba(30, 29, 26, .97);
    color: var(--paper-light);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: -.01em;
}
.sticky-nav a, .compact-header nav a { text-decoration: none; }
.sticky-nav a { position: relative; padding: 21px 0 19px; }
.sticky-nav a::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 8px;
    left: 0;
    height: 2px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .16s ease;
}
.sticky-nav a:hover::after, .sticky-nav a[aria-current="true"]::after { transform: scaleX(1); }
.sticky-nav a[aria-current="true"] { color: #fff; }
.sticky-nav a:hover { color: #fff; }
.sticky-nav .organizer-nav-link { margin-left: auto; color: #fff; }
.sticky-nav .organizer-nav-link::after { background: var(--yellow); transform: scaleX(1); }
.compact-header nav a:hover { color: var(--rust); }
.compact-header .organizer-nav-link { color: var(--rust); }

.section { max-width: var(--max-width); margin: 0 auto; padding: 100px 38px; }
.section-heading { margin-bottom: 46px; }
.heading-with-link { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; }
.section-link { flex: 0 0 auto; margin-bottom: 7px; }
.section h2, .music-section h2, .news-section h2, .organizer-teaser h2 { margin: 0; font-size: clamp(2.5rem, 3.31vw, 4rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.empty-state { max-width: 520px; font-size: clamp(1.25rem, 1.3vw, 1.5625rem); line-height: 1.2; }
.upcoming-section { min-height: 425px; display: grid; grid-template-columns: minmax(300px, 563px) minmax(0, 631px); gap: 89px; align-items: start; }
.home-intro { max-width: 563px; margin: 3px 0 0; font-size: clamp(1.25rem, 2.02vw, 2.4375rem); line-height: 1.333; }
.upcoming-content .section-link { margin-top: 24px; }
.upcoming-content, .event-card, .event-card-link, .event-card-content { min-width: 0; }

.event-grid { display: grid; gap: 30px; }
.event-card-link { display: block; text-decoration: none; }
.event-card-link:hover h3 { color: var(--rust); }
.event-card-body { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 22px; align-items: start; }
.event-card-content { display: flex; flex-direction: column; }
.event-date strong { display: block; color: var(--rust); font-size: 2.5rem; line-height: .9; }
.event-date span { display: block; margin-top: 6px; font-size: .66rem; font-weight: 700; letter-spacing: .06em; }
.event-place { margin: 0 0 5px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.event-card h3 { margin: 0 0 7px; font-size: 1.55rem; line-height: 1.08; }
.event-card-note { margin-bottom: 0; color: #625e58; font-size: .9rem; }

.music-section {
    min-height: 674px;
    padding: 76px max(38px, calc((100vw - var(--max-width)) / 2 + 38px));
    display: grid;
    grid-template-columns: minmax(260px, 563px) minmax(480px, 621px);
    justify-content: space-between;
    gap: 89px;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--yellow);
    background-image: url('../img/hudba_orange_bkg.jpg');
    background-position: left center;
    background-size: cover;
    color: var(--ink);
}
.music-section > * { position: relative; z-index: 1; }
.music-copy { width: 100%; min-width: 0; max-width: 621px; justify-self: end; font-size: clamp(1.05rem, 1.19vw, 1.4375rem); line-height: 1.22; }
.music-lead { margin-bottom: 10px; font-size: clamp(1.8rem, 2.23vw, 2.6875rem); font-weight: 700; line-height: 1.21; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.video-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.music-video { margin-top: 32px; }
.music-links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 1.25rem; line-height: 1.2; }
.section[id], .music-section[id], .organizer-teaser[id] { scroll-margin-top: 61px; }

.news-section {
    min-height: 390px;
    padding: 58px max(38px, calc((100vw - var(--max-width)) / 2 + 38px));
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(260px, .9fr);
    gap: 72px;
    align-items: center;
    overflow: hidden;
    background: var(--teal);
    color: var(--ink);
}
.news-copy { max-width: 563px; }
.news-copy h2 { margin-bottom: 10px; font-size: clamp(1.8rem, 2.23vw, 2.6875rem); line-height: 1.21; }
.news-copy p { max-width: 470px; margin-bottom: 10px; font-size: clamp(1.05rem, 1.19vw, 1.4375rem); line-height: 1.22; }
.news-image-wrap { position: relative; min-width: 0; min-height: 190px; align-self: stretch; overflow: hidden; }
.news-image-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center right; }

.about-layout { display: grid; grid-template-columns: minmax(0, 805px) minmax(230px, 380px); justify-content: space-between; gap: 80px; }
.about-section { padding-top: 110px; }
.about-copy { align-self: start; }
.about-lead { max-width: 805px; font-size: clamp(1.6rem, 2.02vw, 2.4375rem); line-height: 1.333; }
.member-list { display: grid; align-content: start; }
.member-list span { padding: 5px 0; }
.member-list strong, .member-list small { display: block; }
.member-list strong { font-size: 1.25rem; line-height: 1.2; }
.member-list small { margin-top: 1px; color: #595650; font-size: .88rem; line-height: 1.25; letter-spacing: -.01em; }

.member-photo-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 21px; }
.member-photo-card { margin: 0; aspect-ratio: 1; overflow: hidden; background: var(--paper); }
.member-photo-card img, .member-photo-fallback { display: block; width: 100%; height: 100%; object-fit: cover; }
.member-photo-fallback { background-repeat: no-repeat; background-size: 600% 600%; background-position: var(--member-x) 33%; }

.organizer-teaser {
    position: relative;
    min-height: 495px;
    padding: 98px max(38px, calc((100vw - var(--max-width)) / 2 + 38px));
    display: grid;
    grid-template-columns: minmax(300px, 563px) minmax(0, 631px);
    justify-content: space-between;
    gap: 89px;
    background-color: #151613;
    background-image: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)), var(--contact-image);
    background-position: center;
    background-size: cover;
    color: var(--paper-light);
}
.organizer-teaser > div:last-child { max-width: 585px; font-size: 1.2rem; line-height: 1.35; }
.organizer-teaser > div { min-width: 0; }
.contact-copy { min-width: 0; display: grid; justify-items: start; }
.contact-primary { max-width: 100%; margin-bottom: 7px; color: #fff; font-size: clamp(1.8rem, 2.23vw, 2.6875rem); font-weight: 400; line-height: 1.21; overflow-wrap: anywhere; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.contact-phone { margin-bottom: 26px; font-size: 1rem; text-decoration: none; }
.contact-copy p { margin-bottom: 12px; }
.text-link { display: inline-block; margin-top: 10px; font-size: 1.25rem; line-height: 1.2; font-weight: 400; text-underline-offset: 5px; }
.light-link { color: inherit; }

.site-footer {
    max-width: var(--max-width);
    margin: 0 auto;
    min-height: 136px;
    padding: 32px 38px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    font-size: .88rem;
}
.site-footer > div { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.site-footer a { text-underline-offset: 4px; }
.admin-link { margin-left: 7px; color: #77716a; font-size: .72rem; }
.social-link { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border: 1px solid currentColor; text-decoration: none; font-weight: 700; }
.youtube-link { font-size: .72rem; }

.compact-header { max-width: var(--max-width); margin: 0 auto; padding: 28px 38px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.compact-header .wordmark { color: var(--rust); text-decoration: none; }
.header-logo { width: 180px; }
.footer-logo { width: 205px; }
.compact-header nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: .82rem; font-weight: 700; }

.detail-page, .organizers-page, .simple-message { max-width: var(--max-width); margin: 0 auto; padding: 70px 38px 130px; }
.back-link { display: inline-block; margin-bottom: 70px; font-size: .86rem; }
.event-detail-header { max-width: 900px; margin-bottom: 48px; }
.event-detail-header > p:first-child { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.event-detail h1, .page-intro h1, .simple-message h1 { margin-bottom: 30px; color: var(--rust); font-size: clamp(3rem, 6.5vw, 6.3rem); letter-spacing: -.055em; }
.event-detail h1 { max-width: 820px; font-size: clamp(2.8rem, 5.4vw, 5.2rem); }
.event-detail-place { font-size: 1.45rem; }
.event-detail-note { max-width: 680px; margin: 25px 0 0; padding: 13px 0 13px 18px; border-left: 4px solid var(--teal); font-size: 1.08rem; font-weight: 700; }
.cancelled { color: var(--coral); font-weight: 700; }
.event-detail-cover-wrap { width: min(720px, 100%); margin: 0 auto; padding: 24px; display: grid; place-items: center; background: var(--paper); }
.event-detail-cover { width: auto; max-width: 100%; max-height: 660px; object-fit: contain; }
.event-detail-copy { max-width: 760px; margin: 58px auto 70px; font-size: 1.25rem; }
.event-actions { display: flex; flex-wrap: wrap; gap: 24px; }
.event-video { margin: 90px auto; }
.event-video h2 { margin-bottom: 28px; font-size: clamp(2.2rem, 4vw, 3.8rem); letter-spacing: -.04em; }
.event-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.event-gallery figure { margin: 0; }
.event-gallery img { width: 100%; }
.event-gallery figcaption { margin-top: 8px; font-size: .8rem; }

.page-intro { max-width: 900px; padding: 60px 0 100px; }
.page-intro .eyebrow { margin-bottom: 22px; color: var(--brown); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.page-intro > p:last-child { max-width: 720px; font-size: 1.45rem; }
.organizer-intro { max-width: none; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 70px; align-items: end; }
.organizer-intro-copy > p:last-child { max-width: 720px; margin-bottom: 0; font-size: 1.35rem; }
.organizer-intro-image { height: 310px; margin: 0; overflow: hidden; background: var(--paper); }
.organizer-intro-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.organizer-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 90px 80px; }
.organizer-columns h2 { margin-bottom: 22px; font-size: 2.2rem; }
.organizer-columns > div { max-width: 520px; }
.document-links { display: grid; justify-items: start; }
.placeholder-link { opacity: .58; cursor: default; }
.booking-link { margin-top: 0; }
.organizer-gallery { margin-top: 115px; }

.gallery-section { padding-top: 110px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; }
.gallery-item { margin: 0; }
.gallery-item a { display: block; text-decoration: none; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper); }
.gallery-item figcaption { margin-top: 8px; font-size: .75rem; }
.gallery-item a:hover figcaption { color: var(--rust); }
.gallery-more { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 4px 28px; align-items: baseline; }
.gallery-more p { margin: 0; color: #625e58; }
.gallery-more .text-link { margin-top: 0; }

.concerts-page { max-width: var(--max-width); margin: 0 auto; padding: 70px 38px 130px; }
.concerts-page .page-intro { padding-top: 30px; }
.archive-section + .archive-section { margin-top: 110px; }
.archive-heading { margin-bottom: 34px; }
.archive-heading h2 { margin: 0; font-size: clamp(2.35rem, 4vw, 4rem); letter-spacing: -.045em; }
.concert-list { display: grid; }
.concert-row-link {
    min-height: 118px;
    padding: 18px 0;
    display: grid;
    grid-template-columns: 128px 92px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    border-top: 1px solid #d8d4cd;
    text-decoration: none;
}
.concert-row:last-child .concert-row-link { border-bottom: 1px solid #d8d4cd; }
.concert-row-image, .concert-row-placeholder { width: 128px; height: 82px; object-fit: cover; object-position: center; background: var(--paper); }
.concert-row-date { display: grid; color: var(--rust); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.concert-row-date strong { font-size: 1.3rem; line-height: 1.1; }
.concert-row-place { margin-bottom: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.concert-row-content { display: flex; flex-direction: column; }
.concert-row h3 { margin: 0 0 5px; font-size: 1.35rem; line-height: 1.1; }
.concert-row-note { margin-bottom: 0; color: #625e58; font-size: .84rem; }
.concert-row-arrow { font-size: .8rem; font-weight: 700; }
.concert-row-link:hover h3, .concert-row-link:hover .concert-row-arrow { color: var(--rust); }
.archive-empty { max-width: 560px; color: #625e58; font-size: 1.15rem; }

@media (max-width: 1100px) {
    body { font-size: 16px; }
    .hero { height: auto; min-height: 0; aspect-ratio: 5 / 2; }
    .hero-copy { left: 24px; width: calc(100% - 48px); padding: 0; }
    .hero-logo { width: min(540px, 100%); }
    .hero-image-wrap img { object-position: center 38%; }
    .sticky-nav { min-height: 52px; padding: 0 24px; gap: 18px; overflow-x: auto; white-space: nowrap; }
    .sticky-nav a { padding: 17px 0 15px; }
    .sticky-nav .organizer-nav-link { margin-left: 0; }
    .section { padding: 42px 24px; }
    .about-section, .gallery-section { padding-top: 82px; }
    .section-heading { margin-bottom: 40px; }
    .heading-with-link { align-items: flex-start; flex-direction: column; gap: 9px; }
    .section-link { margin-bottom: 0; }
    .upcoming-section { grid-template-columns: 1fr; gap: 44px; }
    .home-intro { max-width: 620px; }
    .event-grid { gap: 28px; }
    .music-section, .organizer-teaser { min-height: 0; grid-template-columns: 1fr; gap: 42px; padding: 72px 24px; }
    .music-section { background-position: left center; }
    .news-section { grid-template-columns: 1fr 1fr; gap: 38px; padding: 58px 24px; }
    .about-layout { grid-template-columns: 1fr; gap: 30px; }
    .compact-header { padding: 22px 24px; align-items: flex-start; }
    .compact-header nav { justify-content: flex-end; }
    .detail-page, .organizers-page, .simple-message, .concerts-page { padding: 55px 24px 95px; }
    .event-gallery, .organizer-columns, .organizer-intro { grid-template-columns: 1fr; }
    .organizer-intro { gap: 38px; }
    .organizer-intro-image { width: min(480px, 100%); height: 290px; }
    .site-footer { padding: 38px 24px 50px; align-items: flex-start; }
}

@media (max-width: 560px) {
    .compact-header nav { display: none; }
    .event-card-body { grid-template-columns: 58px 1fr; }
    .event-card h3 { order: 1; }
    .event-place { order: 2; margin: 2px 0 8px; color: #706b65; font-size: .7rem; font-weight: 600; }
    .event-card-note { order: 3; }
    .site-footer { flex-direction: column; }
    .hero { background: var(--teal); }
    .hero-image-wrap { height: 100%; }
    .hero-image-wrap img { object-fit: cover; object-position: center center; }
    .hero-copy { position: absolute; left: 20px; bottom: 28px; width: calc(100% - 40px); padding: 0; }
    .hero-logo { width: min(360px, 100%); }
    .event-detail-cover-wrap { padding: 12px; }
    .sticky-nav { padding: 0 16px; gap: 13px; font-size: .78rem; scrollbar-width: none; }
    .sticky-nav::-webkit-scrollbar { display: none; }
    .news-section { grid-template-columns: 1fr; gap: 24px; }
    .news-image-wrap { min-height: 190px; }
    .news-image-wrap img { object-position: center; }
    .member-photo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
    .about-lead { font-size: clamp(1.45rem, 7.2vw, 2rem); line-height: 1.35; }
    .member-list strong { font-size: 1.1rem; }
    .member-list small { font-size: .82rem; }
    .text-link, .music-links { font-size: 1rem; }
    .concert-row-link { grid-template-columns: 78px minmax(0, 1fr); gap: 15px; padding: 15px 0; }
    .concert-row-image, .concert-row-placeholder { width: 78px; height: 66px; grid-row: 1 / 3; }
    .concert-row-date { grid-column: 2; display: flex; gap: 5px; }
    .concert-row-content { grid-column: 2; }
    .concert-row h3 { order: 1; margin-bottom: 3px; font-size: 1.16rem; }
    .concert-row-place { order: 2; margin-bottom: 5px; color: #706b65; font-size: .66rem; font-weight: 600; }
    .concert-row-note { order: 3; display: block; font-size: .75rem; }
    .concert-row-arrow { display: none; }
    .archive-section + .archive-section { margin-top: 78px; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
    .gallery-item figcaption { font-size: .68rem; }
}

@media print {
    .sticky-nav { position: static; background: var(--ink); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .hero, .section, .music-section, .organizer-teaser { break-inside: avoid; }
}
