/* The full festival programme: the seminar palette, portraits and solar orbits. */
html { scroll-padding-top: 0; scroll-behavior: auto; }
body[data-page='schedule'] { --programme-header-height: 101px; --programme-nav-height: 86px; }
.schedule-skip { position: fixed; z-index: 10003; top: 12px; left: 16px; padding: 12px 18px; background: var(--meteor-gold); color: var(--cosmic-black); transform: translateY(-160%); }
.schedule-skip:focus { transform: translateY(0); }
.programme-container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: 48px; }
.programme-eyebrow { color: var(--meteor-gold); font-size: .875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.programme-hero { position: relative; overflow: hidden; isolation: isolate; background: #0d100d; }
.programme-hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 68% 65%, #a2432524, transparent 44%), radial-gradient(circle at 7% 42%, #dfc39766 0 1px, transparent 2px), radial-gradient(circle at 47% 22%, #dfc39777 0 1px, transparent 2px), radial-gradient(circle at 42% 72%, #dfc39744 0 1px, transparent 2px); }
.programme-hero::after { content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg, #0d100d 0%, #0d100df5 23%, #0d100d9e 39%, #0d100d14 58%, transparent 76%), linear-gradient(180deg, #0d100d38, transparent 25%, transparent 79%, #0d100d); }
.programme-hero-inner { max-width: 1440px; min-height: 760px; margin-inline: auto; padding: 185px 48px 100px; display: flex; align-items: center; }
.programme-hero-copy { position: relative; z-index: 2; width: min(54%, 660px); }
.programme-hero h1 { margin: 22px 0; font-size: clamp(3.1rem, 5.6vw, 5.6rem); line-height: 1.05; font-weight: 750; letter-spacing: -.055em; }
.programme-hero h1 span { color: var(--meteor-gold); }
.programme-hero-date { font-size: 1.2rem; font-weight: 600; }
.programme-hero-date span { margin-inline: 8px; color: var(--solar-red); }
.programme-hero-description { margin: 22px 0 28px; color: #bfc0b7; font-size: 1rem; line-height: 1.8; }
.programme-button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 13px 24px; background: var(--meteor-gold); border: 1px solid var(--meteor-gold); border-radius: 3px; color: #171811; text-decoration: none; font-size: .9rem; font-weight: 700; transition: background .25s, color .25s, border-color .25s; }
.programme-button:hover { background: #f0d9b4; border-color: #f0d9b4; color: #171811; }
.programme-button--outline { color: var(--meteor-gold); background: transparent; }
.programme-button--outline:hover { background: #dfc39712; color: var(--warm-ivory); border-color: var(--meteor-gold); }
.programme-hero-art { position: absolute; z-index: 0; inset: 0; margin: 0; pointer-events: none; }
.programme-hero-art::before { content: ''; position: absolute; inset: 6% 0 0 32%; background: radial-gradient(ellipse at 57% 60%, #ba542b36, transparent 66%), radial-gradient(circle at 11% 32%, #dfc39777 0 1px, transparent 2px), radial-gradient(circle at 80% 16%, #dfc39788 0 1px, transparent 2px), radial-gradient(circle at 93% 63%, #dfc39766 0 1px, transparent 2px); }
.programme-hero-portraits { position: absolute; right: 0; bottom: 0; width: min(70vw, 1400px); height: calc(100% - 95px); }
.programme-hero-portraits::before { content: ''; position: absolute; width: 88%; aspect-ratio: 1.2; right: -1%; bottom: -9%; border: 1px solid #dfc39766; border-radius: 50%; box-shadow: 0 0 0 40px #dfc39706, 0 0 0 41px #dfc39714, 0 0 100px #d75c1814; transform: rotate(-19deg); }
.programme-hero-portraits img { display: block; position: absolute; bottom: 0; width: 44%; height: 100%; object-fit: contain; object-position: center bottom; mask-image: linear-gradient(#000 0%, #000 80%, transparent 100%); filter: drop-shadow(0 0 24px #cf713a16); }
.programme-hero-person--claudio { left: 0; z-index: 1; }
.programme-hero-person--maria { left: 20%; z-index: 4; }
.programme-hero-person--max { left: 40%; z-index: 2; }
.programme-hero-person--rafael { left: 60%; z-index: 3; }
.programme-navigation { position: sticky; z-index: 100; top: var(--programme-header-height); background: #141610f5; border-block: 1px solid var(--line); backdrop-filter: blur(16px); }
.programme-day-links { display: grid; grid-template-columns: 1fr 1fr 1fr auto; }
.programme-day-link { position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 14px; padding: 23px 26px; border-right: 1px solid var(--line); text-decoration: none; color: var(--warm-ivory); transition: background .25s; }
.programme-day-link:first-child { border-left: 1px solid var(--line); }
.programme-day-link::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--solar-red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.programme-day-link:hover, .programme-day-link[aria-current] { background: #dfc39709; }
.programme-day-link[aria-current]::after { transform: scaleX(1); }
.day-link-date { font-size: 1.65rem; font-weight: 700; line-height: 1.1; color: var(--meteor-gold); }
.day-link-date span { font-size: .875rem; font-weight: 500; }
.day-link-name { font-size: .875rem; }
.programme-timezone { padding: 20px 0 20px 28px; font-size: .8125rem; color: var(--ink-muted); line-height: 1.65; }
.programme-timezone strong { font-weight: 500; color: var(--warm-ivory); }
.programme-content { padding-top: 70px; }
#programme, .programme-day, body[data-page='schedule'] #contacts { scroll-margin-top: calc(var(--programme-header-height) + var(--programme-nav-height) + 24px); }
.programme-day { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 42px; padding-bottom: 70px; }
.programme-day + .programme-day { border-top: 1px solid var(--line); padding-top: 70px; }
.programme-day-heading { position: sticky; top: calc(var(--programme-header-height) + var(--programme-nav-height) + 24px); height: fit-content; overflow: hidden; padding: 8px 0 35px; }
.programme-day-heading h2 { font-weight: 600; }
.programme-date-number { display: block; color: var(--meteor-gold); font-size: 7.5rem; letter-spacing: -.08em; line-height: .95; }
.programme-date-month { display: block; margin-top: 17px; font-size: 1rem; letter-spacing: -.01em; }
.programme-day-heading > p { color: var(--ink-muted); font-size: .9rem; line-height: 1.75; margin-top: 24px; }
.programme-day-orbit { display: block; position: relative; margin: 32px 0 0 2px; width: 112px; height: 27px; border: 1px solid #dfc3974d; border-radius: 50%; transform: rotate(-22deg); }
.programme-day-orbit::before { content: ''; position: absolute; left: 53px; top: -5px; width: 7px; height: 7px; background: var(--solar-red); border-radius: 50%; box-shadow: 0 0 14px #ed744f80; }
.programme-events { list-style: none; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: #171914a8; }
.programme-event { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 22px; position: relative; padding: 28px; }
.programme-event + .programme-event { border-top: 1px solid #dfc39717; }
.programme-event-time { padding-top: 1px; font-size: 1.5rem; line-height: 1.3; font-weight: 650; color: var(--meteor-gold); white-space: nowrap; }
.programme-event-time > span { display: block; margin-top: 5px; color: var(--ink-muted); font-size: .875rem; font-weight: 400; }
.programme-event-content { min-width: 0; }
.programme-event-kind { display: block; font-size: .8125rem; color: var(--meteor-gold); font-weight: 500; line-height: 1.55; margin-bottom: 9px; }
.programme-event h3 { font-size: 1.2rem; line-height: 1.45; font-weight: 650; letter-spacing: -.025em; margin-bottom: 10px; }
.programme-event-content > p { font-size: 1rem; line-height: 1.7; color: #c0c1b7; }
.programme-event-content .programme-event-detail { font-size: .875rem; line-height: 1.8; margin-top: 15px; }
.programme-event-content .programme-event-venue { color: var(--meteor-gold); margin-top: 14px; font-size: .875rem; }
.programme-text-link { display: inline-block; padding-block: 8px; margin-top: 9px; font-size: .875rem; font-weight: 500; text-decoration: underline; text-decoration-color: #dfc39755; text-underline-offset: 5px; transition: color .25s, text-decoration-color .25s; }
.programme-text-link:hover { color: var(--warm-ivory); text-decoration-color: var(--warm-ivory); }
.programme-event--practice { background: radial-gradient(ellipse at 100% 80%, #b97e3120, transparent 70%), #dfc39704; }
.programme-event--practice .programme-teacher-names { font-size: .9375rem; line-height: 1.8; }
.practice-portraits { grid-column: 2; position: relative; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; align-items: end; width: 100%; isolation: isolate; }
.practice-portraits::before { content: ''; position: absolute; z-index: -1; inset: 18px 0 0; border: 1px solid #dfc39765; border-radius: 50%; background: radial-gradient(ellipse at center, #ce844320, transparent 70%); transform: rotate(-15deg); }
.practice-portraits img { position: relative; width: 100%; height: 145px; object-fit: contain; object-position: center bottom; mask-image: linear-gradient(#000 84%, transparent); }
.programme-event--portraits { grid-template-columns: 76px minmax(0,1fr) 118px; align-items: start; }
.lesson-portraits { display: flex; justify-content: flex-end; gap: 6px; align-self: center; }
.lesson-portraits span { display: block; position: relative; width: 55px; height: 73px; overflow: hidden; border-bottom: 1px solid #dfc39780; background: radial-gradient(ellipse at center, #9e703330, transparent 75%); }
.lesson-portraits span::before { content: ''; position: absolute; width: 51px; height: 51px; border: 1px solid #dfc39755; border-radius: 50%; bottom: 3px; left: 2px; }
.lesson-portraits img { display: block; position: relative; height: 100%; width: 100%; object-fit: contain; object-position: center bottom; mask-image: linear-gradient(#000 83%, transparent); }
.programme-event--milonga { background: linear-gradient(110deg, #b4552f10, transparent 80%); }
.programme-event--milonga .programme-event-kind { color: #f49c7b; }
.event-star { position: absolute; right: 32px; top: 32px; color: var(--meteor-gold); font-size: 1.8rem; opacity: .55; }
.programme-event--milonga:has(.event-star) .programme-event-content { padding-right: 32px; }
.programme-event--cup { grid-template-columns: 76px minmax(0,1fr); background: radial-gradient(ellipse at right top, #974b2825, transparent 65%); }
.programme-event--cup h3 { font-size: 1.75rem; color: var(--meteor-gold); }


.programme-event--dj { grid-template-columns: 76px minmax(0,1fr) 160px; }
.programme-dj-image { display: block; align-self: center; width: 160px; height: 180px; object-fit: contain; object-position: center; }
.programme-orchestra-image { display: block; grid-column: 2; width: min(100%, 320px); margin-top: 4px; }
.programme-orchestra-image img { display: block; width: 100%; height: auto; max-height: 230px; object-fit: contain; border-radius: 3px; }
.programme-inline-gold { color: var(--meteor-gold); white-space: nowrap; }
.programme-exhibition { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 22px; padding: 26px 28px; margin-top: 16px; border: 1px solid var(--line); border-radius: 5px; background: #dfc39703; }
.exhibition-symbol { color: var(--meteor-gold); font-size: 2rem; line-height: 1; padding-left: 14px; }
.programme-exhibition h3 { font-size: 1.125rem; line-height: 1.5; margin-bottom: 8px; }
.programme-exhibition p:not(.programme-event-kind) { color: var(--ink-muted); font-size: .9375rem; line-height: 1.7; }
.programme-day-note { font-size: .875rem; line-height: 1.8; color: var(--ink-muted); padding: 18px 0 0; }
.programme-day-note strong { color: var(--warm-ivory); font-weight: 500; }
.programme-closing { display: flex; justify-content: space-between; gap: 40px; align-items: center; padding: 54px; border: 1px solid var(--line); border-radius: 5px; background: radial-gradient(ellipse at right bottom, #8a563226, transparent 65%), #191b16; position: relative; overflow: hidden; }
.programme-closing h2 { font-size: clamp(2rem, 3.1vw, 3rem); line-height: 1.15; margin: 18px 0 20px; letter-spacing: -.04em; }
.programme-closing h2 span { color: var(--meteor-gold); }
.programme-closing p:not(.programme-eyebrow) { color: var(--ink-muted); font-size: 1rem; line-height: 1.8; }
.programme-closing-links { display: flex; flex-direction: column; align-items: stretch; gap: 12px; flex-shrink: 0; }
.programme-closing-links > .programme-text-link { align-self: center; margin-top: 0; }
body[data-page='schedule'] .footer-about-text { margin-top: 18px; }
body[data-page='schedule'] .footer-contacts a { color: inherit; text-decoration: none; }
body[data-page='schedule'] .footer-contacts a:hover { color: var(--meteor-gold); }
body[data-page='schedule'] .footer-copyright p + p { margin-top: 8px; }
@media (max-width: 1200px) {
    .programme-day-link { padding-inline: 20px; gap: 10px; }
    .programme-day-link .day-link-name { font-size: .8125rem; }
    .programme-timezone { padding-left: 22px; }
    .programme-day { grid-template-columns: 166px minmax(0,1fr); gap: 28px; }
    .programme-event--practice { grid-template-columns: 70px minmax(0,1fr); gap: 18px; }
    .practice-portraits img { height: 125px; }
    .programme-event--portraits { grid-template-columns: 70px minmax(0,1fr) 106px; gap: 18px; }
    .lesson-portraits span { width: 50px; height: 67px; }
    .programme-event--orchestra { grid-template-columns: 70px minmax(0,1fr); }
    .programme-event--dj { grid-template-columns: 70px minmax(0,1fr) 130px; }
    .programme-dj-image { width: 130px; height: 160px; }
}
@media (max-width: 1000px) {
    .programme-container { padding-inline: 28px; }
    .programme-hero-inner { padding-inline: 28px; min-height: 700px; }
    .programme-hero-portraits { width: 72vw; right: -3%; height: calc(100% - 110px); }
    .programme-day-links { grid-template-columns: 1fr 1fr 1fr; }
    .programme-timezone { grid-column: 1 / -1; padding: 7px 0; text-align: center; border-top: 1px solid var(--line); }
    .programme-timezone br { display: none; }
    .programme-timezone strong { margin-left: 8px; }
    .programme-day-link { justify-content: center; }
    .programme-day { grid-template-columns: 140px minmax(0,1fr); gap: 24px; }
    .programme-date-number { font-size: 6.4rem; }
    .programme-date-month { font-size: .875rem; }
    .programme-day-heading > p { font-size: .875rem; }
    .programme-event { padding: 24px; gap: 17px; grid-template-columns: 67px minmax(0,1fr); }

    .programme-event--practice { grid-template-columns: 67px minmax(0,1fr); }
    .practice-portraits { grid-column: 1 / -1; margin-top: 0; }
    .practice-portraits img { height: 112px; }
    .programme-event--portraits { grid-template-columns: 67px minmax(0,1fr) 55px; }
    .lesson-portraits { flex-direction: column; }
    .lesson-portraits span { width: 55px; height: 70px; }
    .programme-event h3 { font-size: 1.125rem; }
    .programme-event--cup h3 { font-size: 1.55rem; }
    .programme-event--dj { grid-template-columns: 67px minmax(0,1fr); }
    .programme-dj-image { grid-column: 2; width: 180px; height: 200px; }
    .programme-exhibition { grid-template-columns: 67px minmax(0,1fr); padding: 24px; gap: 17px; }
    .programme-closing { padding: 36px; gap: 24px; }
    .programme-closing .programme-eyebrow { font-size: .8125rem; }
}
@media (max-width: 768px) {
    body[data-page='schedule'] { --programme-header-height: 81px; }
    .programme-container { padding-inline: 22px; }
    .programme-hero-inner { display: block; padding: 123px 22px 350px; min-height: 820px; }
    .programme-hero-copy { width: 100%; }
    .programme-hero::after { background: linear-gradient(180deg, #0d100d 0%, #0d100df5 38%, #0d100d55 56%, transparent 72%, transparent 85%, #0d100d 100%); }
    .programme-eyebrow { font-size: .8125rem; letter-spacing: .09em; }
    .programme-hero h1 { font-size: clamp(2.5rem, 10.7vw, 4.8rem); margin: 18px 0 22px; }
    .programme-hero-date { font-size: 1rem; }
    .programme-hero-date span { margin-inline: 5px; }
    .programme-hero-description { margin: 18px 0 22px; }
    .programme-hero-art::before { inset: 40% -10% 0; }
    .programme-hero-portraits { width: 110%; right: -5%; height: 360px; }
    .programme-hero-portraits img { width: 49%; height: 100%; }
    .programme-hero-person--claudio { left: -3%; }
    .programme-hero-person--maria { left: 15%; }
    .programme-hero-person--max { left: 34%; }
    .programme-hero-person--rafael { left: 53%; }
    .programme-day-links { padding-inline: 0; }
    .programme-day-link { padding: 14px 8px; gap: 5px; flex-direction: column; }
    .day-link-date { font-size: 1.35rem; }
    .day-link-date span { font-size: .8125rem; }
    .programme-day-link .day-link-name { font-size: .8125rem; }
    .programme-content { padding-top: 38px; }
    .programme-day { display: block; padding-bottom: 38px; }
    .programme-day + .programme-day { padding-top: 38px; }
    .programme-day-heading { position: relative; top: auto; display: flex; align-items: center; gap: 26px; padding: 0 0 24px; }
    .programme-date-number { display: inline-block; font-size: 4.5rem; vertical-align: middle; }
    .programme-date-month { display: inline-block; max-width: 112px; margin: 0 0 0 14px; font-size: 1rem; vertical-align: middle; line-height: 1.7; }
    .programme-day-heading > p, .programme-day-orbit { display: none; }
    #programme, .programme-day { scroll-margin-top: calc(var(--programme-header-height) + var(--programme-nav-height) + 20px); }
    .programme-event { grid-template-columns: 59px minmax(0,1fr); gap: 15px; padding: 23px 20px; }
    .programme-event-time { font-size: 1.25rem; }
    .programme-event-time > span { font-size: .8125rem; }
    .programme-event h3 { font-size: 1.125rem; line-height: 1.4; }
    .programme-event-content > p { font-size: 1rem; }
    .programme-event-kind { font-size: .8125rem; margin-bottom: 8px; }
    .programme-event--practice { grid-template-columns: 59px minmax(0,1fr); }
    .practice-portraits { grid-column: 1 / -1; gap: 4px; margin-top: 0; }
    .practice-portraits img { height: 105px; }
    .programme-event--portraits { grid-template-columns: 59px minmax(0,1fr); }
    .lesson-portraits { grid-column: 2; flex-direction: row; justify-content: flex-start; margin-top: -3px; gap: 9px; }
    .lesson-portraits span { width: 49px; height: 62px; }
    .lesson-portraits span::before { width: 45px; height: 45px; }
    .programme-event--cup h3 { font-size: 1.5rem; }

    .programme-orchestra-image { grid-column: 2; width: min(100%, 200px); }
    .programme-orchestra-image img { max-height: 200px; }
    .programme-dj-image { grid-column: 2; width: min(100%,200px); height: auto; max-height: 220px; object-fit: contain; }
    .programme-inline-gold { white-space: normal; }
    .programme-exhibition { grid-template-columns: 36px minmax(0,1fr); gap: 14px; padding: 22px 20px; }
    .exhibition-symbol { padding-left: 0; }
    .programme-day-note { font-size: .875rem; }
    .programme-closing { padding: 28px 24px; display: block; }
    .programme-closing h2 { font-size: 2rem; }
    .programme-closing-links { margin-top: 26px; align-items: stretch; }
    .programme-button { font-size: .875rem; padding-inline: 20px; }
    .programme-closing .programme-eyebrow { font-size: .75rem; }
    .event-star { right: 20px; top: 23px; font-size: 1.3rem; }
    .programme-event--milonga:has(.event-star) .programme-event-content { padding-right: 12px; }
}
@media (max-width: 380px) {
    .programme-event { padding-inline: 15px; grid-template-columns: 53px minmax(0,1fr); gap: 12px; }

    .programme-event-time { font-size: 1.125rem; }
    .programme-hero-date { font-size: .9375rem; }
    .programme-day-link .day-link-name { font-size: .75rem; }
    .programme-exhibition { padding-inline: 15px; grid-template-columns: 26px minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .programme-button, .programme-day-link, .programme-day-link::after, .programme-text-link { transition: none; }
}
@media print {
    .custom-header, .programme-navigation, .programme-hero-art, .programme-button, .programme-closing, .custom-footer, .cookie-banner, .scroll-progress, .schedule-skip { display: none !important; }
    body[data-page='schedule'] { background: white; color: black; }
    body::before, body::after { display: none; }
    .programme-hero, .programme-events, .programme-event, .programme-exhibition { background: white; }
    .programme-hero-inner { padding: 0 0 24px; min-height: 0; display: block; }
    .programme-hero h1 { font-size: 2.4rem; }
    .programme-hero h1 br, .programme-hero-description, .programme-hero .programme-eyebrow { display: none; }
    .programme-hero h1 span, .programme-hero-date, .programme-date-number, .programme-date-month, .programme-event-time, .programme-event h3, .programme-event p, .programme-event-kind, .programme-day-note { color: black; }
    .programme-container { padding: 0; }
    .programme-content { padding-top: 0; }
    .programme-day { display: block; padding-bottom: 20px; }
    .programme-day + .programme-day { padding-top: 20px; }
    .programme-day-heading { position: static; padding: 0 0 18px; }
    .programme-date-number, .programme-date-month { display: inline; margin-right: 10px; font-size: 1.5rem; }
    .programme-day-heading > p, .programme-day-orbit, .practice-portraits, .lesson-portraits, .programme-orchestra-image, .programme-dj-image, .event-star { display: none; }
    .programme-event { grid-template-columns: 70px minmax(0,1fr); padding: 14px; break-inside: avoid; }
    .programme-event h3, .programme-event-content > p { font-size: .9rem; }
    .programme-exhibition { padding: 14px; break-inside: avoid; }
    .programme-text-link { display: none; }
    .reveal { opacity: 1 !important; transform: none !important; translate: none !important; }
}
