/* ============================================================
   CAESAREAN — Redesign 03-30-26
   Bebas Neue (display) + Inter (body)
   Top nav, full bleed, brutalist/modern
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; }

/* ── Design tokens ── */
:root {
  --bg:        #0a0a0a;
  --fg:        #f0f0f0;
  --fg-dim:    #888;
  --red:       #c00000;
  --border:    #1c1c1c;
  --nav-h:     64px;
  --display:   'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
  --body:      'Inter', system-ui, -apple-system, sans-serif;
  --container: 1280px;
  --gutter:    clamp(24px, 5vw, 80px);
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 var(--gutter);
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo {
  height: 44px;
  width: auto;
  display: block;
}

/* Text wordmark replaces image logo in nav */
.nav-wordmark {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  color: var(--fg);
  line-height: 1;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--fg);
}

.nav-links .nav-ig {
  color: var(--fg-dim);
  padding-left: 20px;
  border-left: 1px solid var(--border);
}

.nav-links .nav-ig:hover {
  color: var(--fg);
}

/* Hamburger */
.nav-toggle {
  display: none;
  color: var(--fg);
  padding: 8px;
  margin-right: -8px;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ============================================================
   SPLASH (index.html)
   ============================================================ */

body.splash {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  overflow: hidden;
}

/* Full-page clickable wrapper */
.splash-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-height: 100dvh;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  padding: 40px 20px;
  animation: splash-fade-in 1.4s ease forwards;
}

@keyframes splash-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.splash-logo {
  margin-bottom: 40px;
  animation: splash-logo-pulse 5s ease-in-out infinite;
  display: block;
  text-decoration: none;
  color: inherit;
}

@keyframes splash-logo-pulse {
  0%   { opacity: 1; }
  50%  { opacity: 0.6; }
  100% { opacity: 1; }
}

.splash-logo img {
  /* Logo dominates — much larger */
  width: clamp(220px, 38vw, 520px);
  height: auto;
  margin: 0 auto;
  display: block;
}

.splash-tagline {
  font-family: var(--body);
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 36px;
  display: block;
  text-decoration: none;
}

.splash-tagline span {
  display: inline;
}

.splash-tagline span::after {
  content: ' · ';
  opacity: 0.4;
}

.splash-tagline span:last-child::after {
  content: '';
}

.splash-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin: 0 auto 28px;
}

/* Email signup on splash */
.splash-signup {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.splash-signup-label {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
}

.splash-signup-input {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  transition: border-color 0.25s;
}

.splash-signup-input:focus-within {
  border-color: var(--fg-dim);
}

.splash-signup-input input {
  background: none;
  border: none;
  color: var(--fg);
  font-family: var(--body);
  font-size: 11px;
  width: 140px;
  outline: none;
  padding: 0;
}

.splash-signup-input input::placeholder {
  color: var(--fg-dim);
  opacity: 0.5;
}

.splash-signup-input button {
  background: none;
  border: none;
  color: var(--fg-dim);
  font-family: var(--body);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  padding-left: 4px;
  transition: color 0.25s;
}

.splash-signup-input button:hover:not(:disabled) {
  color: var(--fg);
}

.splash-signup-input button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.splash-signup-msg {
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 0.1em;
  height: 12px;
  min-width: 60px;
  text-align: center;
}

.splash-signup-msg.success {
  color: var(--fg);
}

.splash-signup-msg.error {
  color: var(--red);
}

.splash-enter {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--border);
  padding-bottom: 3px;
  transition: color 0.25s, border-color 0.25s;
}

.splash-wrapper:hover .splash-enter {
  color: var(--fg);
  border-color: var(--fg-dim);
}

/* ============================================================
   SHARED PAGE ARTWORK BACKGROUNDS
   ============================================================ */

/* Reusable pseudo-element background pattern */
.has-bg { position: relative; }

/* Each page bg is a fixed pseudo-element — stays behind all content */
.splash-bg::before,
.music-page::before,
.shows-page::before,
.bio-page::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
}

/* Splash — catacombs: skulls/cross, very dark, barely there */
body.splash::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('../assets/images/tx-catacombs.png');
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  opacity: 0.05;
}

/* Music — black oil liquid macro: visceral texture */
.music-page::before {
  background-image: url('../assets/images/tx-liquid.jpg');
  background-position: center top;
  opacity: 0.03;
}

