/* ==========================================================================
   CHARLES KEVIN — PORTFOLIO STYLES
   Design system: dark theme, gold + neon accents, glassmorphism
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Base palette */
  --bg-void: #07070b;
  --bg-deep: #0c0c14;
  --bg-panel: #12121c;
  --white: #f5f3ee;
  --white-dim: rgba(245, 243, 238, 0.68);
  --white-faint: rgba(245, 243, 238, 0.4);

  /* Gold */
  --gold: #e8b64f;
  --gold-bright: #ffd77a;
  --gold-dim: #a8823a;

  /* Photography palette (warm) */
  --photo-1: #ff7a3d;
  --photo-2: #ffb347;
  --photo-3: #ff4d6d;

  /* Music palette (cool neon) */
  --music-1: #6c5ce7;
  --music-2: #4facfe;
  --music-3: #a78bfa;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.055);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-blur: 18px;

  /* Type */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  --font-script: 'Cormorant Garamond', serif;

  /* Motion */
  --ease: cubic-bezier(.16,.84,.44,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);

  --nav-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-void);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; appearance: none; -webkit-appearance: none; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--gold); color: #1a1204; }

@media (hover: none) {
  body { cursor: auto; }
  #cursor-dot, #cursor-ring { display: none; }
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Custom Cursor ---------- */
#cursor-dot, #cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: background .25s var(--ease-soft), border-color .25s var(--ease-soft);
}
#cursor-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  transition: transform .08s linear, background .25s;
}
#cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(232, 182, 79, .55);
  transition: transform .18s var(--ease-soft), border-color .25s, width .25s, height .25s;
}
body.cursor-music #cursor-dot { background: var(--music-2); }
body.cursor-music #cursor-ring { border-color: rgba(79, 172, 254, .55); }
.cursor-hover#cursor-ring { width: 54px; height: 54px; border-color: var(--gold-bright); }

/* ---------- Loading Screen ---------- */
#loading-screen {
  position: fixed; inset: 0;
  background: var(--bg-void);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
#loading-screen.loaded { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-shutter {
  display: flex; justify-content: center; gap: 4px; margin-bottom: 28px;
}
.loader-shutter span {
  width: 6px; height: 46px;
  background: linear-gradient(180deg, var(--gold), var(--photo-1));
  border-radius: 3px;
  animation: shutterPulse 1.1s ease-in-out infinite;
}
.loader-shutter span:nth-child(1){animation-delay:0s}
.loader-shutter span:nth-child(2){animation-delay:.08s}
.loader-shutter span:nth-child(3){animation-delay:.16s}
.loader-shutter span:nth-child(4){animation-delay:.24s}
.loader-shutter span:nth-child(5){animation-delay:.32s}
.loader-shutter span:nth-child(6){animation-delay:.4s}
@keyframes shutterPulse {
  0%, 100% { transform: scaleY(.4); opacity: .5; }
  50% { transform: scaleY(1); opacity: 1; }
}
.loader-text { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.loader-name { font-family: var(--font-display); letter-spacing: .3em; font-size: 1.1rem; color: var(--white); }
.loader-sub { font-size: .78rem; letter-spacing: .2em; color: var(--white-faint); text-transform: uppercase; }
.loader-bar { width: 220px; height: 2px; background: rgba(255,255,255,.1); margin: 0 auto; border-radius: 2px; overflow: hidden; }
.loader-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--photo-1), var(--gold), var(--music-2)); animation: loaderFill 1.8s var(--ease) forwards; }
@keyframes loaderFill { to { width: 100%; } }

/* ---------- Particle / Notes Background ---------- */
#particle-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: .55;
}
#floating-notes {
  position: fixed; inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.floating-note {
  position: absolute;
  bottom: -40px;
  color: var(--music-2);
  opacity: 0;
  font-size: 1.4rem;
  animation: noteFloat linear forwards;
}
@keyframes noteFloat {
  0% { opacity: 0; transform: translateY(0) rotate(0deg); }
  10% { opacity: .8; }
  90% { opacity: .6; }
  100% { opacity: 0; transform: translateY(-110vh) rotate(30deg); }
}

