/* ==========================================================================
   HEERA MEDIA — design tokens
   Palette sampled directly from the brand logo:
     red   #EB2326   gold  #FFD706   ink/black #000000
   ========================================================================== */
:root {
  --void: #15100d;
  --void-2: #1e1712;
  --void-3: #291f16;
  --gold: #ffd706;
  --gold-deep: #c9960b;
  --red: #eb2326;
  --red-bright: #ff5459;
  --red-deep: #a8181b;
  --ivory: #faf3e4;
  --ivory-dim: #cfc3a6;
  --ink: #1c1712;

  --font-display: 'Amiri', 'Georgia', serif;
  --font-body: 'Work Sans', -apple-system, sans-serif;

  --container: 1180px;
  --nav-height: 84px;
}

/* ==========================================================================
   RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   SHARED
   ========================================================================== */
.rule {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.about-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.about-label p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.about .about-label p { color: var(--red-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 2px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover {
  background: var(--ivory);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(255, 215, 6, 0.45);
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(21, 16, 13, 0.85), rgba(21, 16, 13, 0));
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
}
.site-header.scrolled {
  height: 68px;
  background: rgba(21, 16, 13, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,0.5);
}

.header-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  height: 34px;
  width: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-link {
  position: relative;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ivory);
  padding: 6px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ivory);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 20%, var(--void-3) 0%, var(--void) 62%);
  padding: 0 24px;
}

.hero-pattern {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.16;
  pointer-events: none;
}
.hero-vignette {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 45%, var(--void) 0%, transparent 55%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.15;
  color: var(--ivory);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--ivory-dim);
  max-width: 560px;
  margin: 0 auto 36px;
}

.reveal {
  opacity: 0;
  animation: fadeUp 0.9s ease forwards;
}
.eyebrow.reveal { animation-delay: 0.1s; }
.hero-title.reveal { animation-delay: 0.28s; }
.hero-sub.reveal { animation-delay: 0.5s; }
.btn.reveal { animation-delay: 0.7s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--gold-deep);
  border-radius: 20px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--gold);
  border-radius: 2px;
  animation: cueDrop 1.8s ease-in-out infinite;
}
@keyframes cueDrop {
  0%   { opacity: 1; transform: translateY(0); }
  70%  { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  background: var(--ivory);
  padding: 130px 24px;
}
.about-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
}

.about-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.4;
  color: var(--ink);
}

.about-body p {
  font-size: 1.02rem;
  color: #3a3128;
  margin-bottom: 20px;
}
.about-body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats {
  background: var(--void);
  padding: 110px 24px;
  text-align: center;
}
.stats-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 56px;
}

.stats-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat {
  flex: 1;
  padding: 0 24px;
}

.stat-number {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--gold);
  letter-spacing: -0.01em;
}

.stat-name {
  display: block;
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--ivory-dim);
}

.stat-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(to bottom, transparent, var(--gold-deep) 20%, var(--gold-deep) 80%, transparent);
  opacity: 0.6;
}

/* ==========================================================================
   QALAMS SLIDER
   ========================================================================== */
.qalams {
  background: var(--void);
  padding: 0 24px 130px;
}

.qalams-head {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}
.qalams .about-label { margin-bottom: 0; }
.qalams .about-label p { color: var(--red-bright); }

.qalams-controls {
  display: flex;
  gap: 10px;
}
.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gold-deep);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.slider-btn:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.slider {
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
}
.slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.qalam-slide {
  position: relative;
  flex: 0 0 calc(33.333% - 16px);
  border-radius: 4px;
  overflow: hidden;
  background: var(--void-2);
}
.qalam-slide img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.qalam-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(21,16,13,0.92) 15%, transparent 100%);
}
.qalam-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.qalam-info h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ivory);
}
.qalam-info p {
  font-size: 0.85rem;
  color: var(--ivory-dim);
  margin-top: 2px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.slider-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--void-3);
  border: 1px solid var(--gold-deep);
  transition: background 0.25s ease, width 0.25s ease;
}
.slider-dots button.active {
  background: var(--gold);
  width: 22px;
  border-radius: 4px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--void-2);
  border-top: 1px solid rgba(255, 215, 6, 0.15);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 70px 24px 50px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .footer-logo {
  height: 30px;
  margin-bottom: 16px;
}
.footer-brand p {
  color: var(--ivory-dim);
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
}
.footer-links a {
  color: var(--ivory-dim);
  font-size: 0.92rem;
  padding: 6px 0;
  width: fit-content;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--gold); }

.social-row {
  display: flex;
  gap: 14px;
}
.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(250, 243, 228, 0.25);
  color: var(--ivory-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.social-row a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 243, 228, 0.08);
  padding: 22px 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--ivory-dim);
  opacity: 0.8;
}

/* ==========================================================================
   TOAST
   ========================================================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 12px);
  background: var(--ivory);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 4px;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 200;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   SUB-PAGE HERO (Artists list + Artist profile banners)
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 20%, var(--void-3) 0%, var(--void) 62%);
  padding: calc(var(--nav-height) + 70px) 24px 90px;
  text-align: center;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--ivory);
  margin-bottom: 14px;
}
.page-sub {
  color: var(--ivory-dim);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ==========================================================================
   ARTIST LIST (bars)
   ========================================================================== */