/* Shows pages — marble statue reaching figure, barely there */
.shows-page::before {
  background-image: url('../assets/images/tx-statue-reach.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.04;
}

/* Bio page — medical gut illustration: desaturated, eerie */
.bio-page::before {
  background-image: url('../assets/images/tx-anatomy.png');
  background-size: cover;
  background-position: center;
  opacity: 0.045;
}

/* bio-text link styling now handled in DESKTOP/MOBILE LINK STYLING section */

/* Ensure page content sits above backgrounds */
.splash-wrapper,
.music-page .container,
.shows-page .container,
.bio-hero,
.bio-content {
  position: relative;
  z-index: 1;
}

/* ============================================================
   MUSIC PAGE (main.html)
   ============================================================ */

.music-page {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 120px;
  position: relative;
}

.music-hero {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.music-cover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.music-info {
  padding-top: 4px;
}

.music-title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 4vw, 5rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--fg);
  margin-bottom: 14px;
}

.music-meta {
  font-size: 14px;
  font-weight: 400;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
  margin-bottom: 48px;
}

.music-meta strong {
  color: var(--fg);
  font-weight: 600;
}

/* Link blocks */
.link-block {
  margin-bottom: 40px;
}

.link-block-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 10px;
}

.music-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-dim);
  transition: color 0.15s;
}

.music-link:first-of-type {
  border-top: 1px solid var(--border);
}

.music-link:hover {
  color: var(--fg);
}

.stream-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.dl-links {
  display: flex;
  gap: 20px;
}

.dl-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}

.dl-link:hover {
  color: var(--fg);
  border-color: var(--fg);
}

.album-note {
  font-size: 12px;
  color: var(--fg-dim);
  margin: 0;
  line-height: 1.25;
}

/* album-note link styling now handled in DESKTOP/MOBILE LINK STYLING section */

/* Email signup */
.email-signup {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.signup-description {
  font-size: 14px;
  color: var(--fg-dim);
  margin-bottom: 16px;
  line-height: 1.6;
}

.signup-form {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.signup-form input {
  flex: 1;
  background: #111;
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 10px 12px;
  font-size: 13px;
  font-family: var(--body);
  transition: border-color 0.15s;
}

.signup-form input:focus {
  outline: none;
  border-color: var(--fg-dim);
}

.signup-form input::placeholder {
  color: #555;
}

.signup-form button {
  background: var(--red);
  border: none;
  color: var(--bg);
  padding: 10px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--body);
  transition: opacity 0.2s;
}

.signup-form button:hover {
  opacity: 0.85;
}

.signup-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.signup-message {
  font-size: 12px;
  min-height: 1.4em;
  line-height: 1.4;
}

.signup-message.success {
  color: var(--fg);
}

.signup-message.error {
  color: #c00000;
}

/* ============================================================
   PHOTOS PAGE (photos.html)
   ============================================================ */

.photos-page {
  padding-top: var(--nav-h);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(200px, 24vw, 340px);
  gap: 3px;
}

.photo-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--border);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.photo-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.65);
}