/* ---------- Navigation ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease-soft), box-shadow .4s, height .3s;
}
.site-header.scrolled {
  background: rgba(9, 9, 14, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
  height: 68px;
}
.navbar {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
  color: var(--gold);
}
.logo-text { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link {
  font-size: .84rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--white-dim);
  position: relative; padding: 6px 0;
  transition: color .25s;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: linear-gradient(90deg, var(--photo-2), var(--music-2));
  transition: width .3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-admin-link {
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 16px; border: 1px solid var(--glass-border); border-radius: 30px;
  color: var(--white-faint);
  transition: all .25s;
}
.nav-admin-link:hover { color: var(--gold); border-color: var(--gold); background: rgba(232,182,79,.08); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; }
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s var(--ease); }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px;
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500;
  border-radius: 40px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 60%, var(--gold-dim));
  color: #1a1204;
  box-shadow: 0 8px 24px rgba(232, 182, 79, .25);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(232, 182, 79, .4); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,.3);
  color: var(--white);
  background: rgba(255,255,255,.02);
}
.btn-outline:hover { border-color: var(--music-2); color: var(--music-2); transform: translateY(-3px); box-shadow: 0 10px 26px rgba(79,172,254,.2); }
.btn-sm { padding: 10px 20px; font-size: .72rem; }
.btn-block { width: 100%; }

/* ---------- Glass Panel ---------- */
.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  border-radius: 20px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}
.hero-split {
  position: relative;
  width: 100%; height: 100%;
  display: flex;
}
.hero-side {
  position: relative;
  height: 100%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: flex-basis .05s linear;
}
.hero-photo { flex: 0 0 var(--split); }
.hero-music { flex: 1 1 auto; }

.hero-bg {
  position: absolute; inset: -5%;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  filter: saturate(1.15);
}
.hero-bg-photo { background-image: url('https://images.unsplash.com/photo-1502920917128-1aa500764cbd?w=1600&q=80'); }
.hero-bg-music { background-image: url('https://images.unsplash.com/photo-1552422535-c45813c61732?w=1600&q=80'); }

.hero-gradient { position: absolute; inset: 0; }
.hero-gradient-photo {
  background:
    linear-gradient(180deg, rgba(10,6,2,.35), rgba(10,6,2,.75) 85%),
    linear-gradient(100deg, rgba(255,122,61,.35), transparent 55%);
}
.hero-gradient-music {
  background:
    linear-gradient(180deg, rgba(4,4,16,.4), rgba(4,4,16,.8) 85%),
    linear-gradient(260deg, rgba(108,92,231,.4), transparent 55%);
}

.hero-parallax { position: absolute; inset: 0; pointer-events: none; }
.hero-icon {
  position: absolute;
  opacity: .35;
  filter: drop-shadow(0 0 12px currentColor);
  animation: iconFloat 6s ease-in-out infinite;
}
.icon-camera { top: 22%; left: 12%; font-size: 2.4rem; color: var(--photo-2); animation-delay: 0s; }
.icon-lens { bottom: 20%; left: 24%; font-size: 1.8rem; color: var(--photo-1); animation-delay: 1.2s; }
.icon-aperture { top: 55%; left: 6%; font-size: 1.4rem; color: var(--gold-bright); animation-delay: 2.4s; }
.icon-note { top: 20%; right: 14%; font-size: 2.6rem; color: var(--music-2); animation-delay: .6s; }
.icon-note2 { bottom: 24%; right: 22%; font-size: 1.9rem; color: var(--music-3); animation-delay: 1.8s; }
.icon-clef { top: 52%; right: 8%; font-size: 2.2rem; color: var(--music-1); animation-delay: 3s; }
@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(6deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  transition: opacity .3s;
}
.hero-content-photo { transform: translateX(-6%); }
.hero-content-music { transform: translateX(6%); }
.hero-kicker {
  display: inline-block;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  margin-bottom: 10px;
}
.hero-content-photo .hero-kicker { color: var(--photo-2); }
.hero-content-music .hero-kicker { color: var(--music-2); }
.hero-side-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 8px;
}
.hero-side-copy {
  max-width: 280px; margin: 0 auto;
  font-size: .88rem; color: var(--white-dim);
}

