:root {
  --red: #b31320;
  --red-dark: #8d0d17;
  --ink: #1f2022;
  --muted: #686a6d;
  --line: #e7e4e1;
  --paper: #ffffff;
  --soft: #f5f3f1;
  --shell: min(1180px, calc(100% - 40px));
  --shadow: 0 22px 55px rgba(21, 22, 24, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 124px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 1rem; line-height: 1.65; }
body.menu-open { overflow: hidden; }
body.gallery-opened { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 108px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 14px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 108px; background: #f4f6f7; border-bottom: 1px solid rgba(31,32,34,.08); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 8px 28px rgba(20,20,20,.09); }
.nav-wrap { width: var(--shell); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.brand { position: relative; display: block; width: 290px; aspect-ratio: 3.2; overflow: hidden; flex: 0 0 auto; }
/* Hide the original image's blank margins without changing the logo asset. */
.brand img { position: absolute; top: 50%; width: 100%; height: auto; transform: translateY(-50%); mix-blend-mode: multiply; }
.brand-modern img { position: static; width: 100%; height: 100%; object-fit: contain; transform: none; mix-blend-mode: normal; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { position: relative; text-decoration: none; font-size: .91rem; font-weight: 700; letter-spacing: .035em; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--red); transition: right .2s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .2s, opacity .2s; }

.hero { position: relative; min-height: 780px; height: 94vh; display: grid; align-items: end; color: white; background: linear-gradient(90deg, rgba(7,10,12,.48) 0%, rgba(7,10,12,.16) 48%, transparent 78%), linear-gradient(0deg, rgba(7,10,12,.42) 0%, transparent 48%), url("../images/vysocanka-2026.jpg") 50% 36% / cover no-repeat; }
.hero-content { padding-bottom: 122px; }
.hero h1, .section h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.hero h1 { max-width: 820px; font-size: clamp(3.7rem, 7.4vw, 7.2rem); text-shadow: 0 3px 30px rgba(0,0,0,.25); }
.hero h1 em, .contact h2 em { color: #f2c9c5; font-weight: 400; }
.hero-lead { max-width: 620px; margin: 28px 0 32px; font-size: 1.15rem; line-height: 1.65; color: rgba(255,255,255,.88); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--red); font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 36px; height: 2px; background: currentColor; }
.eyebrow.light { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; text-decoration: none; font-size: .88rem; font-weight: 800; letter-spacing: .035em; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--red); }
.button-primary:hover { background: var(--red-dark); }
.button-ghost { color: white; border-color: rgba(255,255,255,.6); background: rgba(20,20,20,.14); backdrop-filter: blur(4px); }
.button-ghost:hover { background: white; color: var(--ink); }
.scroll-cue { position: absolute; right: max(30px, calc((100% - 1180px)/2)); bottom: 35px; display: flex; align-items: center; gap: 16px; color: white; text-decoration: none; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.scroll-cue svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.section-heading { margin-bottom: 50px; }
.row-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.row-heading > p { max-width: 390px; margin: 0 0 8px; color: var(--muted); }
.section h2 { font-size: clamp(3rem, 5.2vw, 5.1rem); }
.demo-note { color: var(--red) !important; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.concerts { background: var(--soft); }
.event-list { border-top: 1px solid #d8d4d0; }
.event-card { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 28px; min-height: 132px; border-bottom: 1px solid #d8d4d0; transition: background .2s, padding .2s; }
.event-card:hover { padding-inline: 20px; background: white; }
.event-card time { color: var(--red); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; line-height: 1.1; }
.event-card time span { display: inline-block; margin-right: 6px; font-family: Georgia, serif; font-size: 2.5rem; font-weight: 500; letter-spacing: -.04em; }
.event-copy h3 { margin: 0 0 2px; font-family: Georgia, serif; font-size: 1.75rem; font-weight: 500; }
.event-copy p { margin: 0; color: var(--muted); }
.event-tag { padding: 7px 12px; border: 1px solid #d4d0cc; border-radius: 20px; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: center; gap: clamp(50px, 8vw, 112px); }
.about-image { min-height: 660px; background: url("../images/vysocanka-2026.jpg") 14% center / cover no-repeat; box-shadow: var(--shadow); }
.musician-carousel { position: relative; background: var(--soft); overflow: hidden; }
.musician-photo { position: absolute; inset: 20px 20px 192px; width: calc(100% - 40px); height: calc(100% - 212px); object-fit: contain; }
.carousel-caption { position: absolute; left: 16px; right: 16px; bottom: 78px; text-align: center; line-height: 1.45; }
.carousel-caption strong, .carousel-caption span { display: block; }
.carousel-caption strong { color: var(--red); font-size: 1.125rem; }
.carousel-caption span { margin-top: 4px; font-size: 1rem; }
.carousel-controls { position: absolute; bottom: 16px; left: 16px; right: 16px; display: flex; justify-content: center; align-items: center; gap: 12px; }
.carousel-controls button { min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); background: white; color: var(--ink); font: inherit; font-size: 1rem; cursor: pointer; }
.carousel-controls button:hover { color: white; background: var(--red); }
.carousel-controls .carousel-pause { font-size: .875rem; }
.carousel-count { min-width: 48px; text-align: center; font-size: .875rem; font-variant-numeric: tabular-nums; }
.about-copy .lead { margin: 32px 0 18px; font-family: Georgia, serif; font-size: 1.35rem; line-height: 1.55; }
.about-copy > p:not(.eyebrow):not(.lead) { color: var(--muted); }
.about-actions { margin-top: 28px; }
.about-actions .button { cursor: pointer; font-family: inherit; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); }
.facts strong, .facts span { display: block; }
.facts strong { color: var(--red); font-family: Georgia, serif; font-size: 1.45rem; font-weight: 500; }
.facts span { margin-top: 4px; color: var(--muted); font-size: .77rem; line-height: 1.35; }

.gallery { padding-top: 70px; }
.gallery-grid { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: repeat(2, 270px); gap: 16px; }
.gallery-item { position: relative; margin: 0; overflow: hidden; background: #ddd; }
.gallery-main { grid-row: 1 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-main img { object-position: center; }
.gallery-concerts-cover img { object-position: center 68%; }
.gallery-detail-one img { object-position: 5% 55%; transform: scale(1.45); }
.gallery-detail-two img { object-position: 63% 82%; transform: scale(1.55); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-detail-one:hover img { transform: scale(1.5); }
.gallery-detail-two:hover img { transform: scale(1.6); }
.gallery-item::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(0,0,0,.72)); pointer-events: none; }
.gallery-item figcaption { position: absolute; z-index: 1; left: 24px; bottom: 20px; color: white; font-weight: 700; }
.gallery-open { width: 100%; padding: 0; border: 0; text-align: left; font: inherit; cursor: pointer; }
.gallery-label { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; color: white; font-weight: 700; }
.gallery-musicians-cover, .gallery-concerts-cover { background: var(--red); transition: background-color .25s, transform .25s; }
.gallery-musicians-cover::after, .gallery-concerts-cover::after { display: none; }
.gallery-musicians-cover .gallery-label, .gallery-concerts-cover .gallery-label { inset: 0; align-items: center; justify-content: center; gap: 14px; font-family: Georgia, serif; font-size: clamp(1.55rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: .015em; }
.gallery-musicians-cover .gallery-label > span, .gallery-concerts-cover .gallery-label > span { font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 1.25rem; transition: transform .25s; }
.gallery-musicians-cover:hover, .gallery-concerts-cover:hover { background: var(--red-dark); }
.gallery-musicians-cover:hover .gallery-label > span, .gallery-concerts-cover:hover .gallery-label > span { transform: translate(3px, -3px); }
.gallery-musicians-cover:focus-visible, .gallery-concerts-cover:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.musician-dialog { width: min(960px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 24px; border: 0; color: var(--ink); background: white; box-shadow: var(--shadow); overflow-y: auto; }
.musician-dialog::backdrop { background: rgba(8,10,12,.8); }
.musician-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.musician-dialog-header h2 { margin: 0; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.musician-dialog button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); color: var(--ink); background: white; font: inherit; cursor: pointer; }
.musician-dialog-header button { font-size: 1.75rem; line-height: 1; }
.musician-viewer { padding: 16px; background: var(--soft); text-align: center; }
.musician-viewer > img { width: 100%; height: min(44dvh, 430px); object-fit: contain; }
.musician-viewer-caption { min-height: 72px; padding-top: 14px; line-height: 1.5; }
.musician-viewer-caption strong, .musician-viewer-caption span { display: block; }
.musician-viewer-caption strong { color: var(--red); font-size: 1.125rem; }
.musician-viewer-controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 12px; }
.musician-viewer-controls span { min-width: 48px; font-variant-numeric: tabular-nums; }
.musician-thumbnails { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.musician-thumbnails button { padding: 8px; }
.musician-thumbnails img { width: 100%; height: 96px; object-fit: contain; }
.musician-thumbnails span { display: block; margin-top: 6px; font-size: .875rem; }
.musician-thumbnails button[aria-pressed="true"] { border: 2px solid var(--red); background: var(--soft); }
.musician-dialog button:hover { border-color: var(--red); }
.albums-intro { margin: 0 0 24px; color: var(--muted); }
.albums-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.album-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--line); background: var(--soft); text-decoration: none; }
.album-date { color: var(--muted); font-size: .875rem; }
.album-card h3 { margin: 0; font-family: Georgia, serif; font-size: 1.5rem; font-weight: 500; line-height: 1.25; }
.album-action { margin-top: auto; padding-top: 14px; color: var(--red); font-size: .875rem; font-weight: 700; }
.album-card:hover { border-color: var(--red); background: white; }
.cd-list { display: grid; gap: 14px; }
.cd-album { border: 1px solid var(--line); background: var(--soft); }
.cd-album[open] { background: white; border-color: #d2ceca; }
.cd-album summary { position: relative; display: flex; align-items: center; gap: 20px; padding: 14px 56px 14px 14px; cursor: pointer; list-style: none; }
.cd-album summary::-webkit-details-marker { display: none; }
.cd-album summary::after { content: "+"; position: absolute; right: 22px; color: var(--red); font-size: 1.6rem; line-height: 1; }
.cd-album[open] summary::after { content: "−"; }
.cd-cover { width: 88px; height: 88px; flex: 0 0 88px; object-fit: contain; background: white; }
.cd-summary-copy { min-width: 0; display: grid; gap: 4px; }
.cd-album-title { font-family: Georgia, serif; font-size: 1.4rem; font-weight: 500; }
.cd-album-year { color: var(--muted); font-size: .85rem; font-weight: 700; }
.cd-album-body { padding: 0 22px 24px; border-top: 1px solid var(--line); }
.cd-tracks { margin: 18px 0 0; padding-left: 28px; columns: 2; column-gap: 44px; }
.cd-tracks li { padding: 3px 0 3px 4px; break-inside: avoid; }
.history-dialog { width: min(980px, calc(100% - 32px)); }
.history-content { color: #414347; font-size: 1rem; line-height: 1.8; }
.history-content p { margin: 0; padding: 0 4px 24px 22px; border-left: 3px solid var(--line); }
.history-content p:first-child { border-left-color: var(--red); }
.history-content p:last-child { padding-bottom: 0; border-left-color: var(--red); }
@media (max-width: 540px) { .albums-list { grid-template-columns: 1fr; } }
@media (max-width: 540px) {
  .musician-dialog { padding: 16px; }
  .musician-dialog-header h2 { font-size: 1.65rem; }
  .musician-thumbnails { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .musician-viewer-caption { min-height: 100px; }
}

.music { color: white; background: var(--ink); }
.music-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(45px, 8vw, 110px); }
.music h2 { margin-bottom: 30px; }
.music p { max-width: 530px; color: rgba(255,255,255,.68); }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #111; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-link { display: inline-block; margin-top: 16px; color: rgba(255,255,255,.85); font-size: .875rem; text-underline-offset: 4px; }
.music-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.music-actions .button { width: auto; cursor: pointer; font-family: inherit; }
.video-placeholder { min-height: 390px; display: grid; place-content: center; justify-items: center; position: relative; text-align: center; background: linear-gradient(rgba(8,8,8,.2), rgba(8,8,8,.7)), url("../images/vysocanka-2026.jpg") center 54% / cover; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.play-button { width: 82px; height: 82px; display: grid; place-items: center; border: 0; border-radius: 50%; color: white; background: var(--red); cursor: pointer; box-shadow: 0 0 0 12px rgba(255,255,255,.13); transition: transform .2s; }
.play-button:hover { transform: scale(1.06); }
.play-button svg { width: 34px; fill: currentColor; }
.video-placeholder p { margin: 28px 0 0; }
.video-placeholder strong, .video-placeholder span { display: block; color: white; }
.video-placeholder span { margin-top: 2px; color: rgba(255,255,255,.66); font-size: .85rem; }

.contact { background: white; }
.contact-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(50px, 10vw, 150px); align-items: center; padding: 80px clamp(32px, 7vw, 90px); background: var(--soft); border-left: 6px solid var(--red); }
.contact h2 em { color: var(--red); }
.contact-panel > div:first-child > p:last-child { max-width: 550px; margin-top: 28px; color: var(--muted); }
.contact-details .demo-note { margin-bottom: 20px; }
.contact-row { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid #d8d4d0; text-decoration: none; }
.contact-row span { color: var(--muted); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.contact-row strong { font-size: 1.08rem; }
.contact-details .button { width: 100%; margin-top: 28px; }
.contact-person { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid #d8d4d0; }
.contact-person h3 { margin: 0; color: var(--red); font-size: 1rem; font-weight: 800; }
.contact-person > strong { font-size: 1.25rem; }
.contact-person a { width: fit-content; max-width: 100%; min-height: 32px; text-decoration: none; overflow-wrap: anywhere; }
.contact-person a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }

.site-footer { padding: 38px 0; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 180px 1fr auto auto; align-items: center; gap: 30px; }
.footer-inner img { width: 180px; height: 60px; object-fit: contain; }
.footer-inner p { margin: 0; color: var(--muted); font-size: .82rem; }
.footer-inner p:last-child { text-align: right; }
.social-links { display: flex; align-items: center; gap: 10px; }
.social-links a { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .82rem; font-weight: 700; transition: color .2s, border-color .2s, background .2s; }
.social-links svg { width: 20px; height: 20px; fill: currentColor; }
.social-links a:hover { color: white; border-color: var(--red); background: var(--red); }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 24px; max-width: calc(100% - 32px); padding: 13px 18px; color: white; background: var(--ink); box-shadow: var(--shadow); transform: translate(-50%, 160%); opacity: 0; transition: transform .25s, opacity .25s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

:focus-visible { outline: 3px solid #f15c66; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }

@media (max-width: 1000px) {
  :root { --shell: min(100% - 32px, 700px); }
  .section { padding: 78px 0; }
  html { scroll-padding-top: 116px; }
  .site-header, .site-header.scrolled { height: 100px; }
  .brand { width: min(270px, calc(100% - 68px)); }
  .menu-toggle { display: block; position: relative; z-index: 2; cursor: pointer; }
  .main-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 24px; background: rgba(255,255,255,.98); transform: translateX(100%); transition: transform .3s; }
  .main-nav.open { transform: none; }
  .main-nav a { font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 720px; height: 94svh; background-position: 55% center; }
  .hero-content { padding-bottom: 86px; }
  .hero h1 { font-size: clamp(3.35rem, 13vw, 5.3rem); }
  .hero-lead { max-width: 520px; font-size: 1rem; }
  .scroll-cue { display: none; }
  .row-heading { align-items: start; flex-direction: column; }
  .event-card { grid-template-columns: 100px 1fr; padding: 24px 0; }
  .event-tag { display: none; }
  .about-grid, .music-grid, .contact-panel { grid-template-columns: 1fr; }
  .about-image { min-height: 500px; }
  .facts { margin-top: 32px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 390px 210px; }
  .gallery-main { grid-column: 1 / 3; grid-row: auto; }
  .contact-panel { padding: 60px 38px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-inner p:last-child { text-align: center; }
}

@media (max-width: 540px) {
  :root { --shell: calc(100% - 28px); }
  html { scroll-padding-top: 104px; }
  .site-header, .site-header.scrolled { height: 88px; }
  .brand { width: min(230px, calc(100% - 68px)); }
  .section { padding: 68px 0; }
  .hero { min-height: 690px; background-image: linear-gradient(0deg, rgba(7,10,12,.58) 0%, rgba(7,10,12,.04) 75%), url("../images/vysocanka-2026.jpg"); background-position: 58% center; }
  .hero-content { padding-bottom: 54px; }
  .hero h1 { font-size: clamp(3.05rem, 16vw, 4.5rem); }
  .hero h1 br { display: none; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .music-actions { display: grid; }
  .music-actions .button { width: 100%; }
  .cd-tracks { columns: 1; }
  .section h2 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .event-card { grid-template-columns: 78px 1fr; gap: 16px; }
  .event-card time span { display: block; font-size: 2.2rem; }
  .event-copy h3 { font-size: 1.5rem; }
  .about-image { min-height: 400px; background-position: 20% center; }
  .about-image.musician-carousel { display: none; }
  .facts { grid-template-columns: 1fr; gap: 14px; }
  .facts div { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: 310px 210px 210px; }
  .gallery-main { grid-column: auto; }
  .music-grid { gap: 40px; }
  .video-placeholder { min-height: 300px; }
  .contact-panel { width: 100%; padding: 55px 24px; border-left-width: 4px; }
}