.photo-expand {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.photo-item:hover .photo-expand {
  opacity: 1;
}

.photo-expand svg {
  width: 28px;
  height: 28px;
  stroke: var(--fg);
  fill: none;
  stroke-width: 1.5;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.93);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  pointer-events: none;
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0.6;
  cursor: pointer;
  z-index: 201;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

/* ============================================================
   SHOWS PAGES (upcoming.html / previous.html)
   ============================================================ */

.shows-page {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 120px;
}

.page-heading {
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 0.95;
  color: var(--fg);
  margin-bottom: 56px;
}

.show-list {
  margin-top: 0;
}

.show-item {
  border-top: 1px solid var(--border);
  padding: 44px 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: start;
}

.show-item:last-child {
  border-bottom: 1px solid var(--border);
}

.show-date {
  font-family: var(--display);
  font-size: clamp(3.5rem, 5vw, 5rem);
  line-height: 1;
  color: var(--fg);
}

.show-day {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-top: 6px;
}

.show-countdown {
  font-size: 11px;
  color: var(--red);
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.show-venue {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 10px;
}

.show-info {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.65;
  margin-bottom: 8px;
}

.show-info strong {
  color: var(--fg);
}

.show-info a {
  color: inherit;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

.show-info a:hover {
  color: var(--fg);
  border-color: var(--fg-dim);
}

.show-info a strong {
  color: var(--fg);
}

.show-link {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
  margin-top: 14px;
  transition: opacity 0.2s;
}

.show-link:hover {
  opacity: 0.7;
}

.show-flyer {
  margin-top: 24px;
  max-width: 300px;
}

.show-flyer img {
  width: 100%;
  display: block;
  transition: opacity 0.2s;
}

.show-flyer a {
  display: block;
}

.show-flyer a:hover img {
  opacity: 0.8;
}

.shows-empty {
  padding: 80px 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--fg-dim);
  line-height: 1.1;
}

.shows-signup-cta {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.shows-signup-cta p {
  font-size: 14px;
  color: var(--fg-dim);
  margin-bottom: 20px;
}

.signup-form-inline {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.signup-form-inline input {
  background: #111;
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 10px 12px;
  font-size: 13px;
  font-family: var(--body);
  width: 220px;
  transition: border-color 0.15s;
}

.signup-form-inline input:focus {
  outline: none;
  border-color: var(--fg-dim);
}

.signup-form-inline input::placeholder {
  color: #555;
}

.signup-form-inline button {
  background: var(--red);
  border: none;
  color: var(--bg);
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--body);
  transition: opacity 0.2s;
}

.signup-form-inline button:hover {
  opacity: 0.85;
}

.signup-form-inline button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================================
   BIO PAGE (bio.html)
   ============================================================ */

.bio-page {
  padding-top: var(--nav-h);
  padding-bottom: 120px;
}

.bio-hero {
  position: relative;
  width: 100%;
  height: clamp(300px, 44vw, 580px);
  overflow: hidden;
}

.bio-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  filter: brightness(0.5);
}

.bio-hero-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px var(--gutter);
  background: linear-gradient(to top, rgba(10,10,10,0.88) 0%, transparent 100%);
}

.bio-hero-name {
  font-family: var(--display);
  font-size: clamp(4rem, 9vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  color: var(--fg);
}

.bio-hero-logo {
  height: clamp(60px, 12vw, 120px);
  width: auto;
  display: block;
}

.bio-content {
  padding-top: 80px;
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.bio-text {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
  color: var(--fg);
  max-width: 640px;
}

.bio-text p + p {
  margin-top: 24px;
}

.bio-sidebar-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 20px;
}

.member-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.member-item:first-of-type {
  border-top: 1px solid var(--border);
}

.member-name {
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--fg);
}

.member-role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-top: 4px;
}

.bio-contact {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.contact-email {
  font-size: 15px;
  color: var(--fg-dim);
  padding-bottom: 2px;
  transition: color 0.15s, text-decoration 0.15s;
  text-decoration: none;
}

.contact-email:hover {
  color: var(--fg);
  text-decoration: underline;
}

.press-buried {
  margin-top: 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.press-buried-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 10px;
}

.press-buried-link {
  font-size: 15px;
  color: var(--fg-dim);
  padding-bottom: 2px;
  transition: color 0.15s, text-decoration 0.15s;
  text-decoration: none;
}

.press-buried-link:hover {
  color: var(--fg);
  text-decoration: underline;
}

/* ============================================================
   PRESS PAGE (press.html) — industry use only
   ============================================================ */

.press-page {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 120px;
}

.press-intro {
  font-size: 15px;
  color: var(--fg-dim);
  max-width: 560px;
  margin-bottom: 60px;
  line-height: 1.75;
}

.press-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-top: 56px;
  margin-bottom: 16px;
}

/* Email link in press intro */
.press-email-link {
  color: var(--fg);
  padding-bottom: 1px;
  transition: text-decoration 0.15s;
  text-decoration: none;
}

.press-email-link:hover {
  text-decoration: underline;
}

.press-asset {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.press-asset:first-of-type {
  border-top: 1px solid var(--border);
}

/* Entire row is the link */
.press-asset-link {
  cursor: pointer;
  transition: background 0.15s;
}

.press-asset-link:hover {
  background: rgba(255,255,255,0.03);
}

.press-asset-link:hover .press-asset-name {
  color: var(--fg);
}

.press-asset-link:hover .press-dl {
  color: var(--fg);
  border-color: var(--fg);
}

.press-asset-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-dim);
  display: flex;
  align-items: baseline;
  gap: 12px;
  transition: color 0.15s;
}