.hero-center {
  position: absolute; top: 0; left: 50%; bottom: 0;
  transform: translateX(-50%);
  z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: min(94vw, 640px);
  pointer-events: none;
}
.hero-center-inner {
  pointer-events: auto;
  padding: 44px 52px;
  text-align: center;
  animation: heroReveal 1.1s var(--ease) both .3s;
}
@keyframes heroReveal { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: none; } }
.hero-eyebrow {
  font-family: var(--font-script); font-style: italic; font-size: 1.1rem;
  color: var(--gold-bright); margin-bottom: 6px;
}
.hero-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  background: linear-gradient(120deg, var(--photo-2), var(--white) 45%, var(--music-2));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: heroGradientShift 6s ease-in-out infinite;
  margin-bottom: 14px;
}
@keyframes heroGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-tagline { min-height: 28px; font-size: 1.05rem; color: var(--white-dim); margin-bottom: 26px; }
.typing-cursor { color: var(--gold); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Draggable slider */
.hero-slider {
  position: absolute; bottom: 64px; left: 50%; transform: translateX(-50%);
  width: min(70vw, 380px);
  pointer-events: auto;
  z-index: 6;
}
.hero-slider-track {
  height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--photo-2), var(--gold) 50%, var(--music-2));
  opacity: .55;
}
.hero-slider-handle {
  position: absolute; top: 50%; left: var(--split);
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(10,10,16,.55);
  border: 1.5px solid rgba(255,255,255,.35);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  cursor: grab;
  box-shadow: 0 6px 24px rgba(0,0,0,.4), 0 0 0 6px rgba(232,182,79,.06);
  transition: box-shadow .25s, left .05s linear;
}
.hero-slider-handle:active { cursor: grabbing; box-shadow: 0 6px 30px rgba(0,0,0,.5), 0 0 0 10px rgba(232,182,79,.12); }
.handle-icon-left, .handle-icon-right { font-size: .95rem; opacity: .85; }
.handle-core {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold-bright);
}

.scroll-indicator {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 6;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--white-faint);
}
.scroll-line { width: 1px; height: 34px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.scroll-dot { position: absolute; top: -10px; left: -1.5px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); animation: scrollDot 2s ease-in-out infinite; }
@keyframes scrollDot { 0% { top: -10px; } 100% { top: 44px; } }

/* ==========================================================================
   SECTIONS — SHARED
   ========================================================================== */
.section { position: relative; padding: 120px 0; z-index: 2; }
.section-photography, .section-gallery, .section-about { background: var(--bg-void); }
.section-videography, .section-music, .section-gigs, .section-contact { background: var(--bg-deep); }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-kicker {
  display: inline-block; font-size: .74rem; letter-spacing: .3em; text-transform: uppercase;
  margin-bottom: 14px; padding-bottom: 6px; border-bottom: 1px solid currentColor;
}
.kicker-gold { color: var(--gold); }
.kicker-neon { color: var(--music-2); }
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-title-light em { color: var(--music-2); }
.section-sub { color: var(--white-dim); font-size: 1rem; }
.section-sub-light { color: rgba(245,243,238,.6); }
.subsection-title {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  margin: 56px 0 26px;
}
.center-text { text-align: center; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

/* ==========================================================================
   PHOTOGRAPHY
   ========================================================================== */
.empty-state {
  grid-column: 1 / -1;
  column-span: all;
  text-align: center;
  padding: 60px 20px;
  color: var(--white-faint);
  font-size: .92rem;
  border: 1px dashed var(--glass-border);
  border-radius: 16px;
}

.media-missing {
  background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  display: flex; align-items: center; justify-content: center;
}
.media-missing::after {
  content: '🖼';
  font-size: 1.6rem;
  opacity: .25;
}
.collections { margin-top: 80px; }
.collections-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* Album card: cover photo, links out to that event's own album page */
.album-card { padding: 14px; display: flex; flex-direction: column; gap: 12px; transition: transform .4s var(--ease), border-color .4s; }
.album-card:hover { transform: translateY(-6px); border-color: rgba(232,182,79,.3); }
.album-cover { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16/11; }
.album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.album-card:hover .album-cover img { transform: scale(1.08); }
.album-cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(6,4,2,.9));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px;
}
.collection-name { font-family: var(--font-display); font-size: 1.25rem; }
.collection-count { font-size: .76rem; color: var(--gold-bright); }

/* ==========================================================================
   MUSIC SECTION
   ========================================================================== */
