/*
Theme Name: Sleeve
Author: Tarvetus Creative Labs
Author URI: https://tarvetimala.lovable.app
Description: A dark, gradient-accented theme built for independent musicians — reorderable homepage sections, configurable branding, and per-album pages. Ships with a ready-to-customize demo configuration out of the box.
Version: 0.9.1
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: sleeve
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, theme-options, entertainment
*/

/* ==========================================================================
   Design tokens — defaults. Dynamic overrides from the Customizer are
   injected as an inline <style> block in wp_head (see inc/customizer.php),
   so changing a setting there updates these without editing this file.
   ========================================================================== */
:root {
  --bg-base: #0a0e18;
  --text-primary: #f4f4f6;
  --text-secondary: #a3a6b5;
  --text-muted: #6b6e7d;
  --border-default: #232838;
  --border-strong: #2e3548;

  --accent-teal: #2dd9c7;
  --accent-purple: #b57bf2;
  --text1: #a8a18a;
  --text2: #efede7;
  --accent-teal-text: #3ee6d4;
  --accent-purple-text: #c48cf5;

  --gradient-brand-tight: linear-gradient(90deg, var(--accent-teal) 0%, var(--accent-purple) 100%);

  --font-display: 'Cinzel', serif;
  --font-script: 'Dancing Script', cursive;
  --font-voice: 'EB Garamond', serif;
  --font-ui: 'Inter', sans-serif;

  --radius-pill: 999px;
  --radius-card: 16px;
  --radius-control: 10px;

  --track-tilt-max: 1deg;
  --container-max-width: 1200px;
  --logo-halo-size: 70px;
  --pattern-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.035' stroke-width='1'%3E%3Cpath d='M10 7 V18 M10 7 H15 V10' /%3E%3Ccircle cx='8.5' cy='19' r='2.3'/%3E%3Ccircle cx='13.5' cy='17.5' r='2.3'/%3E%3C/g%3E%3C/svg%3E");

  /* Typography roles — each configurable independently: font, size, bold, italic, underline */
  --type-hero-font: var(--font-display); --type-hero-size: 64px; --type-hero-weight: 600; --type-hero-style: normal; --type-hero-decoration: none;
  --type-heading-font: var(--font-display); --type-heading-size: 29px; --type-heading-weight: 600; --type-heading-style: normal; --type-heading-decoration: none;
  --type-label-font: var(--font-script); --type-label-size: 19px; --type-label-weight: 600; --type-label-style: normal; --type-label-decoration: none;
  --type-voice-font: var(--font-voice); --type-voice-size: 17px; --type-voice-weight: 400; --type-voice-style: italic; --type-voice-decoration: none;
  --type-ui-font: var(--font-ui); --type-ui-size: 14px; --type-ui-weight: 400; --type-ui-style: normal; --type-ui-decoration: none;
  --type-tag-font: var(--font-ui); --type-tag-size: 12px; --type-tag-weight: 500; --type-tag-style: normal; --type-tag-decoration: none;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-base);
  background-repeat: no-repeat, no-repeat, repeat;
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--type-ui-font); font-size: var(--type-ui-size); font-weight: var(--type-ui-weight); font-style: var(--type-ui-style); text-decoration: var(--type-ui-decoration);
  line-height: 1.5;
  /* "Sticky footer" layout: body is a flex column spanning at least the
     full viewport height; #sleeve-main-content (opened in header.php,
     closed in footer.php) grows to fill remaining space, so the footer
     always sits at the bottom of the viewport on short pages and at the
     true end of the page on long ones — never position:fixed. */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#sleeve-main-content { flex: 1 0 auto; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; overflow: hidden; position: absolute !important;
  word-wrap: normal !important; margin: -1px; padding: 0;
}

.skip-link.screen-reader-text {
  position: absolute; top: -100px; left: 8px; z-index: 999;
  background: var(--bg-base); color: var(--text-primary);
  padding: 10px 16px; border-radius: 4px; text-decoration: none;
  height: auto; width: auto; clip: auto; clip-path: none; overflow: visible; margin: 0;
}
.skip-link.screen-reader-text:focus { top: 8px; }


body.bg-glow-on {
  background-image:
    radial-gradient(circle 480px at 8% 90%, rgba(45,217,199,0.28) 0%, rgba(45,217,199,0.10) 40%, transparent 75%),
    radial-gradient(circle 520px at 92% 10%, rgba(181,123,242,0.28) 0%, rgba(181,123,242,0.10) 40%, transparent 75%);
}
body.bg-pattern-notes {
  background-image: var(--pattern-svg);
}
body.bg-glow-on.bg-pattern-notes {
  background-image:
    radial-gradient(circle 480px at 8% 90%, rgba(45,217,199,0.28) 0%, rgba(45,217,199,0.10) 40%, transparent 75%),
    radial-gradient(circle 520px at 92% 10%, rgba(181,123,242,0.28) 0%, rgba(181,123,242,0.10) 40%, transparent 75%),
    var(--pattern-svg);
}

body.corner-sharp { --radius-card: 2px; --radius-control: 4px; }
body.corner-rounded { --radius-card: 16px; --radius-control: 10px; }
body.corner-pill { --radius-card: 28px; --radius-control: 20px; }

