.home main {
    --gutter: max(5vw, 16px, env(safe-area-inset-left), env(safe-area-inset-right));
    --max: 1240px;
    --concert-line: var(--line);
    --concert-pad: clamp(48px, 6vw, 96px);
    background: var(--canvas);
    color: var(--ink);
}
.hero-inner { padding-block: var(--concert-pad); }
.hero-inner p { max-width: 30ch; color: var(--ink); font-size: clamp(17px, 1.6vw, 21px); margin: 20px 0 32px; }
.hero-actions { gap: 16px; }
.hero-actions .btn, .home .concert-row .section-link {
    min-height: 56px; padding: 10px clamp(20px, 3vw, 36px); border: 1.5px solid var(--accent); border-radius: 6px;
    font: 700 15px/1.3 Montserrat, sans-serif; letter-spacing: .02em; text-align: center;
}
.hero-actions .btn { background: var(--accent); color: var(--on-accent); }
.hero-actions .btn + .btn, .home .concert-row .section-link { background: var(--canvas); color: var(--accent); border-color: var(--accent); }
.hero-actions .btn:hover, .home .concert-row .section-link:hover { color: var(--on-accent); background: var(--accent-hover); border-color: var(--accent-hover); }
.home .concert-row, .listen-index { padding-block: var(--concert-pad); }
.home .home-content > .concert-row { background: var(--canvas); color: var(--ink); }
.home .home-content :is(#formats,#concerts) { background: var(--surface); }
.listen-index h2, .home .concert-row h2 {
    font: 800 clamp(28px, 3.6vw, 44px)/1.05 Montserrat, sans-serif; letter-spacing: -.01em; margin: 0 0 32px;
}
.home .concert-row .subtitle { color: var(--muted); }
.home .concert-row p:has(> .section-link:only-child) { margin: 24px 0 0; }
.group-facts { border-block: 1px solid var(--concert-line); }
.group-facts ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-block: 0; padding: 0; list-style: none; }
.group-facts li { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 26px 12px; font: 600 15px/1.3 Montserrat,sans-serif; text-transform: var(--pyatero-case-subheading,uppercase); }
.group-facts li + li { border-inline-start: 1px solid var(--concert-line); }
.concert-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; color: var(--accent); border: 1.5px solid currentColor; border-radius: 50%; }
.concert-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.listen-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.listen-cards a {
    position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: end; min-height: 300px;
    color: #fff; background: #111; border: 1px solid #3a3a3a; border-radius: 8px; text-decoration: none;
}
.listen-cards a > img, .listen-cards a::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.listen-cards a > img { z-index: -2; object-fit: cover; }
.listen-cards a::after { content: ""; z-index: -1; background: linear-gradient(0deg,rgb(0 0 0 / 98%) 8%,rgb(0 0 0 / 80%) 32%,rgb(0 0 0 / 18%) 74%); }
.listen-caption { width: 100%; display: flex; gap: clamp(10px,1.2vw,16px); align-items: center; padding: clamp(15px,1.7vw,22px); }
.listen-caption > div { min-width: 0; }
.listen-caption .concert-icon { width: clamp(44px,4.8vw,60px); height: clamp(44px,4.8vw,60px); color: #fff; background: #0009; }
.listen-caption h3 { margin: 0 0 4px; font: 800 clamp(16px,1.7vw,20px)/1.08 Montserrat,sans-serif; letter-spacing: -.01em; overflow-wrap: anywhere; }
.listen-caption p { margin: 0; color: #e3e3e3; font-size: 14px; line-height: 1.4; }
.card-arrow { flex: none; margin-inline-start: auto; font-size: 22px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .listen-cards img { transition: transform .5s; }
    .listen-cards a:hover img { transform: scale(1.04); }
}
.home .home-content #video, .home .home-content #press { padding-top: 0; }
#video .legacy-section:has(> .video-gallery), #press .legacy-section:has(> .press-image) {
    display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 0 40px; align-items: start;
}
.home #video .video-gallery { display: contents; }
.home #video .main-player { grid-column: 1; grid-row: 1 / span 2; align-self: center; min-width: 0; }
.home #video h2 { grid-column: 2; grid-row: 1; align-self: end; margin-bottom: 18px; }
.home #video .video-copy { grid-column: 2; grid-row: 2; }
.video-intro { max-width: 60ch; margin: 0 0 20px; color: var(--muted); font-size: 17px; }
.home #video .video-stage, .home #video .play-poster { aspect-ratio: 16/10; border-radius: 8px; overflow: hidden; }
.home #video .play-poster img, .home #video .video-stage iframe { display: block; width: 100%; height: 100%; object-fit: cover; }
.home #video .play-name { inset: 0; margin: auto; width: clamp(64px,7vw,92px); height: clamp(64px,7vw,92px); display: grid; place-items: center; border-radius: 50%; border: 2px solid #fff; background: #0009; font-size: 0; padding: 0; }
.home #video .play-name span { font-size: 28px; color: #fff; }
.home #video .original-video { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.home #video .video-choices { display: block; border-top: 1px solid var(--concert-line); }
.home #video .video-choice { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; min-height: 44px; border-bottom: 1px solid var(--concert-line); }
.home #video .video-choice span { margin: 0; font: 500 1rem/1.4 Inter,sans-serif; }
.home #video .video-choice::after { content: '→'; }
.home #video .section-link, .home #formats .section-link { margin-top: 24px; }
.repertoire-formats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--concert-line); }
.repertoire-formats > div { padding: 28px 28px 8px 0; }
.repertoire-formats > div + div { border-inline-start: 1px solid var(--concert-line); padding-inline-start: 28px; }
.repertoire-formats h3 { font: 800 19px/1.1 Montserrat,sans-serif; margin: 0 0 12px; }
.repertoire-formats p { margin: 0; color: var(--muted); }
.repertoire-tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 36px 0 0; padding: 0; }
.repertoire-tags li { border: 1px solid var(--field-edge); border-radius: 40px; padding: 8px 18px; font-size: 14px; }
.home #team .team { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; }
.home #team .m img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: 6px; filter: contrast(1.05); }
.home #team .m h3 { font: 700 16px/1.2 Montserrat,sans-serif; letter-spacing: 0; margin: 14px 0 4px; }
.home #team .m p { font-size: 14px; margin: 0; color: var(--muted); }
#press .legacy-section:has(> .press-image) { grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); column-gap: 48px; }
.press-image { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; grid-column: 1; grid-row: 1 / span 5; }
#press .legacy-section:has(> .press-image) > :not(.press-image) { grid-column: 2; }
.press-list { margin: 0; border-top: 1px solid var(--concert-line); }
.home .news li { padding: 16px 0; border-color: var(--concert-line); }
.press-list li { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: 24px; align-items: baseline; }
.home .news time { color: var(--muted); font-size: 14px; }
.home .news a { text-decoration: none; }
.home .news a:is(:hover,:focus-visible) { text-decoration: underline; }
.home #photos .photo-rail { gap: 16px; grid-auto-columns: calc((100% - 32px)/3); }
.home #photos .zoom-photo img { border-radius: 8px; }
.home #photos .rail-controls button { border-radius: 50%; }
.home .invitation { background: var(--surface); color: var(--ink); padding-block: var(--concert-pad); border: 0; }
.home .invitation-layout { column-gap: clamp(30px,4vw,56px); }
.home .invitation-title { max-width: 20ch; font-size: clamp(30px,4vw,52px); letter-spacing: -.01em; }
.home .invitation-title::before { display: none; }
.invitation-intro img { width: min(150px,40vw); height: auto; margin-block: 22px 8px; }
.booking-details { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); }
.home .invitation-content a[href^="tel:"] { color: var(--accent); }
.home .invitation-content .row-inner > .legacy-section:has(.wpcf7) { padding: 0; border: 0; background: transparent; }
.home .invitation .wpcf7-form :is(input,select,textarea) { border-color: var(--field-edge); border-radius: 6px; }
.home .invitation .wpcf7-form input[type=submit] { width: 100%; min-height: 56px; background: var(--accent); color: var(--on-accent); }