.section-music { position: relative; overflow: hidden; }
.music-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(108,92,231,.18), transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(79,172,254,.15), transparent 45%);
  pointer-events: none;
}
.piano-hero { position: relative; border-radius: 22px; overflow: hidden; height: 380px; margin-bottom: 60px; }
.piano-hero img { width: 100%; height: 100%; object-fit: cover; }
.piano-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4,4,16,.85), transparent 65%);
  display: flex; align-items: center; padding: 0 60px;
}
.piano-hero-overlay blockquote {
  font-family: var(--font-script); font-style: italic; font-size: clamp(1.4rem,2.6vw,2.2rem);
  max-width: 420px; color: var(--white);
}

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 70px; }
.stat-card { padding: 30px 20px; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--music-2); }
.stat-suffix { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--music-2); }
.stat-label { display: block; margin-top: 8px; font-size: .78rem; letter-spacing: .05em; color: var(--white-dim); text-transform: uppercase; }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 20px; }
.video-card { cursor: pointer; }
.video-thumb { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16/10; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.video-card:hover .video-thumb img { transform: scale(1.08); }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.5);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.1rem;
  transition: all .3s var(--ease);
}
.video-card:hover .play-btn { background: var(--music-2); border-color: var(--music-2); color: #04040f; transform: translate(-50%,-50%) scale(1.1); }
.video-duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,.7); font-size: .68rem; padding: 3px 8px; border-radius: 6px; }
.video-title { margin-top: 12px; font-size: .95rem; color: var(--white-dim); }
.play-btn-lg { position: static; transform: none; width: 76px; height: 76px; font-size: 1.5rem; margin: 0 auto 16px; }

.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 30px; border-left: 1.5px solid rgba(255,255,255,.15); }
.timeline-item { position: relative; padding-bottom: 42px; padding-left: 26px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -37.5px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--music-2); box-shadow: 0 0 0 4px rgba(79,172,254,.2), 0 0 14px var(--music-2); }
.timeline-year { font-family: var(--font-display); color: var(--gold-bright); font-size: .95rem; letter-spacing: .05em; }
.timeline-item h4 { font-size: 1.15rem; margin: 6px 0; }
.timeline-item p { color: var(--white-dim); font-size: .9rem; }

.repertoire-grid, .awards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.repertoire-card, .award-card { padding: 26px 22px; transition: transform .35s var(--ease), border-color .35s; }
.repertoire-card:hover, .award-card:hover { transform: translateY(-8px); border-color: rgba(79,172,254,.4); }
.repertoire-era { font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--music-2); }
.repertoire-card h4 { font-family: var(--font-display); margin: 10px 0 8px; font-size: 1.1rem; }
.repertoire-card p, .award-card p { font-size: .85rem; color: var(--white-dim); }
.award-icon { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.award-card h4 { font-family: var(--font-display); margin-bottom: 6px; font-size: 1.05rem; }

/* ==========================================================================
   GALLERY (flat highlight reel — hand-picked photos across every album)
   ========================================================================== */
.gallery-highlight-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gallery-highlight-photo { aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.gallery-highlight-photo img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: transform .4s var(--ease), filter .4s; }
.gallery-highlight-photo:hover img { transform: scale(1.04); filter: brightness(1.1); }

/* ==========================================================================
   GIGS
   ========================================================================== */
.gigs-list { display: flex; flex-direction: column; gap: 16px; max-width: 820px; margin: 0 auto; }
.gig-card { display: flex; align-items: center; gap: 24px; padding: 22px 26px; transition: transform .3s var(--ease), border-color .3s; }
.gig-card:hover { transform: translateX(6px); border-color: rgba(79,172,254,.4); }
.gig-date { text-align: center; min-width: 64px; }
.gig-day { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--gold-bright); }
.gig-month { display: block; font-size: .7rem; letter-spacing: .15em; color: var(--white-faint); }
.gig-info { flex: 1; }
.gig-info h4 { font-size: 1.05rem; margin-bottom: 4px; }
.gig-info p { font-size: .85rem; color: var(--white-dim); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; margin-bottom: 90px; }
.about-portrait { position: relative; border-radius: 22px; overflow: hidden; }
.about-portrait img { width: 100%; }
.about-badge {
  position: absolute; bottom: 20px; left: 20px;
  padding: 16px 22px; display: flex; flex-direction: column; align-items: center;
}
.about-badge-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-bright); font-weight: 700; }
.about-badge-text { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--white-dim); }
.about-text { color: var(--white-dim); margin-bottom: 16px; font-size: .96rem; }
.about-skills { margin: 30px 0; display: flex; flex-direction: column; gap: 18px; }
.skill-label { font-size: .85rem; margin-bottom: 8px; display: block; }
.skill-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.skill-fill { height: 100%; width: 0%; border-radius: 6px; background: linear-gradient(90deg, var(--photo-2), var(--gold), var(--music-2)); transition: width 1.4s var(--ease); }