.site-wrap { max-width: var(--container-max-width); margin: 0 auto; }

/* ===== Buttons ===== */
.btn {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary-teal { background: var(--accent-teal); color: #04241f; }
.btn-outline-purple { background: transparent; border-color: var(--accent-purple); color: var(--accent-purple-text); }
.btn-outline-teal { background: transparent; border-color: var(--accent-teal); color: var(--accent-teal-text); }
.btn-ghost { background: linear-gradient(rgba(255,255,255,0.02), rgba(255,255,255,0.02)), var(--bg-base); border-color: var(--border-strong); color: var(--text-secondary); }

/* ===== Section heading pattern (shared by most sections) ===== */
.section-wrap { max-width: 780px; margin: 0 auto; padding: 64px 24px; }
.section-wrap.wide { max-width: 1040px; }
.section-wrap.narrow { max-width: 620px; }
.section-label { font-family: var(--type-label-font); font-size: var(--type-label-size); font-weight: var(--type-label-weight); font-style: var(--type-label-style); text-decoration: var(--type-label-decoration); color: var(--accent-purple-text); text-align: center; margin: 0 0 6px; }
.section-heading { font-family: var(--type-heading-font); font-size: var(--type-heading-size); font-weight: var(--type-heading-weight); font-style: var(--type-heading-style); text-decoration: var(--type-heading-decoration); text-align: center; margin: 0 0 4px; }
.section-heading .grad { background: var(--gradient-brand-tight); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-heading-rule { width: 60px; height: 3px; background: var(--gradient-brand-tight); border-radius: 2px; margin: 10px auto 10px; }
.section-sub { text-align: center; color: var(--text-secondary); font-size: 15px; max-width: 460px; margin: 0 auto 34px; }
.icon-badge {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; font-size: 20px;
}
.icon-badge.teal { background: rgba(45,217,199,0.12); color: var(--accent-teal-text); }
.icon-badge.purple { background: rgba(181,123,242,0.12); color: var(--accent-purple-text); }

/* ===== Logo section ===== */
.logo-section { max-width: 780px; margin: 0 auto; padding: 60px 24px 0; text-align: center; }
.logo-badge {
  width: 128px; height: 128px; margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #4a5568, #1a1f2e 70%);
  border: 2px solid transparent;
  box-shadow: 0 0 var(--logo-halo-size, 70px) rgba(45,217,199,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 12px; color: var(--accent-teal-text);
  overflow: hidden;
}
body.logo-border-on .logo-badge { border-color: var(--accent-teal); }
.logo-badge img { width: 100%; height: 100%; object-fit: cover; }
.logo-shape-circle .logo-badge { border-radius: 50%; }
.logo-shape-square .logo-badge { border-radius: 6px; }
.logo-shape-rect-portrait .logo-badge { width: 100px; height: 140px; border-radius: 8px; }
.logo-shape-rect-landscape .logo-badge { width: 160px; height: 100px; border-radius: 8px; }
.logo-shape-oval-portrait .logo-badge { width: 100px; height: 144px; border-radius: 50%; }
.logo-shape-oval-landscape .logo-badge { width: 162px; height: 104px; border-radius: 50%; }
.logo-shape-pentagon .logo-badge { clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); border: none; }
.logo-shape-hexagon .logo-badge { clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); border: none; }
.logo-float-v { animation: sleeve-float-v 5s ease-in-out infinite; }
.logo-float-h { animation: sleeve-float-h 6s ease-in-out infinite; }
@keyframes sleeve-float-v { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes sleeve-float-h { 0%,100% { transform: translateX(0); } 50% { transform: translateX(10px); } }
body.animations-off .logo-float-v,
body.animations-off .logo-float-h,
body.animations-off .hero-title { animation: none !important; }

/* ===== Hero ===== */
.hero { max-width: 780px; margin: 0 auto; padding: 26px 24px 60px; text-align: center; }
.hero-title {
  font-family: var(--type-hero-font); font-weight: var(--type-hero-weight); font-style: var(--type-hero-style); text-decoration: var(--type-hero-decoration);
  font-size: var(--type-hero-size); margin: 0 0 16px; line-height: 1;
  background: linear-gradient(90deg, var(--accent-purple) 0%, var(--accent-teal) 25%, var(--accent-purple) 50%, var(--accent-teal) 75%, var(--accent-purple) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sleeve-shimmer 7s ease-in-out infinite;
}
@keyframes sleeve-shimmer { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@media (prefers-reduced-motion: reduce) { .hero-title { animation: none; background-position: 30% 50%; } }
.hero-tagline { font-family: var(--font-script); font-size: 25px; color: var(--accent-purple-text); margin: 0 0 30px; }
.genre-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.genre-pill {
  font-family: var(--type-tag-font); font-size: var(--type-tag-size); font-weight: var(--type-tag-weight); font-style: var(--type-tag-style); text-decoration: var(--type-tag-decoration);
  letter-spacing: 0.3px;
  padding: 7px 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong); color: var(--text-secondary);
  background: linear-gradient(rgba(255,255,255,0.02), rgba(255,255,255,0.02)), var(--bg-base);
}
.hero-quote { font-family: var(--type-voice-font); font-style: var(--type-voice-style); font-weight: var(--type-voice-weight); font-size: var(--type-voice-size); text-decoration: var(--type-voice-decoration); color: var(--text-secondary); max-width: 560px; margin: 0 auto 36px; line-height: 1.6; }
.hero-quote .feel { color: var(--accent-teal-text); text-decoration: underline; text-underline-offset: 3px; font-style: normal; }
.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.scroll-cue { text-align: center; color: var(--text-muted); font-size: 20px; padding-bottom: 24px; }

/* ===== Brand icon chips (shared: Stream Everywhere, track rows, Track page) ===== */
.brand-icon-chip { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.brand-icon-chip svg { width: 55%; height: 55%; display: block; }
.brand-icon-chip--mono { border-radius: 0; background: none !important; }
.brand-icon-chip--mono svg { width: 100%; height: 100%; }

/* ===== Excerpt / track rows ===== */
.excerpt-row, .track-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; border: 0.5px solid var(--border-default);
  border-radius: var(--radius-card); background: linear-gradient(rgba(255,255,255,0.02), rgba(255,255,255,0.02)), var(--bg-base);
  margin-bottom: 14px;
}
.excerpt-row.active { border-color: var(--accent-teal); box-shadow: 0 0 0 1px var(--accent-teal), 0 0 24px rgba(45,217,199,0.15); }
.excerpt-row:nth-child(odd) { transform: rotate(calc(-1 * var(--track-tilt-max))); }
.excerpt-row:nth-child(even) { transform: rotate(var(--track-tilt-max)); }
.excerpt-play { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; background: rgba(45,217,199,0.14); color: var(--accent-teal-text); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.excerpt-row.active .excerpt-play { background: var(--accent-teal); color: #04241f; }
.excerpt-info, .track-info { flex: 1; min-width: 0; }
.excerpt-title { font-size: 15px; font-weight: 500; margin: 0; }
.track-title { font-size: 15px; font-weight: 500; margin: 0; color: var(--text-primary); text-decoration: none; display: inline-block; }
.track-title:hover { color: var(--accent-teal-text); }
.excerpt-album { font-family: var(--font-voice); font-style: italic; font-size: 13px; color: var(--text-muted); margin: 2px 0 0; }
.excerpt-dur { font-size: 13px; color: var(--text-muted); flex-shrink: 0; }
.track-num { width: 24px; flex-shrink: 0; color: var(--text-muted); font-size: 13px; }
.track-right-meta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.track-live-pos { font-size: 13px; color: var(--text-muted); flex-shrink: 0; min-width: 30px; text-align: right; }

/* ===== Carousel ===== */
.carousel-row { display: flex; align-items: center; gap: 14px; justify-content: center; }
.carousel-arrow { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; border: 1px solid var(--border-strong); background: transparent; color: var(--text-secondary); display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; }
.carousel-track { display: flex; gap: 16px; overflow: hidden; justify-content: center; }
.album-card { flex-shrink: 0; width: 190px; text-align: center; }
.album-cover {
  width: 190px; height: 190px; border-radius: var(--radius-card);
  background: linear-gradient(135deg, #3a3f52, #1a1f2e);
  border: 1px solid transparent; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 13px; color: var(--text-muted);
  overflow: hidden; text-decoration: none;
  transition: border-color 0.15s ease;
}
.album-cover img { width: 100%; height: 100%; object-fit: cover; }
.album-cover:hover { border-color: var(--accent-teal); }
.album-card.center .album-cover { border-color: var(--accent-teal); box-shadow: 0 0 0 1px var(--accent-teal), 0 0 30px rgba(45,217,199,0.25); }
.album-year { font-size: 13px; color: var(--text-muted); margin: 0; }
.album-name { font-size: 14px; font-weight: 500; margin: 2px 0 0; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin: 26px 0 0; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); }
.dot.on { background: var(--accent-teal); width: 20px; border-radius: 3px; }
.view-all { text-align: center; margin-top: 24px; }
.view-all a { color: var(--text-secondary); font-size: 14px; text-decoration: none; }

/* ===== All Songs page ===== */
.song-list-album { max-width: 640px; margin: 0 auto 56px; }
.song-list-album-header { display: flex; flex-direction: column; align-items: center; margin-bottom: 24px; }
.song-list-tracks { display: flex; flex-direction: column; }
.song-list-row { display: flex; align-items: center; gap: 14px; padding: 10px 4px; }
.song-list-num { width: 22px; flex-shrink: 0; text-align: right; color: var(--text-muted); font-size: 13px; }
.song-list-title { flex: 1; min-width: 0; font-size: 15px; font-weight: 500; color: var(--text-primary); text-decoration: none; }
.song-list-title:hover { color: var(--accent-teal-text); }
.song-list-play-btn { width: 32px; height: 32px; font-size: 12px; border: none; cursor: pointer; }

/* ===== All Albums page ===== */
.albums-strip-row { display: flex; align-items: center; gap: 14px; justify-content: center; max-width: var(--container-max-width); margin: 0 auto; padding: 0 24px; }
.albums-strip-track { display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth; padding: 4px; }
.albums-strip-track::-webkit-scrollbar { height: 6px; }
.albums-strip-track::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.strip-thumb { flex-shrink: 0; width: 180px; height: 180px; border-radius: var(--radius-control); overflow: hidden; border: 1px solid transparent; cursor: pointer; background: linear-gradient(135deg, #3a3f52, #1a1f2e); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text-muted); text-align: center; transition: border-color 0.15s ease; }
.strip-thumb.is-fallback { padding: 8px; }
.strip-thumb img { width: 100%; height: 100%; object-fit: cover; }
.strip-thumb:hover { border-color: var(--accent-teal); }
.strip-thumb.active { border-color: var(--accent-teal); }

.album-detail-block {
  max-width: var(--container-max-width); margin: 0 auto; padding: 60px 24px;
  display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start;
  scroll-margin-top: 40px;
}
.album-detail-block.cover-right { grid-template-columns: 1fr 340px; }
.album-detail-block.cover-right .album-detail-cover { order: 2; }
@media (max-width: 680px) {
  .album-detail-block, .album-detail-block.cover-right { grid-template-columns: 1fr; gap: 24px; }
  .album-detail-block .album-detail-cover, .album-detail-block.cover-right .album-detail-cover { order: -1; max-width: 280px; margin: 0 auto; }
}
.album-detail-cover {
  width: 100%; max-width: 340px; aspect-ratio: 1 / 1; border-radius: var(--radius-card);
  background: linear-gradient(135deg, #3a3f52, #1a1f2e);
  border: 1px solid transparent;
  box-shadow: 0 0 var(--cover-halo-size, 0px) rgba(45,217,199,0.22);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); color: var(--text-muted); font-size: 14px;
  overflow: hidden; text-decoration: none;
}
body.cover-border-on .album-detail-cover { border-color: var(--accent-teal); }
.album-detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.album-detail-cover.tilt-toward-left { transform: rotate(calc(-1 * var(--cover-tilt-max, 3deg))); }
.album-detail-cover.tilt-toward-right { transform: rotate(var(--cover-tilt-max, 3deg)); }
.album-detail-year { font-size: 14px; color: var(--text-muted); margin: 0 0 6px; }
.album-detail-title { font-family: var(--type-heading-font); font-weight: var(--type-heading-weight); font-style: var(--type-heading-style); text-decoration: var(--type-heading-decoration); font-size: 30px; margin: 0 0 16px; }
.album-detail-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.album-detail-tags .tag-plain { font-size: 12px; font-weight: 500; padding: 6px 16px; border-radius: var(--radius-pill); border: 1px solid rgba(45,217,199,0.4); color: var(--accent-teal-text); background: rgba(45,217,199,0.06); }
.album-detail-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Featured album ===== */
.featured-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-script); font-size: 15px; color: var(--accent-purple-text);
  background: rgba(181,123,242,0.08); border: 1px solid rgba(181,123,242,0.3);
  padding: 6px 16px; border-radius: var(--radius-pill);
}
.featured-grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; margin-top: 20px; text-align: left; }
.featured-cover {
  width: 300px; height: 300px; border-radius: var(--radius-card);
  background: linear-gradient(135deg, #3a3f52, #1a1f2e);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); color: var(--text-muted); font-size: 14px;
  transform: rotate(-2.5deg); transition: transform 0.3s ease;
  overflow: hidden;
}
.featured-cover:hover { transform: rotate(0deg); }
.featured-cover img { width: 100%; height: 100%; object-fit: cover; }
.featured-year { color: var(--text-muted); font-size: 14px; margin: 0 0 6px; }
.featured-title { font-family: var(--type-heading-font); font-weight: var(--type-heading-weight); font-style: var(--type-heading-style); text-decoration: var(--type-heading-decoration); font-size: 32px; margin: 0 0 14px; }
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.tag { font-family: var(--type-tag-font); font-size: var(--type-tag-size); font-weight: var(--type-tag-weight); font-style: var(--type-tag-style); text-decoration: var(--type-tag-decoration); padding: 6px 16px; border-radius: var(--radius-pill); border: 1px solid rgba(45,217,199,0.4); color: var(--accent-teal-text); background: rgba(45,217,199,0.06); }
.featured-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: center; }
.about-image { width: 260px; height: 260px; border-radius: var(--radius-card); background: radial-gradient(circle at 35% 30%, #4a5568, #1a1f2e 70%); border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); color: var(--text-muted); font-size: 13px; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-heading { font-family: var(--type-heading-font); font-weight: var(--type-heading-weight); font-style: var(--type-heading-style); text-decoration: var(--type-heading-decoration); font-size: 27px; margin: 0 0 16px; }
.about-heading .grad { background: var(--gradient-brand-tight); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-text { color: var(--text-secondary); font-size: 15px; line-height: 1.75; margin: 0 0 14px; }
@media (max-width: 680px) { .about-grid, .featured-grid { grid-template-columns: 1fr; } .about-image, .featured-cover { margin: 0 auto; } }

/* ===== Stream tiles ===== */
.stream-grid { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.stream-item { width: 108px; padding: 18px 10px; border: 0.5px solid var(--border-default); border-radius: var(--radius-card); background: linear-gradient(rgba(255,255,255,0.02), rgba(255,255,255,0.02)), var(--bg-base); text-align: center; text-decoration: none; display: block; }
.stream-icon { display: flex; justify-content: center; margin-bottom: 8px; }
.stream-name { font-size: 13px; color: var(--text-secondary); }

/* ===== WPForms override layer (applied once WPForms is installed) ===== */
.wpforms-container .wpforms-field-container { text-align: left; }
.wpforms-container .wpforms-field { margin-bottom: 18px; }
.wpforms-container .wpforms-field-label { display: block; font-family: var(--font-ui); font-size: 12px; color: var(--accent-teal-text); margin-bottom: 6px; }
.wpforms-container input[type=text], .wpforms-container input[type=email], .wpforms-container textarea {
  width: 100%; background: linear-gradient(rgba(255,255,255,0.02), rgba(255,255,255,0.02)), var(--bg-base); border: 0.5px solid var(--border-strong) !important;
  border-radius: var(--radius-control); padding: 12px 14px; color: var(--text-primary); font-family: var(--font-ui); font-size: 14px;
}
.wpforms-container textarea { min-height: 120px; }
.wpforms-container button[type=submit] {
  font-family: var(--font-ui); font-size: 14px; font-weight: 500; padding: 13px 30px;
  border-radius: var(--radius-pill) !important; border: none !important; cursor: pointer;
  background: var(--accent-purple) !important; color: #1a0a2e !important;
}
.form-footnote { font-size: 12px; color: var(--text-muted); margin-top: 16px; text-align: center; }

/* ===== Donation ===== */
.amount-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.amount-btn { padding: 10px 20px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: linear-gradient(rgba(255,255,255,0.02), rgba(255,255,255,0.02)), var(--bg-base); color: var(--text-secondary); font-family: var(--font-ui); font-size: 14px; cursor: pointer; }
.custom-amount { display: flex; align-items: center; gap: 8px; max-width: 260px; margin: 0 auto 22px; border: 0.5px solid var(--border-strong); border-radius: var(--radius-control); padding: 10px 16px; color: var(--text-muted); }
.custom-amount input { border: none; background: transparent; color: var(--text-primary); font-family: var(--font-ui); font-size: 14px; width: 100%; outline: none; }
.btn-paypal { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-teal); color: #04241f; font-family: var(--font-ui); font-size: 14px; font-weight: 500; padding: 12px 26px; border-radius: var(--radius-pill); border: none; cursor: pointer; text-decoration: none; }

/* ===== Newsletter signup ===== */
.signup-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.signup-input { flex: 1; min-width: 220px; max-width: 300px; background: linear-gradient(rgba(255,255,255,0.02), rgba(255,255,255,0.02)), var(--bg-base); border: 0.5px solid var(--border-strong); border-radius: var(--radius-pill); padding: 12px 18px; color: var(--text-primary); font-family: var(--font-ui); font-size: 14px; }
.btn-subscribe { background: var(--accent-purple); color: #1a0a2e; font-family: var(--font-ui); font-size: 14px; font-weight: 500; padding: 12px 26px; border-radius: var(--radius-pill); border: none; cursor: pointer; }

/* ===== Header ===== */
.sleeve-header { width: 100%; z-index: 100; background: var(--bg-base); }
.sleeve-header--sticky,
.sleeve-header--hide_show { position: fixed; top: 0; left: 0; }
.sleeve-header--hide_show { transition: transform 0.3s ease; }
.sleeve-header--hide_show.sleeve-header--hidden { transform: translateY(-100%); }
.sleeve-header--static { position: static; }
body.sleeve-header-fixed-space { padding-top: 76px; } /* applied via JS when sticky/hide_show, so content isn't hidden under the fixed bar */

.sleeve-header__inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: grid;
  /* grid-template-columns is set inline per-request (see header.php) using
     plain fr values computed from the Customizer width weights — calc()
     combined with fr units isn't reliably supported across browsers, so
     we avoid it entirely rather than risk zones dropping to separate rows. */
  align-items: center;
  gap: 16px;
}

.sleeve-header__zone { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sleeve-header__zone--left { justify-content: flex-start; text-align: left; }
.sleeve-header__zone--middle { justify-content: center; text-align: center; }
.sleeve-header__zone--right { justify-content: flex-end; text-align: right; }

.sleeve-header__combo { display: inline-flex; align-items: center; gap: 10px; }
.sleeve-header__logo-link.logo-badge { width: 44px; height: 44px; display: block; }
.sleeve-header__name { text-decoration: none; white-space: nowrap; }

.sleeve-header__menu { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; margin: 0; padding: 0; }
.sleeve-header__menu a { text-decoration: none; color: inherit; }
.sleeve-header__menu a:hover { color: var(--accent-teal-text); }

.sleeve-header__social { display: flex; align-items: center; gap: 12px; }
.sleeve-header__social-link { display: inline-flex; }
.social-icon-chip { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; }

/* Text Type (role) + Color selectable per zone from the Customizer */
.type-role-hero    { font-family: var(--type-hero-font);    font-size: var(--type-hero-size);    font-weight: var(--type-hero-weight);    font-style: var(--type-hero-style);    text-decoration: var(--type-hero-decoration); }
.type-role-heading { font-family: var(--type-heading-font); font-size: var(--type-heading-size); font-weight: var(--type-heading-weight); font-style: var(--type-heading-style); text-decoration: var(--type-heading-decoration); }
.type-role-label   { font-family: var(--type-label-font);   font-size: var(--type-label-size);   font-weight: var(--type-label-weight);   font-style: var(--type-label-style);   text-decoration: var(--type-label-decoration); }
.type-role-voice   { font-family: var(--type-voice-font);   font-size: var(--type-voice-size);   font-weight: var(--type-voice-weight);   font-style: var(--type-voice-style);   text-decoration: var(--type-voice-decoration); }
.type-role-ui      { font-family: var(--type-ui-font);      font-size: var(--type-ui-size);      font-weight: var(--type-ui-weight);      font-style: var(--type-ui-style);      text-decoration: var(--type-ui-decoration); }
.type-role-tag     { font-family: var(--type-tag-font);     font-size: var(--type-tag-size);     font-weight: var(--type-tag-weight);     font-style: var(--type-tag-style);     text-decoration: var(--type-tag-decoration); }

.color-role-teal   { color: var(--accent-teal-text); }
.color-role-purple { color: var(--accent-purple-text); }
.color-role-text1  { color: var(--text1); }
.color-role-text2  { color: var(--text2); }
.color-role-bg     { color: var(--bg-base); }

/* --- Mobile: logo + hamburger, desktop zones hidden below breakpoint --- */
.sleeve-header__mobile-bar { display: none; align-items: center; justify-content: space-between; }
.sleeve-header__mobile-menu { display: none; }

@media (max-width: 780px) {
  .sleeve-header__inner { display: flex; }
  .sleeve-header__zone { display: none; }
  .sleeve-header__mobile-bar { display: flex; width: 100%; }

  .sleeve-header__mobile-logo.logo-badge { width: 40px; height: 40px; }

  .sleeve-header__hamburger {
    width: 32px; height: 32px; display: flex; flex-direction: column; justify-content: center; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 0;
  }
  .sleeve-header__hamburger span { display: block; height: 2px; width: 100%; background: var(--hamburger-color, var(--text-primary)); }

  .sleeve-header__mobile-menu[hidden] { display: none; }
  .sleeve-header__mobile-menu:not([hidden]) {
    display: block; position: fixed; inset: 0; top: 64px;
    background: var(--bg-base); padding: 24px; overflow-y: auto; z-index: 99;
  }
  .sleeve-header__mobile-menu .sleeve-header__menu { flex-direction: column; gap: 16px; }
  .sleeve-header__mobile-menu .sleeve-header__social { margin-top: 20px; }
}

/* ===== Footer ===== */
.sleeve-footer { width: 100%; margin-top: 40px; border-top: 0.5px solid var(--border-default); }

.sleeve-footer__inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 24px;
  display: grid;
  /* grid-template-columns set inline per-request from the Customizer width weights (see footer.php) */
  align-items: center;
  gap: 16px;
}

.sleeve-footer__zone { display: flex; align-items: center; gap: 14px; min-width: 0; flex-wrap: wrap; }
.sleeve-footer__zone--left { justify-content: flex-start; text-align: left; }
.sleeve-footer__zone--middle { justify-content: center; text-align: center; }
.sleeve-footer__zone--right { justify-content: flex-end; text-align: right; }

.sleeve-footer__combo { display: inline-flex; align-items: center; gap: 10px; }
.sleeve-footer__name { text-decoration: none; white-space: nowrap; }
.sleeve-footer__copyright { white-space: nowrap; }

.sleeve-footer__menu { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.sleeve-footer__menu a { text-decoration: none; color: inherit; }
.sleeve-footer__menu a:hover { color: var(--accent-teal-text); }

.sleeve-footer__social { display: flex; align-items: center; gap: 12px; }
.sleeve-footer__social-link { display: inline-flex; }

.sleeve-footer__widget-area { width: 100%; }
.sleeve-footer__widget { margin-bottom: 12px; }
.sleeve-footer__widget-title { margin: 0 0 8px 0; }

@media (max-width: 780px) {
  .sleeve-footer__inner { display: flex; flex-direction: column; text-align: center; gap: 20px; }
  .sleeve-footer__zone--left,
  .sleeve-footer__zone--middle,
  .sleeve-footer__zone--right { justify-content: center; text-align: center; width: 100%; }
}

/* ===== Persistent mini-player (sitewide) ===== */
#sleeve-top-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--accent-teal); z-index: 10000;
  transition: width 0.2s linear;
}
#sleeve-mini-player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  background: var(--bg-base);
  border-top: 0.5px solid var(--border-default);
  padding: 12px 20px;
  display: none;
  align-items: center;
  gap: 16px;
  max-width: 100%;
}
#sleeve-mini-player.active { display: flex; }
.mp-cover { width: 48px; height: 48px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: linear-gradient(135deg, #3a3f52, #1a1f2e); }
.mp-cover img { width: 100%; height: 100%; object-fit: cover; }
.mp-info { min-width: 0; flex-shrink: 0; width: 200px; }
.mp-title { font-size: 14px; font-weight: 500; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-sub { font-size: 12px; color: var(--text-muted); margin: 2px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mp-btn { background: none; border: none; color: var(--text-secondary); font-size: 16px; cursor: pointer; padding: 4px; }
.mp-play-pause { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-teal); color: #04241f; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.mp-scrub-row { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.mp-time { font-size: 12px; color: var(--text-muted); flex-shrink: 0; width: 34px; }
.mp-time.mp-time-end { text-align: right; }
.mp-scrubber { flex: 1; accent-color: var(--accent-teal); }
.mp-close { background: none; border: none; color: var(--text-muted); font-size: 16px; cursor: pointer; flex-shrink: 0; }
@media (max-width: 720px) {
  .mp-info { width: 120px; }
  #sleeve-mini-player { gap: 10px; padding: 10px 12px; }
}

/* ===== Single Track page ===== */
.track-hero { display: grid; grid-template-columns: 220px 1fr; gap: 44px; max-width: var(--container-max-width); margin: 0 auto; padding: 60px 24px 40px; align-items: start; }
.track-hero-cover {
  width: 100%; max-width: 220px; aspect-ratio: 1 / 1; border-radius: var(--radius-card);
  background: linear-gradient(135deg, #3a3f52, #1a1f2e);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); color: var(--text-muted); font-size: 13px;
  overflow: hidden;
}
.track-hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.track-hero-title.hero-title { margin: 0 0 6px; }
.track-hero-album.section-label { text-align: left; margin: 0 0 4px; text-decoration: none; display: inline-block; }
.track-hero-year { color: var(--text-muted); font-size: 14px; margin: 6px 0 14px; }
.tag-small { font-family: var(--type-tag-font); font-size: var(--type-tag-size); font-weight: var(--type-tag-weight); font-style: var(--type-tag-style); text-decoration: var(--type-tag-decoration); padding: 4px 12px; border-radius: var(--radius-pill); border: 1px solid rgba(181,123,242,0.4); color: var(--accent-purple-text); background: rgba(181,123,242,0.06); }
.track-hero-controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.track-hero-platform-icons { display: flex; gap: 8px; }
.track-hero-platform-icons a { text-decoration: none; }
.track-lyrics-text { color: var(--text2); }
@media (max-width: 680px) { .track-hero { grid-template-columns: 1fr; } .track-hero-cover { margin: 0 auto; } }

/* ===== Single Post page (News) ===== */
.post-hero { max-width: var(--container-max-width); margin: 0 auto; padding: 60px 24px 0; text-align: center; }
.post-hero-title { margin: 0 0 14px; }
.post-hero-meta { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted); margin: 0 0 34px; }
.post-hero-image { max-width: 900px; margin: 0 auto 40px; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--border-default); }
.post-hero-image img { width: 100%; height: auto; display: block; }
.post-content-wrap {
  max-width: 720px; margin: 0 auto; padding: 0 24px 80px;
  font-family: var(--type-ui-font); font-size: var(--type-ui-size); font-weight: var(--type-ui-weight); font-style: var(--type-ui-style); text-decoration: var(--type-ui-decoration);
  color: var(--text-secondary); line-height: 1.7;
}
.post-content-wrap p { margin: 0 0 20px; }
.post-content-wrap img { max-width: 100%; height: auto; border-radius: var(--radius-card); }
.post-content-wrap a { color: var(--accent-teal-text); }
.post-content-wrap h2, .post-content-wrap h3, .post-content-wrap h4 { font-family: var(--type-heading-font); color: var(--text-primary); margin: 32px 0 12px; }
.post-content-wrap blockquote { border-left: 3px solid var(--accent-purple); background: rgba(181,123,242,0.06); border-radius: var(--radius-control); padding: 16px 20px; margin: 24px 0; font-family: var(--type-voice-font); font-style: var(--type-voice-style); color: var(--text-secondary); }
.post-content-wrap ul, .post-content-wrap ol { margin: 0 0 20px; padding-left: 22px; }
.post-content-wrap li { margin-bottom: 8px; }

/* ===== Album single page ===== */
.album-hero { display: grid; grid-template-columns: 340px 1fr; gap: 44px; max-width: var(--container-max-width); margin: 0 auto; padding: 60px 24px 40px; align-items: start; }
.album-hero-cover {
  width: 100%; max-width: 340px; aspect-ratio: 1 / 1; border-radius: var(--radius-card);
  background: linear-gradient(135deg, #3a3f52, #1a1f2e);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); color: var(--text-muted); font-size: 14px;
  overflow: hidden;
}
.album-hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.album-hero-year { color: var(--text-muted); font-size: 14px; margin: 0 0 4px; }
.album-hero-title { font-family: var(--type-heading-font); font-weight: var(--type-heading-weight); font-style: var(--type-heading-style); text-decoration: var(--type-heading-decoration); font-size: 34px; margin: 0 0 14px; }
.album-hero-meta { color: var(--text-muted); font-size: 14px; margin: 6px 0 20px; }
.album-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.album-about-box { max-width: var(--container-max-width); margin: 30px auto 0; padding: 0 24px; }
.album-about-inner { border: 0.5px solid var(--border-default); border-radius: var(--radius-card); background: rgba(255,255,255,0.02); padding: 30px; }
.album-about-heading { font-size: 15px; font-weight: 600; margin: 0 0 16px; }
.album-mood-influences-label { font-size: 11px; letter-spacing: 0.5px; color: var(--text-muted); text-transform: uppercase; margin: 20px 0 4px; }
.card-quote {
  border-left: 3px solid var(--accent-purple);
  background: rgba(181,123,242,0.05);
  border-radius: 0 var(--radius-control) var(--radius-control) 0;
  padding: 18px 22px;
  font-family: var(--type-voice-font); font-style: var(--type-voice-style); font-weight: var(--type-voice-weight); text-decoration: var(--type-voice-decoration);
  color: var(--text-secondary);
  font-size: var(--type-voice-size);
  line-height: 1.7;
}

.track-platform-icons { display: inline-flex; gap: 5px; margin-left: 8px; vertical-align: middle; }
.track-platform-icons a { text-decoration: none; }
.track-lyrics-tag { font-size: 12px; color: var(--text-muted); margin: 2px 0 0; }
.track-scrub-row { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.track-scrubber { width: 90px; accent-color: var(--accent-teal); }

.album-news-box { max-width: var(--container-max-width); margin: 40px auto 0; padding: 0 24px 60px; }
.album-news-heading { font-size: 15px; font-weight: 600; margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
.album-news-list { display: flex; flex-direction: column; gap: 14px; }
.album-news-list.scrollable { max-height: 420px; overflow-y: auto; padding-right: 6px; }
.album-news-item { display: flex; gap: 16px; border: 0.5px solid var(--border-default); border-radius: var(--radius-card); background: rgba(255,255,255,0.02); padding: 16px; align-items: center; }
.album-news-item.is-clickable { cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.album-news-item.is-clickable:hover { border-color: var(--accent-teal); box-shadow: 0 0 0 1px var(--accent-teal), 0 0 20px rgba(45,217,199,0.12); }
.album-news-thumb { width: 90px; height: 70px; border-radius: var(--radius-control); overflow: hidden; flex-shrink: 0; background: linear-gradient(135deg, #3a3f52, #1a1f2e); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 20px; }
.album-news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.album-news-title { font-family: var(--type-label-font); font-size: var(--type-label-size); font-weight: var(--type-label-weight); font-style: var(--type-label-style); text-decoration: var(--type-label-decoration); color: var(--accent-purple-text); margin: 0 0 4px; }
.album-news-excerpt { font-family: var(--type-voice-font); font-size: var(--type-voice-size); font-weight: var(--type-voice-weight); font-style: var(--type-voice-style); text-decoration: var(--type-voice-decoration); color: var(--text-secondary); margin: 0 0 6px; }
.album-news-date-row { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.album-news-date-row a { color: var(--accent-teal-text); text-decoration: none; }
.news-album-pill-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.album-news-mini-thumb { width: 22px; height: 22px; border-radius: 5px; object-fit: cover; flex-shrink: 0; }
.news-album-pill { display: inline-flex; align-items: center; background: var(--accent-purple); color: #1a0a2e; font-family: var(--font-ui); font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-pill); white-space: nowrap; }
.news-page-header { text-align: center; }
.news-page-heading { margin: 0 0 10px; }
.news-page-subtext { margin: 0 0 34px; }
.news-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
.news-pagination .page-numbers { padding: 8px 14px; border-radius: var(--radius-pill); border: 1px solid var(--border-strong); color: var(--text-secondary); font-size: 13px; text-decoration: none; line-height: 1; display: inline-block; }
.news-pagination .page-numbers.current { background: var(--accent-teal); color: #04241f; border-color: var(--accent-teal); }
.news-pagination .page-numbers.dots { border: none; padding: 8px 2px; }
@media (max-width: 680px) { .album-hero { grid-template-columns: 1fr; } .album-hero-cover { margin: 0 auto; } }

/* ==========================================================================
   Standard WordPress content classes — used by core when rendering images,
   galleries, and captions inserted via the block/classic editor, and by
   core template tags (post_class(), wp_list_comments()) for post-state and
   comment-author styling. Present so content added through the editor
   displays correctly regardless of theme.
   ========================================================================== */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; margin-bottom: 16px; }
.wp-caption img { max-width: 100%; height: auto; display: block; }
.wp-caption-text,
.gallery-caption {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  padding: 8px 4px;
}
.sticky { border-left: 3px solid var(--accent-teal); padding-left: 14px; }
.bypostauthor { }
.post-pagination { margin-top: 24px; font-family: var(--font-ui); font-size: 14px; color: var(--text-secondary); }
.post-pagination a { color: var(--accent-teal-text); text-decoration: none; margin: 0 4px; }
.post-tags { margin-top: 24px; font-family: var(--font-ui); font-size: 13px; color: var(--text-muted); }
.post-tags a { color: var(--text-secondary); text-decoration: none; }
.post-tags a:hover { color: var(--accent-teal-text); }