.artist-list-section {
  background: var(--ivory);
  padding: 80px 24px 110px;
}
.artist-list {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(28, 23, 18, 0.12);
}
.artist-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 12px;
  border-bottom: 1px solid rgba(28, 23, 18, 0.12);
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.artist-bar:hover {
  background: rgba(235, 35, 38, 0.04);
  padding-left: 20px;
}
.artist-bar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(28, 23, 18, 0.15);
}
.artist-bar-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.artist-bar-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}
.artist-bar-role {
  font-size: 0.82rem;
  color: #6b6055;
  margin-top: 2px;
}
.artist-bar-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red-deep);
  white-space: nowrap;
}
.artist-bar-arrow {
  color: var(--gold-deep);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.artist-bar:hover .artist-bar-arrow {
  transform: translateX(4px);
}

.list-note {
  max-width: var(--container);
  margin: 32px auto 0;
  font-size: 0.82rem;
  color: #8a7d6c;
  line-height: 1.6;
}
.list-note code {
  background: rgba(28, 23, 18, 0.06);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.8em;
}

/* ==========================================================================
   ARTIST PROFILE
   ========================================================================== */
.artist-hero {
  background: var(--void);
  padding: calc(var(--nav-height) + 60px) 24px 70px;
}
.artist-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 36px;
}
.artist-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--gold-deep);
}
.artist-hero-text .page-title { text-align: left; margin-bottom: 8px; }
.artist-hero-text .eyebrow { margin-bottom: 10px; }
.artist-hero-text .page-sub { text-align: left; margin: 0; }

.qalam-list-section {
  background: var(--ivory);
  padding: 80px 24px 100px;
}
.qalam-list-section .about-label {
  max-width: var(--container);
  margin: 0 auto 28px;
}
.qalam-list {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(28, 23, 18, 0.12);
}
.qalam-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 12px;
  border-bottom: 1px solid rgba(28, 23, 18, 0.12);
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.qalam-bar:hover {
  background: rgba(255, 215, 6, 0.08);
  padding-left: 20px;
}
.qalam-bar img {
  width: 84px;
  height: 56px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
  background: var(--void-2);
}
.qalam-bar-title {
  font-size: 1rem;
  color: var(--ink);
  flex: 1;
  min-width: 0;
}
.qalam-bar-year {
  font-size: 0.85rem;
  color: #6b6055;
  font-weight: 500;
}
.qalam-bar-play {
  color: var(--red);
  flex-shrink: 0;
}

.qalam-empty {
  padding: 24px 12px;
  color: #6b6055;
}
.qalam-empty a {
  color: var(--red-deep);
  font-weight: 600;
}

.back-link {
  display: inline-block;
  max-width: var(--container);
  margin: 36px auto 0;
  color: var(--red-deep);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.contact-section {
  background: var(--ivory);
  padding: 80px 24px 120px;
}
.contact-inner {
  max-width: 640px;
  margin: 0 auto;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b6055;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(28, 23, 18, 0.18);
  border-radius: 3px;
  padding: 13px 14px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
}
.contact-form .btn { align-self: flex-start; border: none; }

.form-success,
.form-error {
  padding: 14px 18px;
  border-radius: 3px;
  font-size: 0.92rem;
  margin-bottom: 24px;
}
.form-success {
  background: rgba(255, 215, 6, 0.15);
  border: 1px solid var(--gold-deep);
  color: #5a4400;
}
.form-error {
  background: rgba(235, 35, 38, 0.08);
  border: 1px solid var(--red);
  color: var(--red-deep);
}

/* ==========================================================================
   LOGIN + MESSAGES VIEWER (messages.php)
   ========================================================================== */
.login-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 20%, var(--void-3) 0%, var(--void) 62%);
  padding: 24px;
}
.login-form {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--void-2);
  border: 1px solid rgba(255, 215, 6, 0.15);
  border-radius: 6px;
  padding: 40px 32px;
}
.login-form .page-title { color: var(--ivory); margin-bottom: 4px; }
.login-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.login-form input {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 3px;
  border: 1px solid rgba(255, 243, 228, 0.2);
  background: var(--void);
  color: var(--ivory);
}
.login-form input:focus { outline: none; border-color: var(--gold-deep); }
.login-form .btn { border: none; margin-top: 6px; }

.messages-section {
  background: var(--ivory);
  min-height: 100vh;
  padding: 50px 24px 100px;
}
.messages-inner { max-width: 760px; margin: 0 auto; }

.message-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}
.message-card {
  background: #fff;
  border: 1px solid rgba(28, 23, 18, 0.1);
  border-radius: 4px;
  padding: 20px 22px;
}
.message-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 4px;
}
.message-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}
.message-date {
  font-size: 0.78rem;
  color: #9a8f7f;
  white-space: nowrap;
}
.message-phone {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--red-deep);
  font-weight: 600;
  margin-bottom: 10px;
}
.message-text {
  font-size: 0.95rem;
  color: #3a3128;
  line-height: 1.6;
}

