/* The main page only. style.css is shared with the previews under options/, which stay as they are. */
/* Band picture, name, album, top song, cities. */
.hero { gap: 18px; }
.hero > .street { width: min(100%, max(320px, (100vh - 330px) * 1.792)); width: min(100%, max(320px, (100svh - 330px) * 1.792)); justify-self: center; }
h1 { display: flex; flex-wrap: wrap; column-gap: .25em; font-size: clamp(34px, 8vw, 108px); line-height: 1; }
h1 span:last-child { margin-left: 0; }
.hero > .bio { max-width: none; }
.cities-title { margin-top: 48px; justify-self: start; background: var(--night); }
/* Room is kept for what the scripts reveal, so nothing moves as they run. */
header > #motion[hidden] { display: inline-grid; visibility: hidden; }
.featured-play[hidden] { display: inline-flex; visibility: hidden; }
.whole:empty { display: block; }
.album-note { color: var(--dim); font-size: 14px; line-height: 1.4; }
.featured { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "visual" "song"; grid-template-rows: none; gap: 20px 40px; align-items: start; padding: 24px; background: #1c100e; border-bottom: 5px solid var(--lamp); min-width: 0; }
.featured-name { grid-area: name; display: grid; gap: 14px; padding-top: 0; }
.featured-name h3 { color: var(--lamp); font-size: clamp(28px, 4vw, 48px); }
.featured-slot { grid-area: song; width: 100%; max-width: 760px; justify-self: center; min-height: 166px; display: grid; align-content: start; gap: 8px; min-width: 0; }
.featured-play { width: 100%; min-height: 72px; gap: 16px; padding: 10px 18px; border-radius: 4px; background: var(--lamp); color: var(--night); text-align: left; line-height: 1.2; }
.featured-play .mark { font-size: 28px; }
.featured-play .song { display: block; font: 800 20px/1.15 var(--display); }
.featured-play .version { font-size: 16px; }
.featured-note { color: var(--dim); font-size: 14px; line-height: 1.4; }
.film-failed:not(:has(> :not([hidden]))) { display: none; }
/* The film is wide: as wide as the column, never taller than the screen leaves room for. */
.visual { grid-area: visual; justify-self: center; position: relative; width: min(100%, max(280px, (100vh - 200px) * 1.7778)); width: min(100%, max(280px, (100svh - 200px) * 1.7778)); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: #2a1208; }
.visual img, .visual video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visual video[hidden] { display: none; }
.visual video.film { background: transparent; object-fit: contain; }
.visual video.film:focus-visible { outline-offset: -3px; }
footer p { max-width: 70ch; }
@media (max-width: 760px) {
  header { display: grid; grid-template-columns: 1fr auto; gap: 0; }
  header #motion { grid-area: 1 / 2; padding: 0; font-size: 15px; }
  header nav { grid-area: 2 / 1 / 3 / 3; justify-content: space-between; gap: 0 10px; font-size: 16px; }
  main { gap: 72px; padding-top: 4px; }
  .hero { gap: 10px; }
  .hero > .bio { font-size: 17px; line-height: 1.4; }
  .cities-title { margin-top: 32px; }
  .featured { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "visual" "song"; grid-template-rows: none; gap: 10px; padding: 12px; }
  .featured-name { padding: 0; gap: 4px; }
  .featured-name h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .visual { width: 100%; }
  .featured-play { min-height: 64px; padding: 6px 10px; gap: 10px; }
  .featured-play .song { font-size: 16px; }
  .featured-play .version { font-size: 14px; }
  .tile.playing { min-width: 0; }
}
