:root {
  --ink-950: #0b0b0c;
  --ink-900: #121214;
  --ink-850: #18181b;
  --ink-800: #1f1f23;
  --ink-700: #2a2a30;
  --ink-600: #3a3a42;
  --gold-200: #e7d0a6;
  --gold-300: #d9b977;
  --gold-400: #c9a35a;
  --gold-500: #b8893f;
  --gold-600: #9a6f31;
  --cream-50: #faf7f1;
  --cream-100: #f5f0e8;
  --cream-200: #ebe3d6;
  --cream-300: #d9cdb8;
  --cream-muted: rgba(245, 240, 232, 0.7);
  --cream-faint: rgba(245, 240, 232, 0.5);
  --cream-ghost: rgba(245, 240, 232, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--ink-950);
  color: var(--cream-100);
  font-family: 'Vazirmatn', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(201, 163, 90, 0.3);
  color: var(--cream-50);
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--ink-900);
}
::-webkit-scrollbar-thumb {
  background: var(--ink-700);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ink-600);
}

/* ===== Navbar ===== */
#navbar {
  transition: all 0.5s ease;
  background: transparent;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
#navbar.scrolled {
  background: rgba(11, 11, 12, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
#navbar .navbar-brand {
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1.15rem;
  color: var(--cream-50);
}
#navbar .navbar-brand .text-gold {
  color: var(--gold-300);
}
#navbar .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(235, 227, 214, 0.8);
  transition: color 0.3s ease;
  position: relative;
  padding-inline: 0.5rem;
}
#navbar .nav-link:hover {
  color: var(--cream-50);
}
#navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  inset-inline-start: 0.5rem;
  height: 1px;
  width: 0;
  background: var(--gold-400);
  transition: width 0.3s ease;
}
#navbar .nav-link:hover::after {
  width: calc(100% - 1rem);
}
.navbar-toggler {
  font-size: 1.2rem;
}

/* ===== Hero ===== */
.hero-section {
  min-height: 100vh;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.pexels.com/photos/14286079/pexels-photo-14286079.jpeg?auto=compress&cs=tinysrgb&w=1600');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 11, 12, 0.7), rgba(11, 11, 12, 0.6), var(--ink-950));
}
.hero-glow {
  position: absolute;
  top: -8rem;
  inset-inline-end: 0;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: rgba(184, 137, 63, 0.1);
  filter: blur(140px);
  animation: floatGlow 11s ease-in-out infinite;
  pointer-events: none;
}
@keyframes floatGlow {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.55; }
  50% { transform: translate3d(0, -3%, 0) scale(1.08); opacity: 0.75; }
}
.hero-content {
  padding-top: 6rem;
  padding-bottom: 8rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-300);
  margin-bottom: 1.5rem;
}
.hero-eyebrow .line {
  width: 2.5rem;
  height: 1px;
  background: var(--gold-400);
}
.hero-title {
  font-family: 'Vazirmatn', sans-serif;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--cream-50);
  margin: 0;
}
.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.7;
  color: rgba(235, 227, 214, 0.8);
  margin-top: 1.75rem;
  max-width: 36rem;
}
.btn-gold {
  background: var(--gold-400);
  color: var(--ink-950);
  border: none;
  border-radius: 9999px;
  padding: 0.85rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.btn-gold:hover {
  background: var(--gold-300);
  box-shadow: 0 8px 24px rgba(184, 137, 63, 0.2);
}
.btn-ghost {
  border: 1px solid rgba(235, 227, 214, 0.25);
  color: var(--cream-100);
  border-radius: 9999px;
  padding: 0.85rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.btn-ghost:hover {
  border-color: rgba(235, 227, 214, 0.5);
  background: rgba(255, 255, 255, 0.05);
  color: var(--cream-50);
}

/* Stats */
.hero-stats {
  margin-top: 5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
@media (min-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat-card {
  background: rgba(18, 18, 20, 0.4);
  padding: 1.5rem 1rem;
  text-align: center;
}
.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--gold-300);
}
.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(235, 227, 214, 0.6);
  margin-top: 0.4rem;
}
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(235, 227, 214, 0.5);
  transition: color 0.3s ease;
  z-index: 2;
}
.scroll-cue:hover {
  color: var(--cream-100);
}
.scroll-cue i {
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== Section common ===== */
.py-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.section-alt {
  background: rgba(255, 255, 255, 0.015);
}
.section-header {
  margin-bottom: 1rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-300);
  margin: 0;
}
.eyebrow .line {
  width: 2rem;
  height: 1px;
  background: var(--gold-400);
}
.section-title {
  font-family: 'Vazirmatn', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--cream-50);
  margin-top: 1rem;
  margin-bottom: 0;
}

/* ===== About ===== */
.lead-text {
  font-size: 1.35rem;
  line-height: 1.8;
  color: var(--cream-100);
}
.body-text {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(235, 227, 214, 0.7);
}
.about-photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}
.about-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.about-photo-wrap:hover .about-photo {
  transform: scale(1.05);
}
.about-photo-overlay {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(11, 11, 12, 0.6), transparent);
}
.about-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--cream-50);
  margin: 0;
}
.about-loc {
  font-size: 0.85rem;
  color: rgba(235, 227, 214, 0.7);
  margin: 0;
}

