
:root {
  --hot-pink: #ff1493;
  --white: #ffffff;
  --border: #ffd6ef;
  --shadow: rgba(0,0,0,0.3);
  --box-bg: rgba(255,255,255,0.08);
  --focus: #ffffff;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: 'Press Start 2P', system-ui, sans-serif;
  color: var(--white);
  background-color: var(--hot-pink);
  cursor: url('images/cursor_star.png') 4 4, auto;
  text-shadow: 2px 2px var(--shadow);
  padding-top: 70px;
  overflow-x: hidden;
}
body::before {
  content:""; position:fixed; inset:0; pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,0.35) 1px, transparent 2px);
  background-size:120px 120px; animation: twinkle 8s linear infinite; mix-blend-mode: screen;
}
@keyframes twinkle { 0%{background-position:0 0;} 100%{background-position:120px 120px;} }

a:focus, button:focus { outline: 3px solid var(--focus); outline-offset: 3px; }

.pixel-box {
  background: var(--box-bg);
  border: 4px solid var(--border);
  padding: 18px;
  box-shadow: 0 6px 0 var(--shadow), inset 0 0 0 2px rgba(255,255,255,0.25);
  max-width: 1100px; margin: 18px auto;
}

/* NAV */
.nav { position:fixed; top:0; left:0; right:0; background: rgba(255,105,180,0.9); border-bottom:4px solid var(--border); z-index:1000; backdrop-filter: blur(2px); }
.nav-inner { display:flex; gap:12px; justify-content:center; align-items:center; padding:12px; flex-wrap:wrap; }
.nav-item { display:inline-block; padding:12px 14px; border:4px solid var(--border); background: rgba(255,255,255,0.08); color:var(--white); text-decoration:none; text-shadow:2px 2px var(--shadow); transition: transform 0.1s, box-shadow 0.2s; }
.nav-item:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--shadow), inset 0 0 0 2px rgba(255,255,255,0.35); }

/* HOME */
.hero { text-align:center; }
.hero h1 { font-size: clamp(22px, 5vw, 42px); margin: 0 0 8px 0; }
.hero .sub { font-size: clamp(12px, 2.5vw, 18px); margin: 0; }
.home-grid { display:grid; grid-template-columns: repeat(3, minmax(220px, 1fr)); gap:18px; max-width:1100px; margin:0 auto 24px; padding:0 18px; }
.feature { text-align:center; text-decoration:none; color:var(--white); }
.feature h2 { margin-top:4px; font-size:18px; }
.feature img { width:100%; height:auto; border:4px solid var(--border); display:block; }

/* Screen-reader-only */
.sr-only { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* POLITICS left link card */
.politics-grid { padding-top: 12px; }
.politics-row { display:grid; grid-template-columns: 230px 1fr; gap:12px; align-items:start; }
.visit-card {
  display:grid; grid-template-rows:auto auto; align-content:start; justify-items:center;
  border:4px solid var(--border); background: rgba(255,255,255,0.06); padding:14px 10px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.2);
}
.visit-title { font-size:12px; text-transform:uppercase; letter-spacing:1px; margin-bottom:8px; text-align:center; }
.visit-link { display:inline-block; text-decoration:none; color:var(--white); border:4px solid var(--border); padding:8px 10px; background: rgba(255,255,255,0.08); text-align:center; }

/* ABOUT */
.two-col { display:grid; grid-template-columns: 1fr 1fr; gap:18px; align-items:start; }
.two-col .photo img { width:100%; height:auto; display:block; border:4px solid var(--border); }
.two-col .text p { line-height:1.6; font-size:12px; }

/* GALLERIES */
.gallery-grid { max-width: 1200px; }
.gallery-grid h1 { margin-top:0; }
.gallery-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:12px; padding:18px; }
.gallery-grid .gallery-item img { width:100%; height:auto; border:4px solid var(--border); display:block; }

/* STYLE portrait grid helper */
.portrait-grid .gallery-item img { width:100%; height:auto; }

/* VOCALS */
.vocals h1 { margin: 18px auto; max-width: 1100px; }
.track { border: 4px solid var(--border); margin-bottom: 12px; background: rgba(255,255,255,0.06); }
.track > summary { cursor: pointer; padding: 14px 16px; list-style: none; display:flex; align-items:center; justify-content: space-between; gap: 10px; }
.track > summary:focus { outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,0.35) inset; }
.track > summary .caret { margin-left: 8px; order: 2; width:0; height:0; border-left:8px solid var(--white); border-top:6px solid transparent; border-bottom:6px solid transparent; transition: transform 0.2s; }
.track[open] > summary .caret { transform: rotate(90deg); }
.track-body { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; padding: 12px; }
.track-meta img { width: 100%; border: 4px solid var(--border); display: block; }
.track-audio h3 { margin: 0 0 8px 0; }
.track .lyrics pre { white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; background: rgba(0,0,0,0.2); padding: 10px; border: 4px solid var(--border); }

