@charset "UTF-8";
/* Fonts: readable body + metal/classical headings */
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Source+Sans+3:wght@400;600&display=swap");

.site-header h1 {
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.06em;
}

h2, h3, h4 {
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.03em;
}

body {
  font-family: "Source Sans 3", Arial, sans-serif;
}


.release-box {
  border: 1px solid #999;
  padding: 12px;
  margin: 14px 0;
}

.release-title {
  margin: 0 0 12px 0;
}

.video-item {
  float: left;
  width: 320px;
  border: 1px solid #ccc;
  padding: 10px;
  margin: 0 12px 12px 0;
  box-sizing: border-box;
}

.video-player {
  display: block;
  width: 300px;
  height: 169px;
}

.track-name {
  font-weight: bold;
  margin: 0 0 8px 0;
}

.open-link {
  display: inline-block;
  margin-top: 6px;
}

.clearfix {
  clear: both;
}

/* Audio tiles */
.audio-grid:after {
  content: "";
  display: block;
  clear: both;
}

.audio-player {
  display: block;
  width: 300px;
  max-width: 100%;
}

/* --- AUDIO: releases as columns, tracks as vertical list --- */

/* Make each audio release-box a column */
.audio-section .release-box {
  float: left;
  width: 420px;          /* tune: 380–520 depending on your taste */
  margin: 14px 12px 14px 0;
  box-sizing: border-box;
}

/* Clear the float after the whole audio section */
.audio-section:after {
  content: "";
  display: block;
  clear: both;
}

/* Inside audio releases, tracks should stack (no float) */
.audio-section .audio-item {
  float: none;           /* critical */
  width: auto;
  margin: 0 0 12px 0;
}

/* Keep the player sensible */
.audio-section .audio-player {
  width: 300px;
  max-width: 100%;
  display: block;
}

/* Optional: keep the "open" link on its own line */
.audio-section .open-link {
  display: block;
  margin-top: 6px;
}


/* =========================================================
   Swordmaiden theme layer (append to end of music.css)
   ========================================================= */

:root {
  --bg: #07070a;
  --panel: #0f0f16;
  --panel2: #11111b;
  --border: rgba(255, 255, 255, 0.14);

  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.70);

  /* Crimson + antique gold accents to match your artwork */
  --crimson: #b0122a;
  --crimson2: #7a0b1c;
  --gold: #c9a24a;
  --gold2: #8f6a21;

  /* Subtle shadow for panels on black */
  --shadow: 0 10px 30px rgba(0,0,0,0.55);
}

/* Page breathing room + centered content */
html, body { height: 100%; }

body {
  background: radial-gradient(1200px 700px at 30% 10%, rgba(176,18,42,0.12), transparent 60%),
              radial-gradient(1000px 600px at 80% 20%, rgba(201,162,74,0.08), transparent 55%),
              var(--bg);
  color: var(--text);
  margin: 0;
  padding: 24px;              /* margin away from screen edge */
  font-family: "Source Sans 3", Arial, sans-serif;
  line-height: 1.45;
}

/* Make the main content not run edge-to-edge on huge screens */
.site-main, .site-header {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header styling */
.site-header h1 {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 6px 0;
  text-transform: none;
}

.site-header h2 {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 10px 0;
}

.site-header h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 18px 0;
  color: var(--muted);
}

hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,74,0.35), rgba(176,18,42,0.35), transparent);
  margin: 18px 0 24px 0;
}

/* Headings inside sections */
h2, h3, h4 {
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.02em;
}

.music-section > h2 {
  margin-top: 0;
}

/* Links */
a {
  color: #e6d3a1;
  text-decoration: none;
}
a:hover, a:focus {
  color: #ffe7b0;
  text-decoration: underline;
}
a:focus {
  outline: 2px solid rgba(201,162,74,0.55);
  outline-offset: 2px;
}

/* Release containers: darker panel + gold/crimson accent edge */
.release-box {
  background: linear-gradient(180deg, rgba(17,17,27,0.92), rgba(10,10,16,0.92));
  border: 1px solid var(--border);
  border-left: 3px solid rgba(201,162,74,0.75);
  box-shadow: var(--shadow);
  border-radius: 10px;
}

/* Release title gets a little “banner” feel */
.release-title {
  margin: 0 0 12px 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(176,18,42,0.22), rgba(201,162,74,0.10), transparent);
  border: 1px solid rgba(255,255,255,0.10);
}

/* Tiles (video + audio items) */
.video-item,
.audio-item {
  background: linear-gradient(180deg, rgba(18,18,28,0.92), rgba(12,12,19,0.92));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.45);
}

/* Track names */
.track-name {
  color: var(--text);
  font-weight: 700;
  font-size: 1.02rem;
  text-shadow: 0 1px 0 rgba(0,0,0,0.55);
}

/* “Open in new tab” links look like metal “rivet” buttons without being gaudy */
.open-link {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201,162,74,0.30);
  background: linear-gradient(180deg, rgba(201,162,74,0.12), rgba(176,18,42,0.10));
  color: #f1e2b6;
}
.open-link:hover, .open-link:focus {
  border-color: rgba(201,162,74,0.60);
  background: linear-gradient(180deg, rgba(201,162,74,0.18), rgba(176,18,42,0.14));
  text-decoration: none;
}