/* ===== Repertoire marquee ===== */
.marquee-wrap {
  overflow: hidden;
  padding-block: 1.25rem;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-content {
  display: flex;
  gap: 2.5rem;
  padding-inline: 1.25rem;
  white-space: nowrap;
}
.marquee-content span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: rgba(235, 227, 214, 0.3);
}
.marquee-content span::after {
  content: '';
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* RTL marquee goes the other direction */
[dir='rtl'] .marquee-track {
  animation-direction: reverse;
}

/* ===== Skills ===== */
.skill-item {
  margin-bottom: 0.5rem;
}
.skill-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cream-100);
}
.skill-pct {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  color: var(--gold-300);
}
.skill-bar {
  margin-top: 0.6rem;
  height: 6px;
  width: 100%;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--gold-500), var(--gold-300));
  transition: width 1s ease-out;
}

/* ===== Performances table ===== */
.perf-table {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  overflow: hidden;
}
.perf-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}
.perf-row:first-child {
  border-top: none;
}
.perf-row:hover {
  background: rgba(255, 255, 255, 0.03);
}
@media (min-width: 768px) {
  .perf-row {
    grid-template-columns: 120px 1fr 1fr 120px;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem;
  }
}
.perf-head {
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(235, 227, 214, 0.5);
}
.perf-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--gold-300);
}
.perf-work {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cream-100);
}
.perf-venue {
  font-size: 0.85rem;
  color: rgba(235, 227, 214, 0.6);
}
.perf-badge {
  display: inline-block;
  width: fit-content;
  border: 1px solid rgba(184, 137, 63, 0.3);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: rgba(231, 208, 166, 0.8);
}
@media (min-width: 768px) {
  .perf-badge {
    margin-inline-start: auto;
  }
}

/* ===== Discography ===== */
.album-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.04), transparent);
  transition: all 0.5s ease;
  height: 100%;
}
.album-card:hover {
  border-color: rgba(184, 137, 63, 0.3);
  background: linear-gradient(to bottom, rgba(184, 137, 63, 0.06), transparent);
}
.album-cover {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.75rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink-800), var(--ink-850), var(--ink-900));
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.album-note {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: rgba(201, 163, 90, 0.15);
  transition: transform 0.7s ease;
}
.album-card:hover .album-note {
  transform: scale(1.1);
}
.album-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 12, 0.6), transparent);
}
.album-year {
  position: absolute;
  bottom: 0.75rem;
  inset-inline: 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(217, 185, 119, 0.7);
  z-index: 1;
}
.album-title {
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--cream-50);
  margin: 0;
}
.album-works {
  font-size: 0.85rem;
  color: rgba(235, 227, 214, 0.6);
  margin: 0.25rem 0 0 0;
}
.album-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(235, 227, 214, 0.4);
  margin: 0.75rem 0 0 0;
}

/* ===== Awards / Education ===== */
.timeline-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gold-300);
  margin-bottom: 2rem;
}
.timeline {
  position: relative;
  padding-inline-start: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  inset-inline-start: 7px;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(to bottom, rgba(184, 137, 63, 0.5), transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}
.timeline-dot {
  position: absolute;
  inset-inline-start: -2rem;
  top: 0.4rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--gold-400);
  background: var(--ink-950);
}
.timeline-year {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  color: var(--gold-300);
}
.timeline-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream-100);
  margin: 0.25rem 0 0 0;
}
.timeline-org {
  font-size: 0.85rem;
  color: rgba(235, 227, 214, 0.5);
  margin: 0;
}
.edu-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s ease;
}
.edu-card:hover {
  border-color: rgba(184, 137, 63, 0.25);
}
.edu-period {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(217, 185, 119, 0.7);
  margin: 0;
}
.edu-degree {
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--cream-50);
  margin: 0.5rem 0 0 0;
}
.edu-inst {
  font-size: 0.85rem;
  color: rgba(235, 227, 214, 0.7);
  margin: 0.25rem 0 0 0;
}
.edu-detail {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(235, 227, 214, 0.5);
  margin: 0.75rem 0 0 0;
}

/* ===== Contact ===== */
.contact-glow {
  position: absolute;
  bottom: -8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  background: rgba(184, 137, 63, 0.08);
  filter: blur(130px);
  pointer-events: none;
}
.contact-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 1px solid rgba(184, 137, 63, 0.3);
  color: var(--gold-300);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.contact-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(235, 227, 214, 0.6);
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: all 0.3s ease;
  height: 100%;
}
.contact-card:hover {
  border-color: rgba(184, 137, 63, 0.3);
  background: rgba(184, 137, 63, 0.04);
}
.contact-card i {
  font-size: 1.3rem;
  color: var(--gold-300);
}
.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(235, 227, 214, 0.5);
}
.contact-value {
  font-size: 0.85rem;
  color: var(--cream-100);
}
.social-link {
  font-size: 0.9rem;
  color: rgba(235, 227, 214, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}
.social-link:hover {
  color: var(--gold-300);
}

/* ===== Footer ===== */
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem 0;
}
.footer-name {
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1rem;
  color: var(--cream-100);
  margin: 0;
}
.footer-copy {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(235, 227, 214, 0.4);
  margin: 0;
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}


/* WordPress-specific */
#navbar .navbar-nav { list-style: none; }
#navbar .navbar-nav .menu-item { position: relative; }
#navbar .navbar-nav .menu-item > a {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(235, 227, 214, 0.8);
  transition: color 0.3s ease;
  position: relative;
  padding: .5rem;
  text-decoration: none;
}
#navbar .navbar-nav .menu-item > a:hover { color: var(--cream-50); }
.album-cover { overflow: hidden; }
.album-cover img { object-fit: cover; width: 100%; height: 100%; display: block; }
