/* The weekend, the lineup grid and artist profiles. Colours come from theme.css only. */
.artist-page .top { position: sticky; }
main.profile { padding: 16px 0 72px; }
@media (min-width: 860px) { main.profile { padding-top: 28px; } }
.crumbs { margin: 0 0 10px; font-weight: 600; font-size: .9rem; }
@media (min-width: 860px) { .crumbs { margin-bottom: 18px; font-size: 1rem; } }
.crumbs a { text-decoration: none; }
.page-title { font-size: clamp(2.8rem, 8vw, 4.6rem); color: var(--navy); }
.muted { color: var(--muted); font-weight: 400; }
.chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; }
.chips a:hover { border-color: var(--red); }
.chips img, .avatar-ph { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar-ph { display: inline-grid; place-items: center; background: var(--navy); color: var(--white); font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: .02em; }

/* Weekend at a glance */
.lineup { margin-top: 8px; }
.day-tabs { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; padding-bottom: 4px; }
.day-tabs button { flex: 1 0 auto; min-width: 84px; display: flex; flex-direction: column; align-items: center; padding: 10px 18px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--navy); font: 600 .8rem/1 var(--body); text-transform: uppercase; letter-spacing: .1em; cursor: pointer; }
.day-tabs button b { font: 700 2rem/1.1 var(--display); letter-spacing: 0; color: var(--red); }
.day-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.day-tabs button[aria-selected="true"] b { color: var(--white); }
.day-tabs button:focus-visible, .lineup-card:focus-visible, .chips a:focus-visible { outline: 3px solid var(--navy-light); outline-offset: 2px; }
.day-panel[hidden] { display: none; }
.day-panel + .day-panel { margin-top: 28px; }
.day-title { font-size: 2.2rem; color: var(--red); margin-bottom: 14px; }
.day-empty { margin: 0; }
.show-card { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 20px; margin-bottom: 14px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.show-when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.show-time { font: 700 2rem/1 var(--display); color: var(--red); }
.show-kind { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--navy); background: var(--pink); padding: 3px 9px; border-radius: 999px; }
.show-name { font-size: 1.9rem; }
.show-venue { margin: 6px 0 0; font-weight: 500; }
.show-blurb { margin: 8px 0 0; color: var(--muted); }
.show-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.notify { font-weight: 600; color: var(--red-dark); text-decoration: underline; }
@media (min-width: 760px) {
  .show-card { grid-template-columns: 150px 1fr auto; align-items: start; gap: 24px; padding: 24px; }
  .show-when { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Lineup grid */
.lineup-title { margin: 44px 0 18px; font-size: 2.2rem; }
.lineup-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.lineup-card { display: block; height: 100%; border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); color: var(--ink); text-decoration: none; }
.lineup-card:hover { border-color: var(--red); }
.lineup-card img, .grid-ph { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 25%; }
.grid-ph { display: grid; place-items: center; background: var(--navy); color: var(--white); font: 600 3rem/1 var(--display); }
.lineup-name { display: block; padding: 12px 14px 0; font: 600 1.6rem/1 var(--display); text-transform: uppercase; color: var(--navy); }
.lineup-kind { display: block; padding: 4px 14px 14px; color: var(--muted); font-size: .9rem; }
@media (min-width: 760px) { .lineup-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Artist profile */
.profile-hero { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 860px) { .profile-hero { gap: 24px; } }
.profile-photo { margin: 0; }
.profile-photo img { display: block; width: 100%; height: auto; max-height: 21vh; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius); }
.profile-photo figcaption { margin-top: 4px; font-size: .8rem; line-height: 1.2; color: var(--muted); }
.profile-ph { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--navy); color: var(--white); font: 600 6rem/1 var(--display); }
.profile-intro h1 { font-size: clamp(2.6rem, 9vw, 5.4rem); color: var(--navy); margin-bottom: 12px; }
.profile-intro .eyebrow { margin-bottom: 8px; }
.profile-short { font-size: 1rem; line-height: 1.4; margin: 0 0 10px; }
@media (min-width: 860px) { .profile-short { font-size: 1.15rem; line-height: 1.5; } }
.profile-more { margin: 0 0 8px; }
.profile-more[open] { margin-bottom: 14px; }
.profile-more summary { cursor: pointer; font-weight: 600; color: var(--red-dark); }
.profile-more p { margin: 12px 0 0; }
.profile-links { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-link { display: inline-block; padding: 9px 16px; border: 2px solid var(--navy); border-radius: 999px; color: var(--navy); font-weight: 600; font-size: .9rem; text-decoration: none; }
.pill-link:hover { background: var(--navy); color: var(--white); }
.see-them { margin: 10px 0 14px; padding: 12px 16px; border-radius: var(--radius); background: var(--cream); border: 2px solid var(--pink-deep); }
.see-them h2 { font: 600 .8rem/1 var(--body); letter-spacing: .14em; color: var(--red-dark); margin-bottom: 6px; }
.profile-section h2 { font-size: 2.4rem; margin-bottom: 14px; }
.see-card + .see-card { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--pink-deep); }
.see-card { display: grid; gap: 12px; }
.see-when { margin: 0; font: 700 1.6rem/1.1 var(--display); text-transform: uppercase; color: var(--red-dark); }
.see-what { margin: 4px 0 0; font-size: 1.15rem; font-weight: 600; }
.see-also .muted { margin: 0; font-size: .85rem; }
.profile-section { margin-top: 36px; }
.members { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 20px; }
.video { position: relative; max-width: 760px; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy-deep); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.preview-banner { padding: 12px 24px; background: var(--warn-bg); color: var(--warn-ink); font-weight: 500; }
.preview-banner ul { margin: 6px 0 0; padding-left: 20px; }
@media (min-width: 860px) {
  .profile-hero.tall { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 44px; align-items: start; }
  .profile-photo img { max-height: 75vh; }
  .profile-hero.tall .profile-photo img { max-height: 80vh; }
  .profile-hero.wide .profile-photo img { max-height: 560px; }
  .profile-hero.wide .profile-intro { max-width: 820px; }
}

/* The Festival section on the home page, once shows are published */
#festivalDays.has-lineup { display: block; }