/* ==========================================================================
   PARTNER CHANNELS
   ========================================================================== */
.partners {
  background: var(--void);
  padding: 0 24px 110px;
  text-align: center;
}
.partners-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px 44px;
}
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 120px;
  transition: transform 0.25s ease;
}
.partner-card:hover { transform: translateY(-4px); }

.partner-logo {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid var(--gold-deep);
  background: var(--void-2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
/* channel initials show through when no logo image file is present */
.partner-logo::before {
  content: attr(data-initials);
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold);
}
.partner-logo img {
  position: relative;
  z-index: 1; /* sits on top of the initials; if the file is missing, onerror removes it and initials show */
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.partner-card:hover .partner-logo {
  border-color: var(--gold);
  box-shadow: 0 8px 24px -6px rgba(255, 215, 6, 0.35);
}
.partner-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ivory-dim);
}
.partner-card:hover .partner-name { color: var(--gold); }

/* ==========================================================================
   LYRICS PAGE
   ========================================================================== */
.lyrics-notice-section {
  background: var(--ivory);
  padding: 70px 24px 0;
}
.lyrics-notice {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--gold-deep);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  padding: 28px 30px;
}
.lyrics-notice svg { color: var(--gold-deep); flex-shrink: 0; margin-top: 3px; }
.lyrics-notice h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.lyrics-notice p {
  font-size: 0.95rem;
  color: #3a3128;
  line-height: 1.65;
  margin-bottom: 18px;
}

.lyrics-browser {
  background: var(--ivory);
  padding: 60px 24px 110px;
}
.lyrics-browser-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.lyrics-search {
  max-width: var(--container);
  margin: 0 auto 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(28, 23, 18, 0.18);
  border-radius: 4px;
  padding: 14px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.lyrics-search:focus-within {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(255, 215, 6, 0.15);
}
.lyrics-search svg { color: #9a8f7f; flex-shrink: 0; }
.lyrics-search input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
}
.lyrics-search input::placeholder { color: #a89c89; }

.lyrics-search-count {
  font-size: 0.85rem;
  color: #6b6055;
  margin-bottom: 18px;
}
.search-result-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: rgba(255, 215, 6, 0.12);
  padding: 4px 10px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.lyrics-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.lyrics-cat-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid rgba(28, 23, 18, 0.12);
  border-radius: 4px;
  padding: 26px 24px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.lyrics-cat-card:hover {
  border-color: var(--gold-deep);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px -12px rgba(28, 23, 18, 0.25);
}
.lyrics-cat-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
}
.lyrics-cat-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red-deep);
}

.lyric-cat-heading {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ink);
  margin: 22px 0 20px;
}
.lyric-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  color: var(--ink);
  margin-top: 26px;
}
.lyric-artist {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--red-deep);
  margin: 6px 0 26px;
}
.lyric-text {
  background: #fff;
  border: 1px solid rgba(28, 23, 18, 0.12);
  border-radius: 4px;
  padding: 34px 32px;
  font-size: 1.05rem;
  line-height: 2.1;
  color: #3a3128;
  max-width: 720px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .qalam-slide { flex: 0 0 calc(50% - 12px); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  /* 4 stats side-by-side get cramped on tablets — wrap into a 2x2 grid */
  .stats-grid { flex-wrap: wrap; gap: 44px 0; }
  .stat { flex: 1 1 40%; }
  .stat-divider:nth-of-type(2) { display: none; }

  .lyrics-cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .artist-hero-inner { flex-direction: column; text-align: center; }
  .artist-hero-text .page-title,
  .artist-hero-text .page-sub { text-align: center; }

  .artist-bar-role { display: none; }
  .qalam-bar img { width: 64px; height: 44px; }
  .qalam-bar-title { font-size: 0.92rem; }

  .lyrics-cat-grid { grid-template-columns: 1fr; }
  .lyrics-notice { flex-direction: column; gap: 12px; padding: 24px 22px; }
  .lyric-text { padding: 26px 22px; font-size: 1rem; }

  .partners-grid { gap: 26px 20px; }
  .partner-card { width: 96px; }
  .partner-logo { width: 68px; height: 68px; }
  .partner-logo::before { font-size: 1.2rem; }
  .partner-name { font-size: 0.78rem; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(21, 16, 13, 0.98);
    backdrop-filter: blur(10px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .main-nav.open { max-height: 460px; }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 28px 26px;
  }
  .main-nav li { width: 100%; }
  .nav-link { display: block; padding: 14px 0; width: 100%; }
  .nav-toggle { display: flex; }

  .stats-grid { flex-direction: column; gap: 40px; }
  .stat { flex: 1 1 auto; }
  .stat-divider { display: none; }

  .qalam-slide { flex: 0 0 100%; }

  .footer-inner { grid-template-columns: 1fr; }
}

/* Honeypot field on the contact form — hidden from humans, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  pointer-events: none;
}
