:root { --sticky-clearance: 9rem; }
html { scroll-padding-top: calc(var(--sticky-clearance) + var(--wp-admin--admin-bar--height, 0px)); }
.header-scroll-marker { position: absolute; top: 96px; width: 1px; height: 1px; pointer-events: none; }
.site-head { position: sticky; z-index: 30; top: var(--wp-admin--admin-bar--height, 0px); box-shadow: 0 1px 0 #474549; }
.head-main { min-height: 82px; }
.site-head .brand { position: relative; display: block; width: 76px; flex: 0 0 auto; perspective: 700px; transition: width .25s ease; }
.site-head .brand img { width: 100%; padding: 0; }
.site-head.is-compact .head-main { min-height: 56px; }
.site-head.is-compact .brand { width: 52px; }
.head-main { transition: min-height .25s ease; }
.brand-trace { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; pointer-events: none; }
.brand-trace path { opacity: 0; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
    .site-head .brand img { animation: pyatero-turn 20s linear 1s infinite; }
    .brand-trace .trace-line { stroke: #a92039; stroke-width: 9; stroke-dasharray: 101 101; animation: pyatero-trace 20s linear 1s infinite; }
    .brand-trace :is(.trace-glow, .trace-tip) { stroke-dasharray: 14 200; animation: pyatero-tip 20s linear 1s infinite; }
    .brand-trace .trace-glow { stroke: #ff263b; stroke-width: 30; stroke-opacity: .23; }
    .brand-trace .trace-tip { stroke: #ff5263; stroke-width: 10; }
}
@keyframes pyatero-turn { 0%, 7.7% { transform: rotateY(0); animation-timing-function: cubic-bezier(.45,0,.2,1); } 14.7%, 100% { transform: rotateY(360deg); } }
@keyframes pyatero-trace { 0% { stroke-dashoffset: 101; opacity: 1; } 5.6% { stroke-dashoffset: 0; opacity: 1; } 7.35%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes pyatero-tip { 0% { stroke-dashoffset: 14; opacity: 1; } 5.6% { stroke-dashoffset: -100; opacity: 1; } 7.35%, 100% { stroke-dashoffset: -100; opacity: 0; } }
.primary-menu a, .menu-toggle { text-transform: uppercase; font-size: .81rem; font-weight: 700; letter-spacing: .07em; }
.burger-lines, .burger-lines::before, .burger-lines::after { width: 20px; height: 2px; background: currentColor; display: block; }
.burger-lines { position: relative; }
.burger-lines::before, .burger-lines::after { content: ""; position: absolute; top: -6px; }
.burger-lines::after { top: 6px; }
.menu-open .burger-lines { background: transparent; }
.menu-open .burger-lines::before, .menu-open .burger-lines::after { top: 0; transform: rotate(45deg); }
.menu-open .burger-lines::after { transform: rotate(-45deg); }
.site-head .social-icon img[src$="dzen.svg"], .site-footer .social-icon img[src$="dzen.svg"] { border-radius: 28%; outline: 1px solid #e5e1df; outline-offset: -1px; }
.concert-hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(520px, 73svh, 800px); background: #141416; color: #fff; }
.concert-cover { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 35%; }
.concert-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(13 13 15 / 94%) 0%, rgb(13 13 15 / 83%) 29%, rgb(13 13 15 / 62%) 45%, transparent 75%), linear-gradient(0deg, rgb(13 13 15 / 85%), transparent 62%); }
.hero-inner { padding-block: clamp(3rem, 6vw, 6rem); }
.hero-inner h1 { max-width: 16ch; margin: 0; font-size: clamp(3.1rem, 5.2vw, 5.4rem); letter-spacing: -.058em; line-height: 1.01; font-weight: 800; }
.hero-inner p { max-width: 35ch; font-size: clamp(1.03rem, 1.45vw, 1.3rem); line-height: 1.45; margin: 1.2rem 0 1.75rem; }
.hero-actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.hero-actions .btn { background: #f8f7f5; border-color: #f8f7f5; color: #19181a; }
.hero-actions .btn + .btn { background: #211e22; color: #fff; border-color: #bdb8b8; }
.hero-actions .btn:hover { background: #9c263c; color: #fff; border-color: #eea6b3; }
.listen-index { padding-block: clamp(2.75rem, 6vw, 6rem); }
.listen-index h2, .concert-row h2 { letter-spacing: -.055em; }
.listen-index h2 { margin: 0 0 .65em; }
.listen-cards { display: grid; gap: clamp(.8rem, 2vw, 1.75rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.listen-cards a { display: grid; color: var(--ink); text-decoration: none; }
.listen-cards a:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); }
.listen-cards img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.listen-cards a > div { position: relative; border-top: 3px solid var(--accent); padding: .95rem 2.1rem .5rem 0; }
.listen-cards h3 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.8rem); }
.listen-cards p { margin: .4em 0 0; color: var(--subtle); font-size: .95rem; }
.listen-cards span { position: absolute; right: 0; top: .6rem; color: var(--accent); font-size: 1.5rem; }
.home-content > .concert-row { background: var(--paper); color: var(--ink); }
.home-content #video { background: var(--night); color: var(--on-dark); }
.home-content #formats, .home-content #concerts { background: #efeeeb; color: var(--ink); }
.home-content #team, .home-content #photos { background: var(--paper); color: var(--ink); }
.home-content #press { background: #252026; color: #fff; }
#press .tile time, #press .subtitle { color: #e4dce2; }
#formats .repertoire-player { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
#formats .repertoire-player iframe { flex: 0 0 100%; width: 100%; height: clamp(390px, 49vh, 505px); border-radius: 8px; color-scheme: light; }
#formats .repertoire-player p { margin: 0; }
#formats .repertoire-player a { display: inline-flex; align-items: center; min-height: 44px; color: #802436; font-weight: 650; }
.home-content #video .video-gallery { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); align-items: start; gap: clamp(1rem, 3vw, 3rem); }
.home-content #video .video-choices { display: grid; grid-template-columns: 1fr; max-height: clamp(18rem, 31vw, 31rem); overflow-y: auto; scrollbar-color: #aaa0a6 #302c30; gap: .85rem; padding: 4px 8px 6px 4px; }
.home-content #video .video-choice { display: grid; align-items: center; grid-template-columns: minmax(70px, 32%) 1fr; gap: .8rem; }
.home-content #video .video-choice span { line-height: 1.35; }
.footer-brand { display: inline-flex; gap: .8rem; align-items: center; color: var(--on-dark); margin-right: auto; text-decoration: none; }
.footer-brand img { width: 46px; height: auto; }
@media (min-width: 761px) and (max-width: 1000px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
    .head-main { display: flex; flex-wrap: wrap; gap: 0; min-height: 65px; }
    .site-head .brand { width: 62px; }
    .site-head.is-compact .brand { width: 47px; }
    .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: .7rem; }
    #main-nav { width: 100%; }
    .primary-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; padding: 8px 0 16px; }
    .primary-menu .sub-menu { position: static; }
    .menu-ready:not(.menu-open) #main-nav { display: none; }
    .menu-open #main-nav { max-height: min(65dvh, 28rem); overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 760px) {
    .concert-hero { display: block; min-height: 0; }
    .concert-cover { position: static; height: auto; width: 100%; aspect-ratio: 2000/1242; object-fit: cover; }
    .concert-hero::after { display: none; }
    .hero-inner { padding-block: 1.6rem 2.1rem; }
    .hero-inner h1 { font-size: clamp(2.25rem, 7.8vw, 3.5rem); }
    .hero-inner p { margin: .85rem 0 1.2rem; }
    .home-content #video .video-gallery { display: block; }
    .home-content #video .video-choices { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(72%, 240px); overflow: auto; max-height: none; padding: 4px 4px 12px; scroll-snap-type: x proximity; }
    .home-content #video .video-choice { display: block; scroll-snap-align: start; }
    .listen-cards { grid-template-columns: 1fr; gap: 1rem; }
    .listen-cards a { grid-template-columns: minmax(96px, 34%) 1fr; gap: .9rem; align-items: center; }
    .listen-cards a > div { padding: .5rem 1.4rem .5rem 0; border-top-width: 1px; }
    .listen-cards img { aspect-ratio: 4/3; }
}
@media (max-width: 500px) {
    .site-head .head-tools .social-icon, .site-head .head-tools summary { width: clamp(26px, 7.7vw, 34px); }
    .head-tools .social-icon img { width: 20px; height: 20px; }
    .hero-actions .btn { flex-grow: 1; }
    .footer-brand { width: 100%; }
}
@media (max-height: 490px) and (orientation: landscape) {
    .site-head .head-tools { display: none; }
    .menu-open #main-nav { max-height: calc(100dvh - 84px); }
}
@media (prefers-reduced-motion: reduce) {
    .site-head .brand, .head-main { transition: none; }
}