.marquee-hint { text-align: center; font-size: .78rem; color: var(--white-faint); margin-bottom: 22px; }
.testimonial-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.testimonial-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: marqueeScroll 42s linear infinite;
}
.testimonial-marquee:hover .testimonial-track,
.testimonial-track.paused { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.testimonial-card {
  width: min(320px, 82vw); flex-shrink: 0;
  padding: 28px 26px;
  cursor: pointer;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.testimonial-card.active {
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(232, 182, 79, .2);
  transform: translateY(-6px);
}
.testimonial-card p { font-family: var(--font-script); font-style: italic; font-size: 1.1rem; margin-bottom: 20px; color: var(--white); }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: .88rem; }
.testimonial-author span { font-size: .74rem; color: var(--white-faint); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-details { margin: 26px 0; display: flex; flex-direction: column; gap: 14px; }
.contact-details li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--white-dim); }
.contact-icon { color: var(--music-2); }
.social-row { display: flex; gap: 12px; }
.social-icon {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; letter-spacing: .05em;
  transition: all .3s var(--ease);
}
.social-icon:hover { border-color: var(--music-2); color: var(--music-2); transform: translateY(-4px); box-shadow: 0 8px 20px rgba(79,172,254,.25); }

.contact-form { padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: .8rem; color: var(--white-dim); }
.contact-form input, .contact-form select, .contact-form textarea {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--white);
  font-size: .9rem;
  transition: border-color .25s, background .25s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--music-2); background: rgba(79,172,254,.06);
}
.form-note { font-size: .82rem; color: var(--gold-bright); min-height: 18px; text-align: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--bg-void); border-top: 1px solid rgba(255,255,255,.08); padding: 50px 0; position: relative; z-index: 2; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--white-dim); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; font-size: .65rem; transition: all .3s; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-meta { text-align: right; font-size: .8rem; color: var(--white-faint); }
.footer-meta p { margin: 2px 0; }

#back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 400;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(18,18,28,.8);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  color: var(--gold);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .35s var(--ease);
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
#back-to-top:hover { background: var(--gold); color: #1a1204; transform: translateY(-4px); }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(4,4,8,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 82vw; max-height: 78vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox-caption { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); font-size: .9rem; color: var(--white-dim); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; color: var(--white); font-size: 1.4rem;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15);
  transition: all .3s;
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--gold); color: #1a1204; }

.video-modal {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(4,4,8,.9);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease);
  padding: 20px;
}
.video-modal.open { opacity: 1; visibility: visible; }
.video-modal-inner { width: min(760px, 100%); padding: 26px; position: relative; }
.video-modal-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.video-modal-close:hover { background: var(--music-2); color: #04040f; }
.video-modal-frame {
  aspect-ratio: 16/9; border-radius: 14px;
  background: linear-gradient(135deg, rgba(108,92,231,.25), rgba(79,172,254,.2));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--white-dim); font-size: .85rem;
  margin-bottom: 16px;
}
#video-modal-title { font-family: var(--font-display); font-size: 1.2rem; text-align: center; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats-row, .repertoire-grid, .awards-grid, .video-grid, .collections-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-highlight-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(9,9,14,.97); backdrop-filter: blur(20px);
    max-height: 0; overflow: hidden;
    transition: max-height .4s var(--ease);
  }
  .nav-links.open { max-height: 480px; }
  .nav-links li { width: 100%; }
  .nav-link { display: block; padding: 16px 32px; width: 100%; }
  .nav-toggle { display: flex; }
  .nav-admin-link { display: none; }

  .hero-side-title, .hero-side-copy { display: none; }
  .hero-kicker { display: none; }
  .hero-center { width: 92vw; }
  .hero-center-inner { padding: 30px 26px; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .stats-row, .repertoire-grid, .awards-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-highlight-grid { grid-template-columns: repeat(3, 1fr); }
  .collections-grid { grid-template-columns: 1fr; }
  .piano-hero-overlay { padding: 0 24px; }
  .footer-grid { flex-direction: column; text-align: center; }
  .footer-meta { text-align: center; }
  .gig-card { flex-wrap: wrap; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