/* Media controls: keep them visually contained */
.video-player,
.audio-player {
  border-radius: 8px;
  overflow: hidden;
}

/* Slightly soften the default audio control glare on dark bg (browser-dependent) */
audio, video {
  background: #000;
}

/* On small screens, reduce padding and let content breathe */
@media (max-width: 720px) {
  body { padding: 14px; }
  .release-box { border-radius: 8px; }
}

/* Constrain audio section content only */
.audio-section {
  max-width: 900px;
  margin-left: 0;      /* keep left-aligned */
}

.audio-item {
  padding: 14px 18px;
  margin-bottom: 20px;
}

/* ===== Release index grid ===== */

.release-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.release-tile {
  width: 280px;
}

.release-cover {
  height: 256px;
  width: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.release-cover-large {
  max-height: 400px;
  width: auto;
  display: block;
  margin: 20px 0;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.7);
}

.release-title a {
  text-decoration: none;
  color: inherit;
}

/* --- Make release titles uniform height --- */

.release-title {
  min-height: 3.2em;   /* enough for two lines */
  display: flex;
  align-items: center; /* vertically centre short titles */
}

/* Ensure release tile content is centred */
.release-tile {
  text-align: center;
}

/* Make cover images block-level and centred */
.release-cover {
  display: block;
  margin: 14px auto 0 auto;
  height: 256px;
  width: auto;
  border-radius: 12px;
}

.release-count {
  margin-top: 10px;
  font-family: "Cinzel", serif;
  font-size: 0.95rem;
  color: rgba(201,162,74,0.85);  /* antique gold */
  letter-spacing: 0.05em;
}

.release-title {
  text-align: center;
}

.release-title a {
  display: block;
  width: 100%;
}

/* ==========================
   About Section
   ========================== */

.about-section {
  margin-top: 80px;
  max-width: 1000px;
}

/* Decorative divider */
.about-divider {
  height: 1px;
  margin: 60px 0 40px 0;
  background: linear-gradient(
      90deg,
      transparent,
      rgba(201,162,74,0.4),
      rgba(176,18,42,0.4),
      transparent
  );
}

.about-section h2 {
  margin-bottom: 40px;
}

.about-question {
  margin-top: 30px;
  text-align: left;   /* critical */
}

.about-answers {
  margin: 12px 0 0 0;   /* remove auto centering */
  padding-left: 1.4em;
  line-height: 1.7;
}

.about-answers li {
  margin-bottom: 10px;
}

.site-footer {
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.back-link {
  margin: 30px 0;
}

.audio-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.track-art {
  flex: 0 0 auto;
}

.track-thumb {
  display: block;        /* critical for Chrome */
  height: auto;          /* ensure ratio is preserved */
  max-height: 120px;     /* height governs size */
  max-width: 100%;       /* prevent overflow horizontally */
  width: auto;           /* allow natural aspect ratio */
  object-fit: contain;   /* belt-and-braces containment */
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

.track-content {
  flex: 1;
}

@media (max-width: 640px) {
  .audio-item {
    flex-direction: column;
  }

  .track-thumb {
    max-height: 160px;
  }
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* ==========================
   Release Header Layout
   ========================== */

.release-header {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.release-cover-wrap {
  flex: 0 0 auto;
}

.album-about {
  flex: 1;
  background: linear-gradient(180deg, rgba(18,18,28,0.92), rgba(12,12,19,0.92));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 18px 22px 48px 22px; /* extra bottom padding */
  box-shadow: 0 8px 18px rgba(0,0,0,0.45);
  position: relative;
  cursor: pointer; /* indicate clickable */
}
.album-about {
  transition: max-height 0.4s ease;
}

.album-about.collapsed {
  max-height: 400px;
  overflow: hidden;
}

.expand-toggle {
  position: absolute;
  bottom: 14px;
  left: 22px;
  z-index: 2;             /* key change: above fade */
  font-family: "Cinzel", serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(201,162,74,0.9);
  cursor: pointer;
  user-select: none;
}

.expand-toggle:hover {
  color: #ffe7b0;
}

.album-about.collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;   /* slightly taller for smoother blend */
  background: linear-gradient(
      to bottom,
      rgba(12,12,19,0) 0%,
      rgba(12,12,19,0.75) 40%,
      rgba(12,12,19,1) 70%,
      rgba(12,12,19,1) 100%
  );
  pointer-events: none;
  border-radius: 0 0 10px 10px;
  z-index: 1;
}

.track-about {
  margin-top: 12px;
  position: relative;
  padding: 14px 18px 38px 18px;   /* slightly tighter */
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(18,18,28,0.92), rgba(12,12,19,0.92));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
  transition: max-height 0.35s ease;
  cursor: pointer;
}

.track-about.collapsed {
  max-height: 40px;  /* smaller than album */
  overflow: hidden;
}

.track-about.collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(
      to bottom,
      rgba(12,12,19,0) 0%,
      rgba(12,12,19,0.8) 40%,
      rgba(12,12,19,1) 75%,
      rgba(12,12,19,1) 100%
  );
  pointer-events: none;
  border-radius: 0 0 10px 10px;
  z-index: 1;
}

.track-about h3:first-child {
  margin-top: 0;
}

.track-about h3 {
  margin-bottom: 12px;
}

