/* ═══════════════════════════════════════════════
   MICHAEL UZOMAH — SACRED MUSIC COMPOSER
   Main Stylesheet
   File: css/style.css
═══════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold:        #C9A84C;
  --gold-light:  #E8D5A0;
  --gold-dark:   #8B6914;
  --navy:        #0D1B3E;
  --navy-mid:    #1A2F5E;
  --navy-light:  #263D7A;
  --cream:       #FAF7F0;
  --cream-dark:  #F0EAD8;
  --text-dark:   #1a1208;
  --text-muted:  #5a4e35;
  --white:       #ffffff;
  --shadow:      0 8px 40px rgba(13,27,62,0.18);
  --shadow-sm:   0 2px 16px rgba(13,27,62,0.10);
  --nav-height:  70px;
  --transition:  0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  
}

/* ── UTILITY ── */
.text-center { text-align: center; }

.gold-text { color: var(--gold); }

/* ═══════════════════════════════
   NAVIGATION
═══════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13, 27, 62, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: var(--nav-height);
  transition: background var(--transition);
}

.nav-brand {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  line-height: 1.2;
  flex-shrink: 0;
}

.nav-brand span {
  color: rgba(232, 213, 160, 0.6);
  font-size: 0.6rem;
  display: block;
  letter-spacing: 0.22em;
  font-weight: 400;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  transition: color var(--transition);
  cursor: pointer;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

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

.nav-links a.active {
  border-bottom-color: var(--gold);
}

.nav-links .nav-contact-btn {
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.4);
  padding: 6px 18px;
  border-radius: 0;
  transition: all var(--transition);
}

.nav-links .nav-contact-btn:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  display: block;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════════════════════════
   PAGES
═══════════════════════════════ */
.page {
  display: none;
  padding-top: var(--nav-height);
  min-height: 100vh;
}

.page.active {
  display: block;
}

/* ═══════════════════════════════
   BUTTONS
═══════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: var(--gold-light);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
}

/* ═══════════════════════════════
   HERO SECTION
═══════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #162550 100%);
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 3rem;
  padding: 8rem 5% 5rem 6%;
  overflow: hidden;
}

/* Subtle background glow */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 70% at 30% 55%, rgba(201,168,76,0.05) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 80% 40%, rgba(26,47,94,0.8)    0%, transparent 70%);
  pointer-events: none;
}

/* ── LEFT: text ── */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: fadeUp 0.7s ease both;
}

.hero-eyebrow::before {
  content: '';
  width: 38px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
  flex-shrink: 0;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--white);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  animation: fadeUp 0.7s ease both 0.1s;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  color: rgba(255,255,255,0.5);
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
  animation: fadeUp 0.7s ease both 0.2s;
}

.hero-quote {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-light);
  font-size: 1.1rem;
  font-style: italic;
  max-width: 480px;
  line-height: 1.75;
  opacity: 0.88;
  margin-bottom: 2.5rem;
  padding-left: 1.2rem;
  border-left: 2px solid rgba(201,168,76,0.35);
  animation: fadeUp 0.7s ease both 0.3s;
}

.hero-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease both 0.4s;
}

/* ── RIGHT: photo frame ── */
.hero-photo-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  justify-self: center;
  animation: fadeUp 0.9s ease both 0.2s;
}

.hero-photo-inner {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background: rgba(13,27,62,0.5);
  border: 1px solid rgba(201,168,76,0.2);
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Placeholder shown when no photo file exists */
.hero-ph-placeholder {
  display: none; /* shown via onerror on the img */
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(13,27,62,0.6);
  text-align: center;
  padding: 2rem;
  border: 2px dashed rgba(201,168,76,0.4);
}

/* img onerror sets display:none on img and display:flex on this */
.hero-ph-placeholder.visible,
#heroPh[style*="flex"] {
  display: flex !important;
}

.hero-ph-placeholder .ph-icon {
  font-size: 3rem;
  line-height: 1;
}

.hero-ph-placeholder .ph-title {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.8);
}

.hero-ph-placeholder .ph-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  border: 1px dashed rgba(201,168,76,0.25);
  padding: 0.5rem 0.9rem;
}

.hero-ph-placeholder .ph-label code {
  color: rgba(201,168,76,0.7);
  font-size: 0.68rem;
  font-family: monospace;
}