/* Centered video */
.video-center { text-align:center; margin-top: 16px; }
.video-16x9 { position: relative; width: 100%; max-width: 900px; margin: 0 auto; }
.video-16x9::before { content: ""; display:block; padding-top:56.25%; }
.video-16x9 iframe { position:absolute; inset:0; width:100%; height:100%; border:4px solid var(--border); background:#000; }
.video-title { margin: 10px 0 4px 0; }
.video-desc { margin: 0; font-size: 12px; }

/* FOOTER */
.footer { text-align:center; font-size:10px; }

/* LIGHTBOX + Filmstrip + Video */
.lightbox.hidden { display:none; }
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85);
  display:flex; flex-direction: column; justify-content: center; align-items: center; gap:10px; z-index:2000; padding: 12px;
}
.lightbox-img { max-width:92vw; max-height:70vh; border:4px solid var(--border); background:#000; }
.lightbox-video-wrap { display:none; width: 92vw; max-width: 1000px; }
.lightbox-video-wrap .lightbox-video { width: 100%; height: min(70vh, 56vw); border: 4px solid var(--border); background: #000; }
.lightbox .close { position:absolute; top:14px; right:20px; font-size:42px; cursor:pointer; }
.lightbox-caption {
  max-width: 92vw; text-align: center; font-size: 12px; line-height: 1.6;
  background: rgba(255,255,255,0.08); border: 4px solid var(--border);
  padding: 10px 12px; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.25);
}
.lb-btn { position:absolute; top:50%; transform: translateY(-50%); background: rgba(0,0,0,0.3); border: 4px solid var(--border); color: var(--white); font-size: 28px; padding: 10px 14px; cursor: pointer; text-shadow: 2px 2px var(--shadow); z-index:2050; }
.lb-btn.prev { left: 10px; } .lb-btn.next { right: 10px; }
.lb-btn:hover { background: rgba(255,255,255,0.1); }
.lb-thumbs { display:flex; gap:8px; overflow-x:auto; max-width:92vw; padding:8px; border:4px solid var(--border); background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 2px rgba(255,255,255,0.2); }
.lb-thumb { flex:0 0 auto; width:72px; height:72px; border:3px solid var(--border); background:#000; display:grid; place-items:center; cursor:pointer; opacity:0.9; }
.lb-thumb img { max-width:100%; max-height:100%; display:block; }
.lb-thumb:hover { opacity:1; } .lb-thumb.active { outline:3px solid #fff; opacity:1; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
  .nav-item { transition: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .home-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .vocals .track-body { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .politics-row { grid-template-columns: 1fr; }
  .visit-card { order: 2; }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .nav-item { padding: 14px 16px; }
  .lb-thumb { width: 64px; height: 64px; }
}


/* Lyrics collapsible inside a track */
.track .lyrics {
  border: 4px solid var(--border);
  background: rgba(255,255,255,0.06);
  margin-top: 10px;
}

.track .lyrics > summary {
  cursor: pointer;
  padding: 10px 12px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between; /* puts caret on the right */
  gap: 10px;
}

/* subtle focus ring without the ugly dashed look */
.track .lyrics > summary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.35) inset;
}

/* smaller caret for the lyrics drop-down */
.track .lyrics > summary .caret {
  width: 0;
  height: 0;
  border-left: 7px solid var(--white);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  transition: transform 0.2s;
}

.track .lyrics[open] > summary .caret {
  transform: rotate(90deg);
}

/* Lyrics body block */
.track .lyrics .lyrics-body {
  padding: 10px 12px;
}

.track .lyrics .lyrics-body pre {
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  background: rgba(0,0,0,0.2);
  padding: 10px;
  border: 4px solid var(--border);
  margin: 0;
}

.video-desc {
  text-align: center;
  margin-top: 6px;
  line-height: 1.6;
}

.video-desc p {
  margin: 4px 0;
  font-size: 12px;
  font-family: 'Press Start 2P', monospace;
  color: var(--white);
}

/* always-visible song blurb under lyrics */
.track-notes {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;          /* keep it elegant vs. boxed */
  opacity: 0.95;
}

.track-notes p {
  margin: 0;
}

.contact .social-links {
  margin-top: 20px;
  text-align: center;
  line-height: 2;
}

.contact .social-links a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 2px solid var(--border);
  padding: 4px 6px;
  transition: color 0.2s, border-color 0.2s;
}

.contact .social-links a:hover {
  color: hotpink;
  border-color: hotpink;
}
