[hidden] { display: none !important; }
button, input { font: inherit; }
button { cursor: pointer; }
.nav-links a[aria-current="page"] { color: var(--blue); background: #e8f2f5; }
.festival-hero { position: relative; isolation: isolate; color: white; background: #10202b; overflow: hidden; }
.festival-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.festival-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,21,29,.92), rgba(5,21,29,.68) 55%, rgba(5,21,29,.25)); }
.festival-intro { padding: 32px 0 52px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.8); font-size: 13px; text-decoration: none; min-height: 44px; }
.back-link svg { width: 16px; height: 16px; }
.festival-intro .eyebrow { display: flex; margin: 24px 0 14px; letter-spacing: 0; }
.festival-intro h1 { font-size: 64px; line-height: 1.12; max-width: 100%; }
.festival-intro .hero-lead { font-size: 18px; max-width: 580px; margin-top: 18px; }
.festival-facts { display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 0; margin: 24px 0 0; list-style: none; }
.festival-facts li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.festival-facts svg { color: var(--yellow); width: 19px; height: 19px; flex-shrink: 0; }
.festival-intro .hero-actions { margin-top: 26px; }
.festival-page .section { padding: 64px 0; }
.festival-page .section-title { font-size: 36px; line-height: 1.2; }
.festival-page .section-copy { font-size: 16px; }
.program-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.program-heading .section-copy { margin-top: 12px; }
.program-count { margin: 0; color: var(--soft-ink); font-size: 13px; white-space: nowrap; }
.program-controls { margin-bottom: 30px; }
.day-filters { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 6px; padding: 6px; background: #edf0f0; border: 1px solid var(--line); border-radius: 8px; }
.day-filters button { border: 0; border-radius: 5px; background: transparent; color: var(--soft-ink); padding: 12px 8px; min-height: 58px; line-height: 1.3; font-size: 13px; }
.day-filters span, .day-filters strong { display: block; }
.day-filters strong { margin-top: 3px; font-size: 16px; }
.day-filters button[aria-pressed="true"] { background: var(--blue); color: white; box-shadow: 0 3px 10px rgba(8,111,154,.15); }
.program-tools { display: flex; align-items: center; gap: 20px; justify-content: space-between; margin-top: 18px; }
.program-search { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 480px; min-width: 0; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; background: white; }
.program-search:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.program-search svg { width: 18px; height: 18px; color: var(--soft-ink); flex-shrink: 0; }
.program-search input { min-width: 0; width: 100%; min-height: 46px; border: 0; outline: none; background: transparent; font-size: 14px; color: var(--ink); }
.hall-filters { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 6px; flex-shrink: 0; background: white; }
.hall-filters button { padding: 10px 16px; min-height: 40px; border: 0; border-radius: 4px; background: transparent; color: var(--soft-ink); font-size: 13px; font-weight: 800; }
.hall-filters button[aria-pressed="true"] { background: var(--blue-dark); color: white; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.schedule-day + .schedule-day { margin-top: 48px; }
.schedule-day-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.schedule-day-heading h3 { font-size: 26px; line-height: 1.3; }
.schedule-date { color: var(--soft-ink); font-size: 14px; }
.schedule-start { margin-left: auto; font-size: 12px; font-weight: 800; color: var(--blue); }
.hall-dot { width: 8px; height: 8px; display: inline-block; flex-shrink: 0; border-radius: 50%; background: var(--blue); }
.hall-dot.small { background: var(--coral); }
.schedule-time { font-size: 15px; font-weight: 800; color: var(--blue-dark); }
.session { min-width: 0; }
.session-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 8px; }
.session-hall { display: flex; align-items: center; gap: 6px; color: var(--soft-ink); font-size: 11px; font-weight: 800; }
.session-speaker { font-size: 13px; font-weight: 800; color: var(--blue); margin: 0; }
.session-note { margin: 6px 0 0; font-size: 13px; color: var(--soft-ink); }
.session[data-pending="true"] .session-title { color: var(--soft-ink); font-weight: 600; font-size: 16px; }
.session[data-pending="true"] .session-speaker { color: var(--soft-ink); }
.single-schedule { border-top: 2px solid var(--ink); }
.single-session { display: grid; grid-template-columns: 76px minmax(0,1fr) auto; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.single-session .schedule-time { align-self: start; }
.single-session-copy { min-width: 0; }
.single-session .session-title { font-family: "Manrope",system-ui,sans-serif; font-size: 22px; font-weight: 800; line-height: 1.4; margin: 0; overflow-wrap: anywhere; }
.session-purchase { width: 190px; max-width: 100%; min-height: 46px; padding: 12px 16px; font-size: 13px; flex-shrink: 0; box-shadow: none; line-height: 1.4; }
.session-with-annotation { align-items: start; row-gap: 0; }
.session-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; margin: 6px 0 0; padding: 8px 0; border: 0; border-radius: 0; background: transparent; color: var(--blue); font-size: 13px; font-weight: 800; line-height: 1.4; text-align: left; }
.session-more:hover { color: var(--blue-dark); text-decoration: underline; }
.session-more svg { width: 16px; height: 16px; flex: 0 0 16px; transition: transform .18s ease; }
.session-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.session-annotation { grid-column: 2 / -1; min-width: 0; max-width: 80ch; padding: 16px 0 4px; color: var(--ink); font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.session-annotation p { margin: 0 0 16px; }
.session-annotation p:last-child { margin-bottom: 0; }
.session-annotation h5 { margin: 24px 0 8px; font-family: "Manrope",system-ui,sans-serif; font-size: 15px; font-weight: 800; line-height: 1.5; }
.session-annotation h5:first-child { margin-top: 0; }
.schedule-grid[data-hall="large"] [data-hall="small"], .schedule-grid[data-hall="small"] [data-hall="large"] { display: none; }
.program-empty { padding: 40px 0; text-align: center; border-bottom: 1px solid var(--line); }
.program-empty h3 { font-size: 22px; line-height: 1.4; }
.program-empty p { color: var(--soft-ink); }
.program-empty button { font-family: inherit; }
.tickets-band { background: #eaf4f1; border-top: 1px solid #d8e8e2; border-bottom: 1px solid #d8e8e2; }
.festival-page .tickets-band { padding: 32px 0; }
.ticket-feature { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ticket-feature > div { min-width: 0; }
.ticket-feature h2 { font-size: 26px; line-height: 1.3; }
.ticket-feature p:not(.section-kicker) { color: var(--soft-ink); margin: 8px 0 0; font-size: 14px; }
.ticket-feature .section-kicker { margin: 0 0 8px; }
.ticket-feature .ticket-link { min-width: 210px; min-height: 48px; line-height: 1.4; box-shadow: none; }
.venue-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 60px; }
.venue-info { padding-left: 28px; border-left: 1px solid var(--line); }
.venue-info h3 { font-size: 24px; line-height: 1.4; }
.venue-info p { color: var(--soft-ink); margin: 14px 0 0; }
.venue-info a { overflow-wrap: anywhere; }
.venue-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; }
.venue-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--blue); font-weight: 800; font-size: 14px; text-decoration: none; }
.venue-links svg { width: 17px; height: 17px; }
.festival-footer { padding: 28px 0; }
.festival-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.festival-footer p { margin: 0; font-size: 13px; }
.festival-footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.festival-footer-links a { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; }
.upcoming-program { display: flex; align-items: start; gap: 24px; padding: 32px 0 0; }
.upcoming-program > svg { width: 44px; height: 44px; color: var(--blue); flex-shrink: 0; }
.upcoming-program h3 { font-size: 26px; line-height: 1.3; }
.upcoming-program p { color: var(--soft-ink); max-width: 600px; }
.school-lecture { max-width: min(800px, var(--container)); }
.school-subtitle { margin: 14px 0 0; color: var(--blue); font-size: 20px; font-weight: 700; }
.school-copy { margin-top: 28px; font-size: 17px; }
.school-copy p { margin: 0 0 20px; }
.school-copy p:last-child { margin-bottom: 0; }
.school-copy h3 { margin: 28px 0 12px; font-size: 22px; line-height: 1.4; }
.school-page .ticket-feature > .festival-contact-email { flex-shrink: 0; margin: 0; }
@media (max-width: 980px) {
  .venue-grid { gap: 32px; }
  .program-heading { display: block; }
  .program-count { margin-top: 12px; }
  .festival-intro h1 { font-size: 54px; }
}
@media (max-width: 640px) {
  .festival-intro { padding: 16px 0 32px; }
  .festival-intro .eyebrow { margin-top: 18px; }
  .festival-intro h1 { font-size: 40px; }
  .festival-intro .hero-lead { font-size: 16px; }
  .festival-facts { display: grid; gap: 12px; margin-top: 20px; }
  .festival-facts li { align-items: start; font-size: 13px; }
  .festival-facts svg { margin-top: 2px; }
  .festival-hero > img { object-position: 75% center; }
  .festival-hero::before { background: rgba(5,21,29,.78); }
  .festival-page .section { padding: 40px 0; }
  .festival-page .section-title { font-size: 30px; }
  .program-heading { margin-bottom: 20px; }
  .program-count { font-size: 12px; white-space: normal; }
  .day-filters { gap: 2px; padding: 4px; }
  .day-filters button { font-size: 11px; padding: 10px 2px; min-height: 56px; }
  .day-filters strong { font-size: 13px; }
  .program-tools { display: grid; grid-template-columns: minmax(0,1fr); justify-content: stretch; gap: 12px; margin-top: 14px; }
  .program-search { max-width: 100%; }
  .program-search input { font-size: 16px; }
  .hall-filters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hall-filters button { padding: 10px 8px; }
  .schedule-day + .schedule-day { margin-top: 32px; }
  .schedule-day-heading { gap: 6px 14px; padding-bottom: 14px; }
  .schedule-day-heading h3 { font-size: 24px; }
  .schedule-date { font-size: 13px; }
  .schedule-start { width: 100%; margin-left: 0; }
  .schedule-time { font-size: 13px; }
  .session-meta { gap: 6px 12px; margin-bottom: 6px; }
  .session-speaker { font-size: 12px; }
  .session-note { font-size: 12px; }
  .single-session { grid-template-columns: 50px minmax(0,1fr); gap: 14px; padding: 22px 0; }
  .single-session .schedule-time { grid-column: 1; grid-row: 1; }
  .single-session-copy, .single-session .session-purchase { grid-column: 2; }
  .single-session .session-title { font-size: 18px; }
  .single-session .session-purchase { min-width: 0; width: 190px; padding: 12px; }
  .session-with-annotation { row-gap: 12px; }
  .session-with-annotation .session-annotation { grid-column: 1 / -1; padding-top: 8px; font-size: 15px; line-height: 1.75; }
  .festival-page .tickets-band { padding: 28px 0; }
  .ticket-feature { display: grid; grid-template-columns: minmax(0,1fr); justify-content: stretch; gap: 18px; }
  .ticket-feature h2 { font-size: 24px; }
  .ticket-feature .ticket-link { min-width: 0; width: 100%; }
  .venue-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .venue-info { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .venue-info h3 { font-size: 22px; }
  .festival-footer { padding: 22px 0; }
  .festival-footer-links { gap: 8px 20px; }
  .upcoming-program { gap: 16px; padding-top: 24px; }
  .upcoming-program > svg { width: 32px; height: 32px; }
  .upcoming-program h3 { font-size: 22px; }
  .school-subtitle { font-size: 18px; }
  .school-copy { font-size: 16px; }
  .school-copy h3 { font-size: 20px; }
}
@media (max-width: 360px) {
  .festival-intro h1 { font-size: 34px; }
  .day-filters button { font-size: 10px; }
  .single-session { column-gap: 10px; }
}
