/* Rework shell: header, bottom tabs, home sections, fan hub, footer. Builds on superfan.css tokens.
 * Everything is scoped under body.pm (or .pm-*) so legacy pages are never affected.
 * docs/superfan/rework/DESIGN_SYSTEM.md */
.pm, .pm-top, .pm-foot, .pm-tabs { --pm-max: 1120px; --pm-gutter: 20px; }
.pm main { max-width: none; padding: 0; }
.pm-top { position: sticky; top: 0; z-index: 30; background: rgba(11,11,13,.92); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--sf-line); }
.pm-top-in { max-width: var(--pm-max); margin: 0 auto; padding: 0 var(--pm-gutter); height: 60px; display: flex; align-items: center; gap: 24px; }
.pm-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--sf-ink); text-decoration: none; font-weight: 800; font-size: 17px; }
.pm-nav { display: none; gap: 22px; }
.pm-nav a { color: var(--sf-muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 0; border-bottom: 2px solid transparent; }
.pm-nav a:hover, .pm-nav a[aria-current=page] { color: var(--sf-ink); border-bottom-color: var(--sf-accent); }
.pm-search { display: none; flex: 1; max-width: 340px; margin-left: auto; }
.pm-search input { width: 100%; height: 40px; border-radius: 999px; border: 1px solid var(--sf-line); background: var(--sf-raise); color: var(--sf-ink); padding: 0 16px; font: 15px var(--sf-text); }
.pm-search.big { display: block; max-width: 560px; margin: 0 0 20px; }
.pm-search.big input { height: 52px; font-size: 17px; }
.pm-search-link { margin-left: auto; color: var(--sf-ink); display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
.pm-me { color: var(--sf-ink); font-weight: 700; text-decoration: none; font-size: 15px; white-space: nowrap; }
@media (min-width: 900px) {
  .pm-nav { display: flex; } .pm-search { display: block; } .pm-search-link { display: none; } .pm-me { margin-left: 0; }
}

/* Bottom tabs: phones only, four destinations */
.pm-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(11,11,13,.96); border-top: 1px solid var(--sf-line); padding-bottom: env(safe-area-inset-bottom); }
.pm-tabs a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 8px; min-height: 56px; color: var(--sf-muted); text-decoration: none; font-size: 11px; font-weight: 600; }
.pm-tabs svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pm-tabs a[aria-current=page] { color: var(--sf-ink); }
.pm { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .pm-tabs { display: none; } .pm { padding-bottom: 0; } }

/* Sections */
.pm-section, .pm-hero { max-width: var(--pm-max); margin: 0 auto; padding: 28px var(--pm-gutter); }
.pm-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.pm-head h2, .pm-h2 { font: 800 22px/1.2 var(--sf-text); margin: 0; letter-spacing: -.01em; }
.pm-h1 { font: 800 30px/1.1 var(--sf-text); margin: 6px 0 16px; }
.pm-more { color: var(--sf-muted); font-weight: 700; font-size: 14px; white-space: nowrap; }
.pm-lead { color: var(--sf-muted); font-size: 17px; line-height: 1.45; margin: 8px 0 0; max-width: 560px; }
.pm-claim { font: 400 44px/0.98 var(--sf-display); text-transform: uppercase; margin: 6px 0 0; letter-spacing: .005em; }
.pm-claim em { font-style: normal; color: var(--sf-accent); }
.pm-claim.small { font-size: 40px; }
.pm-kicker { font: 800 12px var(--sf-text); letter-spacing: .14em; text-transform: uppercase; color: var(--sf-muted); margin: 0 0 8px; }
.pm-agenda-all { margin: 18px 0 0; text-align: center; }