/* Gold corner accent lines */
.frame-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.5;
  z-index: 3;
}
.frame-tl { top: -6px;  left: -6px;  border-width: 2px 0 0 2px; }
.frame-tr { top: -6px;  right: -6px; border-width: 2px 2px 0 0; }
.frame-bl { bottom: -6px; left: -6px;  border-width: 0 0 2px 2px; }
.frame-br { bottom: -6px; right: -6px; border-width: 0 2px 2px 0; }

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.28);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
  0%,100% { opacity:0.3; transform:scaleY(0.6); }
  50%      { opacity:1;   transform:scaleY(1);   }
}

/* ── HERO RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    padding: 8rem 4% 5rem 5%;
  }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: 7rem 1.5rem 4rem;
    text-align: left;
    gap: 2.5rem;
  }

  .hero-photo-frame {
    order: -1;
    max-width: 240px;
    justify-self: flex-start;
  }

  .hero h1 { font-size: clamp(2.8rem, 12vw, 4rem); }
  .hero-quote { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero {
    padding: 6.5rem 1.2rem 3.5rem;
    gap: 2rem;
  }

  .hero-photo-frame { max-width: 200px; }

  .hero h1 { font-size: clamp(2.5rem, 14vw, 3.5rem); }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════
   FEATURES STRIP
═══════════════════════════════ */
.features-strip {
  background: var(--navy);
  padding: 4rem 2rem;
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(201, 168, 76, 0.12);
}

.feature-card {
  background: var(--navy-mid);
  padding: 2.5rem 1.8rem;
  text-align: center;
  transition: background var(--transition);
}

.feature-card:hover {
  background: var(--navy-light);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--gold);
  font-size: 1.3rem;
}

.feature-card h3 {
  font-family: 'Cinzel', serif;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* ═══════════════════════════════
   HOME — LATEST SECTION
═══════════════════════════════ */
.section {
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  font-family: 'Cinzel', serif;
  color: var(--gold-dark);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
  font-size: 0.93rem;
}

.latest-section { background: var(--cream); }

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.work-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  padding: 2rem;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}

.work-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
}

.work-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.work-tag {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  background: rgba(201, 168, 76, 0.1);
  padding: 3px 10px;
  margin-bottom: 0.8rem;
}

.work-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.work-card p {
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.work-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25s;
}

.btn-sm-gold {
  background: var(--gold);
  color: var(--navy);
  border: 1px solid var(--gold);
}

.btn-sm-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

.btn-sm-ghost {
  background: transparent;
  border: 1px solid var(--cream-dark);
  color: var(--text-muted);
}

.btn-sm-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

/* Ornament divider */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem auto;
  color: var(--gold);
  opacity: 0.4;
  font-size: 1rem;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  max-width: 100px;
  height: 1px;
  background: var(--gold);
}

/* ═══════════════════════════════
   PAGE HEADER (compositions, etc.)
═══════════════════════════════ */
.page-header {
  background: var(--navy);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-header-tag {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.page-header-tag::before,
.page-header-tag::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}

.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 0.8rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.45);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
}

/* ═══════════════════════════════
   FILTER BAR
═══════════════════════════════ */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  padding: 1rem 2rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
}

.filter-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-right: 0.3rem;
}

.filter-btn {
  padding: 0.42rem 1.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--cream-dark);
  background: transparent;
  color: var(--text-muted);
  transition: all 0.22s;
  font-family: 'Lato', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}

/* ═══════════════════════════════
   COMPOSITIONS GRID
═══════════════════════════════ */
.compositions-section {
  padding: 4rem 2rem;
  background: var(--cream);
}

.compositions-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.comp-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.comp-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.comp-card-top {
  background: var(--navy-mid);
  padding: 1.8rem 1.5rem 1.5rem;
  position: relative;
}

.comp-number {
  position: absolute;
  top: 1rem; right: 1.2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: rgba(201, 168, 76, 0.12);
  line-height: 1;
}

.comp-category {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.comp-card-top h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 0.3rem;
  padding-right: 2.5rem;
}

.comp-sub {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.8rem;
  font-style: italic;
}

.comp-card-body {
  padding: 1.3rem 1.5rem;
}

.comp-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.9rem;
  font-size: 0.74rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.comp-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.comp-actions {
  display: flex;
  gap: 0.6rem;
}