.meta {
  font-size: 11px;
  font-weight: 400;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
}

.press-dl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  flex-shrink: 0;
  transition: color 0.15s, border-color 0.15s;
}

.epk-bio {
  font-size: 15px;
  line-height: 1.8;
  color: var(--fg-dim);
  padding: 24px 28px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  max-width: 720px;
}

.epk-bio:hover {
  border-color: var(--fg-dim);
  color: var(--fg);
}

.coverage-entry {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.coverage-entry:first-of-type {
  border-top: 1px solid var(--border);
}

.coverage-pub {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  min-width: 180px;
}

.coverage-link a {
  font-size: 13px;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color 0.15s;
}

.coverage-link a:hover {
  color: var(--fg);
}

/* ============================================================
   STORE PAGE (store.html)
   ============================================================ */

.store-page {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 120px;
}

.store-note {
  font-size: 14px;
  color: var(--fg-dim);
  margin-bottom: 48px;
  max-width: 580px;
  line-height: 1.7;
}

/* store-note link styling now handled in DESKTOP/MOBILE LINK STYLING section */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 3px;
}

.product-card {
  background: #111;
  display: flex;
  flex-direction: column;
}

.product-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.product-img-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: #151515;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.product-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.product-price {
  font-family: var(--display);
  font-size: 1.8rem;
  color: var(--fg);
  line-height: 1;
  margin-top: 6px;
}

.product-desc {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.5;
  margin-top: 4px;
}

.size-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.size-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  border: 1px solid var(--border);
  padding: 5px 10px;
  transition: color 0.15s, border-color 0.15s;
}

.size-link:hover {
  color: var(--fg);
  border-color: var(--fg-dim);
}

.buy-btn {
  display: inline-block;
  margin-top: 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: opacity 0.2s;
}

.buy-btn:hover {
  opacity: 0.7;
}

.stock-badge {
  display: inline-block;
  background: var(--red);
  color: var(--bg);
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  white-space: nowrap;
}

/* ============================================================
   DESKTOP LINK STYLING (body text links)
   ============================================================ */

/* Desktop: body text links show underline on hover only */
p a, .bio-text a, .press-intro a, .album-note a, .store-note a, .music-meta a, .epk-bio a {
  text-decoration: none;
}

p a:hover, .bio-text a:hover, .press-intro a:hover, .album-note a:hover, .store-note a:hover, .music-meta a:hover, .epk-bio a:hover {
  text-decoration: underline;
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 900px) {
  :root { --nav-h: 48px; }

  /* On mobile, all body text links are underlined */
  p a, .bio-text a, .press-intro a, .album-note a, .store-note a, .music-meta a, .epk-bio a {
    text-decoration: underline;
    border-bottom: none;
  }

  /* Remove hover effects on mobile (they don't work well) */
  p a:hover, .bio-text a:hover, .press-intro a:hover, .album-note a:hover, .store-note a:hover, .music-meta a:hover, .epk-bio a:hover {
    text-decoration: underline;
    border-bottom: none;
  }

  /* Nav — scrollable strip, no hamburger */
  .nav-toggle { display: none; }

  .nav {
    justify-content: flex-start;
    padding: 0;
  }

  .nav-links,
  .nav-links.open {
    display: flex;
    position: static;
    background: none;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding: 0 20px;
    gap: 24px;
    border-top: none;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    height: 100%;
    width: 100%;
    inset: auto;
  }

  .nav-links::-webkit-scrollbar { display: none; }

  .nav-links a {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--fg-dim);
    padding: 0;
    border: none;
    width: auto;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .nav-links a:first-child { border-top: none; }

  .nav-links .nav-ig {
    border-left: none;
    padding-left: 0;
  }

  /* Music */
  .music-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .music-cover {
    max-width: 380px;
  }

  /* Photos */
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(150px, 44vw, 260px);
  }

  /* Shows */
  .show-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 36px 0;
  }

  /* Bio */
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .bio-text {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  :root { --gutter: 20px; }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(130px, 43vw, 220px);
    gap: 2px;
  }

  .music-title {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .bio-hero-name {
    font-size: clamp(3rem, 14vw, 6rem);
  }

  .show-date {
    font-size: clamp(2.8rem, 13vw, 4.5rem);
  }

  .shows-empty {
    font-size: clamp(1.6rem, 8vw, 2.5rem);
  }

  .page-heading {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
}