/* Hero + campaign: the result is the message */
.pm-hero { padding-top: 22px; display: grid; gap: 20px; }
.pm-campaign { display: grid; grid-template-columns: 1fr 38%; gap: 16px; align-items: center; padding: 20px; border-radius: 22px; background: radial-gradient(120% 120% at 0% 0%, #3a000c 0%, #141416 60%); color: var(--sf-ink); text-decoration: none; overflow: hidden; }
.pm-campaign-title { font: 400 30px/1 var(--sf-display); text-transform: uppercase; margin: 0 0 10px; }
.pm-campaign p { color: var(--sf-muted); margin: 0 0 14px; line-height: 1.4; }
.pm-campaign .sf-btn { pointer-events: none; }
.pm-campaign .sf-micro { margin: 8px 0 0; }
.pm-campaign-art { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.5); transform: rotate(2deg); }
@media (prefers-reduced-motion: no-preference) {
  .pm-campaign-art { animation: pm-float 7s ease-in-out infinite alternate; }
  @keyframes pm-float { from { transform: rotate(2deg) translateY(0); } to { transform: rotate(0.5deg) translateY(-6px); } }
}
@media (min-width: 900px) {
  .pm-hero { grid-template-columns: 1fr 1.15fr; align-items: center; gap: 40px; padding-top: 48px; padding-bottom: 40px; }
  .pm-claim { font-size: 78px; } .pm-claim.small { font-size: 60px; }
  .pm-campaign { padding: 32px; grid-template-columns: 1fr 42%; }
  .pm-campaign-title { font-size: 46px; }
}

/* City chips + concert grid */
.pm-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin: 0 0 14px; scrollbar-width: none; }
.pm-chips a { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; background: var(--sf-raise); color: var(--sf-ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.pm-chips a[aria-current=true] { background: var(--sf-ink); color: #000; }
.pm-concerts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
.pm-concert { display: flex; flex-direction: column; gap: 4px; color: var(--sf-ink); text-decoration: none; }
.pm-concert img, .pm-concert-noimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--sf-raise); display: block; }
.pm-concert-date { color: var(--sf-accent); font-weight: 800; font-size: 13px; margin-top: 6px; }
.pm-concert-date::first-letter { text-transform: uppercase; }
.pm-concert-title { font-weight: 800; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.pm-concert-meta { color: var(--sf-muted); font-size: 13px; }
@media (min-width: 700px) { .pm-concerts { grid-template-columns: repeat(4, 1fr); gap: 22px 18px; } .pm-concert img, .pm-concert-noimg { aspect-ratio: 1; } }

/* Creative tiles: portrait examples of the real output */
.pm-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.pm-tiles li { scroll-snap-align: start; }
.pm-tile { display: flex; flex-direction: column; gap: 4px; color: var(--sf-ink); text-decoration: none; }
.pm-tile img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; background: var(--sf-raise); margin-bottom: 6px; }
.pm-tile-title { font-weight: 800; font-size: 16px; }
.pm-tile-text { color: var(--sf-muted); font-size: 14px; }
.pm-tile-cta { color: var(--sf-accent); font-weight: 700; font-size: 14px; }
@media (min-width: 700px) { .pm-tiles { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; } .pm-tiles.big { grid-template-columns: repeat(2, minmax(0, 360px)); } }

/* Musical life */
.pm-life h2 { font: 400 34px/1 var(--sf-display); text-transform: uppercase; margin: 0; }
.pm-history { list-style: none; padding: 0; margin: 18px 0 8px; max-width: 520px; }
.pm-history li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--sf-line); }
.pm-history-date { flex: 0 0 64px; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.pm-history-date b { font: 400 30px var(--sf-display); }
.pm-history-date span { color: var(--sf-muted); font-size: 11px; margin-top: 4px; }
.pm-history-title { font-weight: 700; display: flex; flex-direction: column; }
.pm-history-title small { color: var(--sf-muted); font-weight: 400; font-size: 13px; }
.pm-example { opacity: .78; }
.pm-life-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin: 18px 0 0; }
@media (min-width: 900px) { .pm-life h2 { font-size: 48px; } }

/* News */
.pm-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
.pm-post { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: start; color: var(--sf-ink); text-decoration: none; }
.pm-post img { width: 120px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; grid-row: span 2; }
.pm-post-tag { color: var(--sf-accent); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.pm-post-title { font-weight: 700; line-height: 1.3; }
@media (min-width: 900px) {
  .pm-posts { grid-template-columns: repeat(4, 1fr); }
  .pm-post { grid-template-columns: 1fr; } .pm-post img { width: 100%; grid-row: auto; }
}

/* Hub context list */
.pm-context ul { padding-left: 18px; color: var(--sf-muted); line-height: 1.6; }
.pm-context b { color: var(--sf-ink); }

/* Footer */
.pm-foot { border-top: 1px solid var(--sf-line); margin-top: 32px; }
.pm-foot-in { max-width: var(--pm-max); margin: 0 auto; padding: 28px var(--pm-gutter); display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
.pm-foot-in > div { grid-column: 1 / -1; }
.pm-foot nav { display: flex; flex-direction: column; gap: 8px; }
.pm-foot a { color: var(--sf-muted); text-decoration: none; font-size: 14px; }
.pm-foot a:hover { color: var(--sf-ink); }
.pm-foot-h { font-weight: 800; font-size: 13px; margin: 0 0 2px; color: var(--sf-ink); }
.pm-foot-brand { font-weight: 800; margin: 0; } .pm-foot-tag { color: var(--sf-muted); margin: 4px 0 0; font-size: 14px; }
.pm-foot-bottom { max-width: var(--pm-max); margin: 0 auto; padding: 14px var(--pm-gutter) 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--sf-faint); font-size: 13px; }
.pm-social { display: flex; gap: 16px; }
@media (min-width: 900px) { .pm-foot-in { grid-template-columns: 1.4fr repeat(4, 1fr); } .pm-foot-in > div { grid-column: auto; } }
/* Phones: tighter header; on product screens with their own bottom bar the footer would sit behind it. */
@media (max-width: 899px) {
  .pm-top-in { gap: 12px; }
  .pm-logo span:last-child { display: none; }
  .pm-me { font-size: 14px; }
  body.has-nav .pm-foot, body.has-bar .pm-foot { display: none; }
}
@media (min-width: 380px) and (max-width: 899px) { .pm-logo span:last-child { display: inline; } }
/* Legal pages */
.pm-legal { max-width: 760px; line-height: 1.6; }
.pm-legal h2 { margin: 28px 0 8px; }
.pm-legal p, .pm-legal li { color: var(--sf-muted); }
.pm-legal ul { padding-left: 20px; }
/* Artist profile (ARTIST_SSR) */
.pm-artist-head { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.pm-artist-photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; background: var(--sf-raise); flex: 0 0 auto; }
.pm-artist-initial { display: inline-grid; place-items: center; font: 400 48px var(--sf-display); color: var(--sf-muted); }
.pm-artist-genres { color: var(--sf-muted); margin: 6px 0 0; text-transform: capitalize; }
.pm-artist-actions { margin: 16px 0 0; }
.pm-history a.pm-history-title { color: var(--sf-ink); text-decoration: none; }
@media (min-width: 900px) { .pm-artist-photo { width: 160px; height: 160px; } }
/* The HTML height attribute (kept to avoid layout shift) would override aspect-ratio without this. */
.pm-concert img, .pm-tile img, .pm-post img, .pm-campaign-art { height: auto; }
