/*
Theme Name: REV NWA
Theme URI: https://example.com/
Author: OpenAI for REV NWA
Description: Minimal monochrome artist microsite theme for REV NWA with playlist, shows and video integration.
Version: 2.0.0
Text Domain: rev-nwa
*/

:root {
  --bg: #000;
  --fg: #f5f5f2;
  --muted: #a9a9a4;
  --line: rgba(245,245,242,.72);
  --soft-line: rgba(245,245,242,.30);
  --content: 720px;
  --mono: "Courier New", Courier, monospace;
  --sans: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--mono); font-size: 15px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { opacity: .7; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }

.site-shell { width: min(calc(100% - 48px), var(--content)); margin: 0 auto; padding: 48px 0 72px; }
.site-header { text-align: center; }
.site-logo { display: inline-block; width: min(330px, 62vw); margin: 0 auto 28px; }
.site-logo img { width: 100%; }
.main-nav { list-style: none; margin: 0; display: flex; justify-content: center; gap: clamp(18px, 4vw, 44px); flex-wrap: wrap; padding: 0 0 18px; border-bottom: 1px solid var(--line); letter-spacing: .16em; text-transform: uppercase; font-size: 14px; }
.main-nav .current-menu-item a, .main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.social-row { display: flex; justify-content: center; align-items: center; gap: 30px; padding: 22px 0 18px; }
.social-button { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; }
.social-button svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.social-button.spotify svg circle, .social-button.youtube svg .fill, .social-button.bandcamp svg .fill { fill: currentColor; stroke: none; }

.audio-strip { border-bottom: 1px solid var(--line); padding: 10px 0 20px; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px; }
.audio-play { width: 54px; height: 54px; border: 1px solid var(--fg); border-radius: 50%; background: transparent; color: var(--fg); cursor: pointer; display: grid; place-items: center; }
.audio-play::before { content: ""; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor; margin-left: 4px; }
.audio-play.is-playing::before { width: 12px; height: 15px; border: 0; border-left: 4px solid currentColor; border-right: 4px solid currentColor; margin: 0; }
.audio-meta { min-width: 0; }
.audio-title { letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.audio-progress { height: 2px; background: #333; position: relative; cursor: pointer; }
.audio-progress span { position: absolute; inset: 0 auto 0 0; width: 0%; background: var(--fg); }
.audio-time { white-space: nowrap; font-size: 12px; }

.section { padding: 22px 0 20px; border-bottom: 1px solid var(--line); }
.section-title { margin: 0 0 14px; font-size: 18px; font-weight: normal; letter-spacing: .16em; text-transform: uppercase; }
.tour-list { width: 100%; border-collapse: collapse; }
.tour-list td { padding: 8px 4px; border-bottom: 1px solid var(--soft-line); vertical-align: top; }
.tour-list td:first-child { width: 24%; padding-left: 0; }
.tour-list td:nth-child(2) { width: 40%; }
.tour-list td:last-child { text-align: right; padding-right: 0; }
.tour-empty { color: var(--muted); }
.detail-link { display: inline-block; margin-top: 13px; border-bottom: 1px solid currentColor; letter-spacing: .12em; text-transform: uppercase; }

.latest-post { display: grid; grid-template-columns: minmax(180px, 45%) 1fr; gap: 28px; align-items: start; }
.latest-post-image { aspect-ratio: 4/3; background: #111; overflow: hidden; }
.latest-post-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.latest-post h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: .12em; text-transform: uppercase; }
.post-date { color: var(--muted); font-size: 12px; margin-bottom: 12px; }
.latest-post p { margin: 0 0 12px; }

.page-header { margin: 26px 0 18px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.page-title { font-size: 22px; letter-spacing: .18em; text-transform: uppercase; font-weight: normal; margin: 0; }
.entry-list article { padding: 20px 0; border-bottom: 1px solid var(--soft-line); }
.entry-list h2 { font-size: 18px; font-weight: normal; margin: 0 0 6px; letter-spacing: .12em; text-transform: uppercase; }
.entry-list .entry-media { margin: 12px 0; }
.entry-content iframe, .video-embed iframe { width: 100%; aspect-ratio: 16/9; border: 0; }

.epk-block { padding: 20px 0; border-bottom: 1px solid var(--line); }
.epk-block h2 { font-size: 18px; font-weight: normal; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.epk-photo { width: 100%; max-height: 520px; object-fit: cover; filter: grayscale(100%); }
.epk-grid { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: start; }
.epk-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.button-link { display: inline-block; border: 1px solid var(--fg); padding: 9px 12px; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.stage-wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; }
.stage-plot { border: 1px solid var(--fg); padding: 16px; min-height: 280px; position: relative; }
.stage-label { text-align: center; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.stage-devices { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 24px; }
.stage-device { border: 1px solid var(--soft-line); padding: 10px; text-align: center; min-height: 62px; display: grid; place-items: center; }
.stage-center { margin: 34px auto 20px; width: 45%; min-width: 150px; border: 1px solid var(--fg); padding: 12px; text-align: center; }
.stage-audience { border-top: 1px solid var(--fg); padding-top: 8px; text-align: center; margin-top: 22px; }
.tech-list { margin: 0; padding-left: 18px; }
.press-item { padding: 10px 0; border-top: 1px solid var(--soft-line); }

.store-placeholder { text-align: center; padding: 80px 0 100px; }
.store-placeholder h1 { font-size: clamp(28px, 6vw, 56px); letter-spacing: .18em; font-weight: normal; margin: 0 0 10px; }

.site-footer { padding-top: 24px; text-align: center; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 640px) {
  .site-shell { width: min(calc(100% - 32px), var(--content)); padding-top: 26px; }
  .site-logo { width: min(245px, 72vw); margin-bottom: 20px; }
  .main-nav { gap: 14px 20px; font-size: 12px; }
  .social-row { gap: 24px; }
  .social-button { width: 20px; height: 20px; }
  .audio-strip { grid-template-columns: 48px 1fr; gap: 12px; }
  .audio-play { width: 46px; height: 46px; }
  .audio-time { grid-column: 2; margin-top: -4px; }
  .tour-list, .tour-list tbody, .tour-list tr, .tour-list td { display: block; width: 100% !important; text-align: left !important; }
  .tour-list tr { padding: 10px 0; border-bottom: 1px solid var(--soft-line); }
  .tour-list td { border: 0; padding: 1px 0 !important; }
  .latest-post, .epk-grid, .stage-wrap { grid-template-columns: 1fr; }
  .latest-post-image { aspect-ratio: 16/10; }
}

@media print {
  body { background: #fff; color: #000; font-size: 10pt; }
  .site-shell { width: 100%; padding: 0; }
  .site-header, .site-footer, .no-print { display: none !important; }
  .one-sheet { display: block !important; }
  .one-sheet .epk-block { padding: 8px 0; border-color: #999; }
  .button-link { display: none; }
  @page { size: letter; margin: .45in; }
}

/* v2 playlist controls */
.audio-strip { grid-template-columns: 116px 1fr auto; }
.audio-controls { display:flex; align-items:center; gap:8px; }
.audio-prev, .audio-next { width:24px; height:38px; padding:0; border:0; background:transparent; color:var(--fg); cursor:pointer; font-size:27px; line-height:1; }
.audio-prev:hover, .audio-next:hover, .audio-prev:focus-visible, .audio-next:focus-visible { opacity:.7; }
.show-notes, .video-copy { margin-top:10px; }
@media (max-width: 640px) {
  .audio-strip { grid-template-columns: 108px 1fr; }
  .audio-time { grid-column: 2; }
}