.comp-btn {
  flex: 1;
  padding: 0.65rem 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.22s;
  font-family: 'Lato', sans-serif;
  border: none;
}

.comp-btn-pdf {
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
}

.comp-btn-pdf:hover {
  background: var(--gold-dark);
  color: var(--white);
}

.comp-btn-audio {
  background: var(--navy);
  color: var(--gold);
  border: 1px solid var(--navy-light);
}

.comp-btn-audio:hover {
  background: var(--navy-light);
}

/* Audio player strip */
.audio-strip {
  background: rgba(13, 27, 62, 0.04);
  border-top: 1px solid var(--cream-dark);
  padding: 0.7rem 1.5rem;
  display: none;
  align-items: center;
  gap: 0.8rem;
}

.audio-strip.visible {
  display: flex;
}

.audio-strip audio {
  flex: 1;
  height: 30px;
  min-width: 0;
}

.audio-dl {
  font-size: 0.68rem;
  color: var(--gold-dark);
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition);
}

.audio-dl:hover { color: var(--navy); }

/* ═══════════════════════════════
   ABOUT HERO
═══════════════════════════════ */
.about-hero {
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  overflow: hidden;
}

.about-hero-text {
  padding: 6rem 4rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.about-hero-text .section-tag {
  color: var(--gold);
}

.about-name {
  font-family: 'Cormorant Garamond', serif;
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.0;
  margin-bottom: 1.5rem;
}

.about-hero-text p {
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.85;
  font-size: 0.93rem;
}

.about-hero-img {
  position: relative;
  overflow: hidden;
  background: var(--navy-light);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  position: absolute;
  inset: 0;
}

.about-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* Avatar placeholder (shown when no photo) */
.avatar-placeholder {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid rgba(201, 168, 76, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 27, 62, 0.6);
  z-index: 1;
}

.avatar-initials {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: var(--gold);
}

/* ═══════════════════════════════
   ABOUT BODY
═══════════════════════════════ */
.about-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 1rem;
}

.about-block h3,
.about-block-title {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--cream-dark);
}

.about-block p {
  color: var(--text-muted);
  line-height: 1.85;
  font-size: 0.93rem;
  margin-bottom: 0.9rem;
}

/* Timeline */
.timeline { margin: 1rem 0 2rem; }

.timeline-title {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--cream-dark);
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.timeline-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-dark);
  min-width: 50px;
  padding-top: 2px;
  flex-shrink: 0;
}

.timeline-content {
  border-left: 1px solid var(--cream-dark);
  padding-left: 1.5rem;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -4px; top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--cream);
}

.timeline-content h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.timeline-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Composer quote */
.composer-quote-block {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.composer-quote-block .about-block-title {
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 1.5rem;
}

.composer-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.quote-attr {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
}

/* ═══════════════════════════════
   CONTACT BAND
═══════════════════════════════ */
.contact-band {
  background: var(--navy);
  padding: 5rem 2rem;
  text-align: center;
}

.contact-band h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  margin-bottom: 0.8rem;
}

.contact-band p {
  color: rgba(255, 255, 255, 0.42);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  margin-bottom: 2.2rem;
}

.contact-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
footer {
  background: #060d1e;
  color: rgba(255, 255, 255, 0.28);
  text-align: center;
  padding: 2.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}

