/* Five-day plan, transcribed from the September 2026 planning poster.
   Native text stays readable, selectable and available without JavaScript. */
.program-jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.program-jump-links a { padding: 8px 14px; border: 1px solid #ffffff50; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.program-jump-links a:hover { background: #ffffff18; color: var(--gold); }
#site-map, .plan-day, .workshop-choices, .workshop-session { scroll-margin-top: calc(var(--header-h) + 18px); }
.plan-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.plan-heading .section-title { margin-bottom: 0; }
.plan-heading + .section-lead { margin-top: 12px; }
.plan-heading > .btn { flex-shrink: 0; font-size: .8rem; }

.festival-plan { margin-top: 26px; padding: 10px; border: 1px solid var(--line); border-radius: 22px; background: #fffef9; color: var(--navy-deep); box-shadow: var(--shadow-lg); }
.festival-plan__banner { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 16px; padding: 24px 16px; border-radius: 14px; background: linear-gradient(125deg, #003e6b, var(--navy-deep)); color: #fff; }
.festival-plan__banner > img { width: 64px; height: 64px; object-fit: cover; border: 3px solid #ffffff40; border-radius: 50%; }
.festival-plan__banner h3 { font-family: var(--font-head); font-size: clamp(1.65rem, 4vw, 2.8rem); line-height: 1.1; text-transform: uppercase; }
.festival-plan__banner h3 span { display: block; color: var(--gold); font-size: 1.45em; letter-spacing: .06em; }
.festival-plan__location { margin-top: 12px; font-family: var(--font-head); font-size: .87rem; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.festival-plan__location > span { padding-inline: 5px; color: var(--gold); }
.festival-plan__tagline { margin-top: 10px; font-family: var(--font-script); color: var(--gold); font-size: 1.35rem; line-height: 1.15; }
.festival-plan__motto { display: none; font-family: var(--font-script); font-size: 1.75rem; line-height: .98; transform: rotate(-7deg); }
.festival-plan__motto span { color: var(--gold); }

.plan-day-nav { display: flex; gap: 6px; padding: 16px 0; }
.plan-day-nav a { flex: 1; padding: 8px 4px; border: 1px solid var(--line); border-radius: 9px; background: #fff; text-align: center; font-size: .7rem; font-weight: 600; }
.plan-day-nav b { display: block; font-family: var(--font-head); font-size: 1.2rem; }
.plan-day-nav a:hover { background: var(--blue-soft); border-color: var(--blue); }
.plan-days { display: grid; gap: 14px; }
.plan-day { --day-color: #06478f; --day-soft: #e9f4fc; display: grid; grid-template-rows: auto auto 1fr; min-width: 0; border: 1px solid color-mix(in srgb, var(--day-color) 30%, white); border-radius: 12px; overflow: hidden; background: #fff; }
.plan-day--tuesday { --day-color: #217535; --day-soft: #edf6e9; }
.plan-day--wednesday { --day-color: #b64e00; --day-soft: #fff0d8; }
.plan-day--thursday { --day-color: #007a8a; --day-soft: #e5f5f8; }
.plan-day--friday { --day-color: #713494; --day-soft: #f0e9fa; }
.plan-day__header { padding: 18px 10px 16px; text-align: center; background: linear-gradient(130deg, color-mix(in srgb, var(--day-color) 86%, white), var(--day-color)); color: #fff; }
.plan-day__header h4 { font-size: 1.45rem; text-transform: uppercase; line-height: 1.18; }
.plan-day__header time { display: block; font-size: .86em; }
.plan-day__code { display: inline-block; padding: 2px 14px; margin: 9px 0; border-radius: 999px; background: #ffffff20; font-family: var(--font-head); font-size: 1.05rem; }
.plan-day__header > p { font-family: var(--font-head); font-size: 1rem; line-height: 1.15; text-transform: uppercase; }
.plan-period { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 18px 16px; background: linear-gradient(160deg, #fff 68%, var(--day-soft)); }
.plan-period + .plan-period { border-top: 1px solid color-mix(in srgb, var(--day-color) 24%, white); }
.plan-period h5 { display: flex; align-items: flex-start; gap: 8px; font-family: var(--font-head); font-size: .96rem; font-weight: 600; text-transform: uppercase; line-height: 1.2; }
.plan-period h5 > span:first-child { flex-shrink: 0; color: #b77b00; font-size: 1.9rem; line-height: 1; }
.plan-period h5 small { display: block; margin-top: 4px; font-family: var(--font-body); font-size: .7rem; font-weight: 600; text-transform: none; line-height: 1.5; }
.plan-checklist { display: grid; gap: 9px; font-size: .86rem; line-height: 1.45; }
.plan-checklist li { position: relative; padding-left: 19px; }
.plan-checklist li::before { content: "✓"; position: absolute; top: 0; left: 0; color: var(--day-color); font-weight: 800; }
.plan-note { margin-top: auto; padding: 14px 0 4px; color: var(--day-color); font-family: var(--font-script); font-size: 1.6rem; font-weight: 700; line-height: 1.05; text-align: center; }
.plan-note > span { display: block; margin-bottom: 14px; font-family: var(--font-body); font-size: 2.5rem; line-height: 1; }
.plan-events { display: grid; gap: 9px; }
.plan-event { display: block; padding: 11px 10px; border-radius: 7px; background: #f5e0ec; }
.plan-event--workshop { background: linear-gradient(120deg, #f8d6e9, #fce9ee); border: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.plan-event--workshop:hover { border-color: #b62556; box-shadow: 0 3px 12px #b6255618; }
.plan-event__time { display: block; margin-bottom: 3px; color: #b01844; font-family: var(--font-head); font-size: 1rem; font-weight: 600; line-height: 1.2; }
.plan-event h6 { font-family: var(--font-head); font-size: 1rem; font-weight: 500; line-height: 1.25; }
.plan-event h6 > span { font-family: var(--font-body); font-size: .85em; }
.plan-event p { margin-top: 5px; font-size: .8rem; line-height: 1.4; }
.plan-event--ceremony { background: linear-gradient(120deg, #ffdbc0, #ffead3); }
.plan-event--artistic { background: linear-gradient(120deg, #fad0db, #f8ddc7); }
.plan-event--evening { background: linear-gradient(120deg, #e4d4f7, #e7dffb); }
.plan-event--sport { text-align: center; background: #e0efdc; }
.plan-event--sport h6 { text-transform: uppercase; }

.plan-extras { display: grid; gap: 16px; margin: 18px 0; }
.plan-extra { padding: 18px 12px; border: 1px solid #d7e2d8; border-radius: 10px; }
.plan-extra h3 { font-size: 1.15rem; text-transform: uppercase; }
.plan-extra ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 8px; margin-top: 18px; }
.plan-extra li { padding: 0 5px; font-family: var(--font-head); font-size: .85rem; font-weight: 500; line-height: 1.4; text-align: center; overflow-wrap: break-word; }
.plan-extra li > span { display: block; margin-bottom: 8px; color: var(--green-deep); font-size: 1.8rem; line-height: 1; }
.plan-together { display: grid; align-content: center; padding: 22px 10px; border-radius: 5px 22px 5px 22px; background: linear-gradient(120deg, #ffe672, #ffcf26); font-family: var(--font-script); font-size: 1.8rem; font-weight: 700; line-height: 1.08; text-align: center; }
.plan-together > span { font-size: 2.1rem; }
.festival-plan__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 24px; padding: 20px 14px; border-radius: 6px 6px 14px 14px; background: var(--navy-deep); color: #fff; font-family: var(--font-head); font-size: 1rem; text-transform: uppercase; text-align: center; }
.festival-plan__footer > span:first-child { color: var(--gold); }
.festival-plan__footer > span:last-child { color: var(--gold); font-size: 1.7rem; line-height: 1; }
.workshop-choices { margin-top: 42px; }
.workshop-choices > h3 { margin: 6px 0 10px; font-size: 1.85rem; text-transform: uppercase; color: var(--navy); }

@media (min-width: 620px) {
  .festival-plan { padding: 14px; }
  .festival-plan__banner { grid-template-columns: 80px minmax(0, 1fr) auto; padding: 26px 22px; }
  .festival-plan__banner > img { width: 80px; height: 80px; }
  .festival-plan__motto { display: block; }
  .plan-days { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .plan-day { grid-template-rows: minmax(155px, auto) minmax(390px, auto) 1fr; }
  .plan-day:last-child { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr; }
  .plan-day:last-child > .plan-day__header { grid-column: 1 / -1; }
  .plan-day:last-child > .plan-period + .plan-period { border-top: 0; border-left: 1px solid var(--line); }
  .plan-extras { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .plan-together { grid-column: 1 / -1; grid-row: 2; }
  .plan-extra ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .festival-plan__banner { grid-template-columns: 100px minmax(0, 1fr) auto; gap: 28px; padding: 28px 30px; }
  .festival-plan__banner > img { width: 100px; height: 100px; }
  .festival-plan__banner h3 span { display: inline; font-size: 1em; }
  .festival-plan__location { font-size: 1.1rem; }
  .festival-plan__tagline { font-size: 1.65rem; }
  .plan-day-nav { display: none; }
  .plan-days { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; margin-top: 14px; }
  .plan-day, .plan-day:last-child { grid-column: auto; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(166px, auto) minmax(390px, auto) 1fr; }
  .plan-day:last-child > .plan-period + .plan-period { border-left: 0; border-top: 1px solid color-mix(in srgb, var(--day-color) 24%, white); }
  .plan-day__header h4 { font-size: 1.3rem; }
  .plan-period { padding: 15px 10px; }
  .plan-checklist { font-size: .8rem; }
  .plan-note { font-size: 1.4rem; }
  .plan-extras { grid-template-columns: minmax(0, 1fr) 165px minmax(0, 1fr); gap: 12px; }
  .plan-together { grid-column: auto; grid-row: auto; font-size: 1.55rem; }
  .plan-extra ul { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .plan-extra li { padding: 0 4px; font-size: .78rem; }
  .plan-extra li + li { border-left: 1px solid var(--line); }
}

@media print {
  .site-header, .page-hero, #site-map, main > .wrap > .eyebrow, main > .wrap > .section-title,
  main > .wrap > .section-lead, #programFull, .plan-heading > .btn, .plan-day-nav,
  .workshop-choices, .program-values, main > .wrap > .script, .site-footer { display: none; }
  body { background: #fff; }
  .wrap { width: 100%; }
  main.section, .workshop-planner { padding: 0; margin: 0; }
  .festival-plan { box-shadow: none; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .plan-days { grid-template-columns: 1fr; }
  .plan-day, .plan-day:last-child { grid-column: auto; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; break-inside: avoid; }
  .plan-day:last-child > .plan-period + .plan-period { border-left: 0; border-top: 1px solid var(--line); }
  .plan-note { display: none; }
  .plan-extras { break-inside: avoid; }
}