@media (max-width: 1000px) {
    .home #team .team { grid-template-columns: repeat(3,minmax(0,1fr)); }
    #video .legacy-section:has(> .video-gallery), #press .legacy-section:has(> .press-image) { display: flex; flex-direction: column; align-items: stretch; }
    .home #video .main-player { order: -1; align-self: stretch; margin-bottom: 24px; }
    .home #video h2 { align-self: start; }
    .press-image { order: -1; aspect-ratio: 16/10; max-height: 420px; margin-bottom: 28px; }
    .home .invitation .invitation-layout:has(.wpcf7) { grid-template-columns: minmax(0,1fr); grid-template-rows: auto; }
    .home .invitation .invitation-content > .content-row > .row-inner > .legacy-section { grid-column: 1; grid-row: auto; }
}
@media (max-width: 860px) {
    .listen-cards, .repertoire-formats { grid-template-columns: minmax(0,1fr); }
    .repertoire-formats > div, .repertoire-formats > div + div { padding: 24px 0; border-inline-start: 0; border-bottom: 1px solid var(--concert-line); }
    .home #photos .photo-rail { grid-auto-columns: calc((100% - 16px)/2); }
}
@media (max-width: 600px) {
    .hero-inner { padding-block: 8px var(--concert-pad); }
    .group-facts li { flex-direction: column; text-align: center; gap: 10px; padding: 20px 4px; font-size: 11px; }
    .group-facts .concert-icon { width: 42px; height: 42px; }
    .listen-cards a { min-height: 240px; }
    .listen-caption { padding: 18px 14px; }
    .home #team .team { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin-right: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px 0; }
    .home #team .m { flex: 0 0 62%; scroll-snap-align: start; }
    .press-list li { grid-template-columns: minmax(0,1fr); gap: 2px; }
    .home #photos .photo-rail { grid-auto-columns: 82%; }
    .home .concert-row .section-link { width: 100%; }
}
@media (max-width: 319px) {
    .listen-caption { background: rgb(0 0 0 / 65%); }
}