/* ═══════════════════════════════
   ANIMATIONS
═══════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — TABLET (max-width: 1024px)
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 0 2rem; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compositions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-hero-img {
    min-height: 380px;
    order: -1;
  }

  .about-hero-text {
    padding: 4rem 3rem;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .hero-content {
    padding-left: clamp(1rem, 4vw, 3rem);
    max-width: 580px;
  }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE LARGE (max-width: 768px)
═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  /* Nav */
  nav { padding: 0 1.4rem; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(13, 27, 62, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 2rem 1.8rem;
    gap: 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    align-items: flex-start;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 0.9rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    width: 100%;
  }

  .nav-links .nav-contact-btn {
    margin-top: 0.8rem;
    text-align: center;
    padding: 0.75rem 0;
    border: 1px solid rgba(201,168,76,0.4);
    border-radius: 0;
  }

  .hamburger { display: flex; }

  /* Hero */
  .hero {
    align-items: flex-end;
    padding: 8rem 1.5rem 3.5rem;
    min-height: 100svh;
  }

  .hero-overlay {
    background: linear-gradient(
      to top,
      rgba(13, 27, 62, 0.95) 0%,
      rgba(13, 27, 62, 0.75) 50%,
      rgba(13, 27, 62, 0.4) 100%
    );
  }

  .hero-content {
    padding-left: 0;
    text-align: left;
    max-width: 100%;
    margin: 0;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .hero-cross { display: none; }

  .hero-eyebrow { font-size: 0.62rem; }

  .hero-quote {
    font-size: 1rem;
    max-width: 100%;
    display: none; /* hidden on small screens to keep it clean */
  }

  .hero-actions {
    gap: 0.8rem;
  }

  .hero-actions .btn {
    padding: 0.75rem 1.6rem;
    font-size: 0.7rem;
  }

  /* Features */
  .features-strip { padding: 3rem 1.5rem; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
  }

  .feature-card { padding: 2rem 1.2rem; }
  .feature-card h3 { font-size: 0.78rem; }
  .feature-card p  { font-size: 0.8rem; }

  /* Works */
  .section { padding: 4rem 1.5rem; }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  /* Compositions */
  .filter-bar { padding: 0.8rem 1.2rem; gap: 0.4rem; }
  .filter-label { display: none; }
  .filter-btn { padding: 0.38rem 0.85rem; font-size: 0.66rem; }

  .compositions-section { padding: 2.5rem 1.2rem; }

  .compositions-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  /* About */
  .about-hero { grid-template-columns: 1fr; }

  .about-hero-img {
    min-height: 300px;
    order: -1;
  }

  .about-hero-text {
    padding: 3rem 1.5rem;
  }

  .about-body { padding: 3rem 1.5rem; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-band { padding: 4rem 1.5rem; }

  .page-header { padding: 4rem 1.5rem 3rem; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE SMALL (max-width: 480px)
═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .nav-brand { font-size: 0.95rem; }
  .nav-brand span { font-size: 0.52rem; }

  .hero { padding: 7rem 1.2rem 3rem; }

  .hero h1 { font-size: clamp(2.5rem, 16vw, 3.5rem); }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn { width: 100%; justify-content: center; }

  .features-grid { grid-template-columns: 1fr; }

  .feature-card { padding: 1.8rem 1.5rem; }

  .comp-actions { flex-direction: column; }

  .comp-btn { flex: unset; width: 100%; }

  .timeline-item { flex-direction: column; gap: 0.4rem; }

  .timeline-year { font-size: 0.85rem; }

  .timeline-content { padding-left: 1rem; }

  .composer-quote { font-size: 1.15rem; }

  .filter-bar { gap: 0.35rem; }

  .filter-btn { padding: 0.35rem 0.7rem; font-size: 0.62rem; }

  .contact-links { flex-direction: column; align-items: center; }

  .btn { padding: 0.8rem 1.8rem; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — VERY SMALL (max-width: 360px)
═══════════════════════════════════════════════════════ */
@media (max-width: 360px) {
  .hero h1 { font-size: 2.4rem; }
  .nav-brand span { display: none; }
  .filter-btn { font-size: 0.58rem; padding: 0.32rem 0.6rem; }
}


/* ═══════════════════════════════════════════════════════
   COMPOSITION POST-CARD LAYOUT
   (blog-style: text left, image right, audio + download)
═══════════════════════════════════════════════════════ */

.compositions-section {
  padding: 3rem 2rem 5rem;
  background: var(--cream);
}

.comp-list {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Individual post card ── */
.post-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-top: none;
  padding: 2.8rem 2.5rem;
  position: relative;
  transition: box-shadow 0.3s;
}

.post-card:first-child {
  border-top: 1px solid var(--cream-dark);
}

.post-card:hover {
  box-shadow: 0 4px 32px rgba(13,27,62,0.10);
  z-index: 1;
}

/* left gold accent bar */
.post-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold), var(--gold-dark));
}

/* ── Body: content left + sidebar right ── */
.post-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}

/* ── Meta row (category badge + voices) ── */
.post-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}

.post-cat-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 12px;
}

.post-voices {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Post title ── */
.post-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.post-title em {
  color: var(--gold-dark);
  font-style: italic;
}

/* ── Description paragraphs ── */
.post-intro {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.85;
  margin-bottom: 0.9rem;
}

.post-intro strong em {
  color: var(--navy);
  font-style: italic;
}

/* ── Audio section heading ── */
.post-audio-section {
  margin-top: 1.6rem;
  margin-bottom: 1.4rem;
}

.post-audio-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.post-audio-title em { color: var(--gold-dark); font-style: italic; }

.post-audio-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
  line-height: 1.65;
}

/* ── Audio player block (styled like fadabarto) ── */
.post-player-block {
  background: linear-gradient(135deg, #1a6b6b 0%, #2a9d8f 50%, #e9c46a 100%);
  border-radius: 6px;
  padding: 0.9rem 1.2rem;
  margin-bottom: 0.6rem;
}

.post-player-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.post-player-thumb {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.post-player-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.post-player-initials {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  z-index: 1;
}

.post-player-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.post-player-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-player-artist {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.4rem;
}

.post-audio-el {
  width: 100%;
  height: 28px;
  accent-color: var(--gold);
}

/* ── Download buttons ── */
.post-downloads { margin-top: 1.6rem; }

.post-dl-title {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.9rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--cream-dark);
}

.post-dl-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.post-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.4rem;
  text-decoration: none;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  min-width: 200px;
}

.post-dl-audio {
  background: linear-gradient(135deg, #1a6b6b, #2a9d8f);
  color: #fff;
}

.post-dl-audio:hover {
  background: linear-gradient(135deg, #145555, #228070);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,107,107,0.35);
}

.post-dl-pdf {
  background: var(--navy);
  color: var(--gold-light);
  border: 1px solid var(--navy-light);
}

.post-dl-pdf:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,27,62,0.3);
}

.dl-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.dl-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.dl-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Lato', sans-serif;
}

.dl-sub {
  font-size: 0.68rem;
  opacity: 0.75;
  font-family: 'Lato', sans-serif;
}

/* ── RIGHT SIDEBAR IMAGE ── */
.post-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
}

.post-sidebar-img-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  background: var(--navy-mid);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-sidebar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.post-card:hover .post-sidebar-img {
  transform: scale(1.03);
}

/* Placeholder when no image is provided */
.post-sidebar-img-wrap.img-placeholder .post-sidebar-fallback {
  display: flex !important;
}

.post-sidebar-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  padding: 1rem;
  position: absolute;
  inset: 0;
}

.post-sidebar-fallback span {
  font-size: 3rem;
  opacity: 0.4;
}

.post-sidebar-fallback p {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Cinzel', serif;
  border: 1px dashed rgba(201,168,76,0.3);
  padding: 0.5rem 1rem;
  color: rgba(201,168,76,0.5);
}

.post-sidebar-caption {
  margin-top: 0.7rem;
  padding: 0.7rem 0.5rem;
  border-top: 1px solid var(--cream-dark);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.post-sidebar-caption strong {
  color: var(--navy);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.15rem;
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — POST CARDS
═══════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .post-body {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .post-sidebar {
    position: static;
    max-width: 360px;
  }

  .post-sidebar-img-wrap {
    aspect-ratio: 16 / 9;
  }

  .post-card {
    padding: 2rem 1.8rem;
  }
}

@media (max-width: 768px) {
  .compositions-section {
    padding: 2rem 1rem 4rem;
  }

  .post-card {
    padding: 1.8rem 1.4rem;
  }

  .post-dl-row {
    flex-direction: column;
  }

  .post-dl-btn {
    min-width: unset;
    width: 100%;
  }

  .post-sidebar {
    max-width: 100%;
  }

  .post-sidebar-img-wrap {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .post-card {
    padding: 1.4rem 1rem;
  }

  .post-title {
    font-size: 1.25rem;
  }

  .post-player-block {
    padding: 0.7rem 0.9rem;
  }

  .post-player-thumb {
    width: 44px;
    height: 44px;
  }
}

/* Admin nav link */
.nav-links .nav-admin-btn {
  color: rgba(255,255,255,0.3) !important;
  border: none !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.1em !important;
  padding: 0 !important;
  transition: color 0.2s !important;
}
.nav-links .nav-admin-btn:hover {
  color: rgba(201,168,76,0.6) !important;
  background: none !important;
}
