@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Outfit:wght@200;300;400;500;600&display=swap');

:root {
  --bg: #08080e;
  --bg-card: #111118;
  --bg-card-hover: #18182a;
  --gold: #c9a84c;
  --gold-light: #e4c96a;
  --gold-dim: rgba(201,168,76,0.15);
  --gold-border: rgba(201,168,76,0.06);
  --text: #f0ece4;
  --text-mid: #c8c4ba;
  --text-sec: #9a9690;
  --text-muted: #5c5852;
  --text-faint: #3a3832;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--gold-dim) transparent; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.7;
}

/* Grain */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

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

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.4rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(to bottom, rgba(8,8,14,0.92), transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s ease;
}
nav.scrolled {
  background: rgba(8,8,14,0.96);
  padding: 0.8rem 2.5rem;
  box-shadow: 0 1px 40px rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(184,155,68,0.08);
}

.logo {
  font-family: var(--serif);
  font-size: 1.5rem; font-weight: 300;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text);
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex; gap: 2rem; align-items: center;
  list-style: none;
}

.nav-links > li { position: relative; }

.nav-links a, .nav-links > li > span {
  color: var(--text-sec);
  font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer; transition: color 0.3s;
  position: relative;
}
.nav-links a::after, .nav-links > li > span::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s cubic-bezier(0.25,0.8,0.25,1);
}
.nav-links a:hover, .nav-links > li > span:hover,
.nav-links a.active { color: var(--gold-light); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Dropdown */
.dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: -0.8rem;
  background: rgba(14,14,22,0.97); border: 1px solid rgba(184,155,68,0.1);
  padding: 0.5rem 0; min-width: 240;
  backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: all 0.25s ease;
}
li:hover > .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: block; padding: 0.6rem 1.4rem;
  font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-sec);
  transition: all 0.2s;
}
.dropdown-menu a:hover { color: var(--gold-light); background: rgba(201,168,76,0.03); }
.dropdown-menu a::after { display: none; }

.dropdown-arrow { font-size: 0.5rem; margin-left: 3px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1100; width: 28px; height: 20px; position: relative; }
.hamburger span {
  width: 28px; height: 1.5px; background: var(--text);
  transition: all 0.35s cubic-bezier(0.25,0.8,0.25,1); display: block;
  position: absolute; left: 0;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.active span:nth-child(1) { top: 9px; transform: rotate(45deg); background: var(--gold); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.hamburger.active span:nth-child(3) { top: 9px; transform: rotate(-45deg); background: var(--gold); }

/* Mobile Nav Overlay */
.mobile-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(8,8,14,0.98); z-index: 1050;
  flex-direction: column; justify-content: center; align-items: center; gap: 0.6rem;
  overflow-y: auto; padding: 5rem 2rem;
}
.mobile-overlay.open { display: flex; }
.mobile-overlay > a, .mobile-overlay > .mobile-sub-toggle {
  color: var(--text-sec); font-size: 1rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  transition: color 0.3s; cursor: pointer;
  padding: 0.5rem 0;
}
.mobile-overlay > a:hover, .mobile-overlay > a.active,
.mobile-overlay > .mobile-sub-toggle:hover { color: var(--gold); }

.mobile-sub-toggle { display: flex; align-items: center; gap: 0.4rem; }
.mobile-sub-toggle .arrow { font-size: 0.5rem; transition: transform 0.3s; }

.mobile-submenu {
  display: none; flex-direction: column; align-items: center; gap: 0.3rem;
  padding: 0.3rem 0 0.6rem;
}
.mobile-submenu.open { display: flex; }
.mobile-submenu a {
  color: var(--text-muted); font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 0.3s; padding: 0.3rem 0;
}
.mobile-submenu a:hover, .mobile-submenu a.active { color: var(--gold); }

/* Images */
.img-cover {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
  transition: all 0.6s ease;
}
.img-wrapper:hover .img-cover { filter: grayscale(0%) contrast(1.1); transform: scale(1.03); }
.img-wrapper {
  position: relative; overflow: hidden;
  border: 1px solid var(--gold-border);
}

/* ── HERO (Home) ── */
.hero {
  position: relative; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201,168,76,0.05), transparent),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(30,20,60,0.4), transparent),
    var(--bg);
}
.piano-keys {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 100px; display: flex; justify-content: center; gap: 2px; opacity: 0.035;
}
.piano-keys .key { width: 14px; background: var(--text); border-radius: 0 0 2px 2px; }
.piano-keys .key:nth-child(odd) { height: 100px; }
.piano-keys .key:nth-child(even) { height: 62px; background: var(--gold); }
.piano-keys .key:nth-child(3n) { animation: keyFloat 8s ease-in-out -2s infinite; }
.piano-keys .key:nth-child(5n) { animation: keyFloat 8s ease-in-out -4s infinite; }
@keyframes keyFloat { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(1.08); } }

.hero-content { position: relative; z-index: 2; animation: fadeUp 1.3s cubic-bezier(0.22,1,0.36,1) both; }
.hero-label {
  font-size: 0.72rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem; font-weight: 400;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300; line-height: 1.05;
  letter-spacing: -0.02em; margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 1.05rem; color: var(--text-sec); font-weight: 200;
  max-width: 480px; margin: 0 auto 2.5rem;
}
.scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  animation: fadeUp 1.3s 0.6s both;
}
.scroll-indicator span {
  font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-muted);
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity:0.3; transform:scaleY(0.6); } 50% { opacity:1; transform:scaleY(1); } }
@keyframes fadeUp { from { opacity:0; transform:translateY(40px); } to { opacity:1; transform:translateY(0); } }

/* ── PAGE HERO (subpages) ── */
.page-hero {
  padding: 10rem 2.5rem 4rem; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(201,168,76,0.04), transparent),
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(20,15,40,0.3), transparent),
    var(--bg);
}
.page-hero.small { padding: 8rem 2.5rem 3rem; }
.page-hero .label {
  font-size: 0.7rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; font-weight: 400;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300; line-height: 1.1;
}
.page-hero .line {
  width: 60px; height: 1px; margin: 2rem auto 0;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

/* ── SECTION / LAYOUT ── */
.section { max-width: 1100px; margin: 0 auto; padding: 4rem 2.5rem; }
.section-narrow { max-width: 750px; margin: 0 auto; }
.section-mid { max-width: 900px; margin: 0 auto; }

.divider { max-width: 1100px; margin: 0 auto; padding: 0 2.5rem; }
.divider-line { height: 1px; background: linear-gradient(to right, transparent, rgba(201,168,76,0.12), transparent); }

.section-label {
  font-size: 0.68rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.8rem; font-weight: 400;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300; margin-bottom: 1rem; line-height: 1.15;
}
.section-text { color: var(--text-sec); max-width: 550px; font-weight: 200; }

/* ── BUTTONS ── */
.btn-gold {
  display: inline-block; padding: 0.85rem 2.4rem;
  border: 1px solid var(--gold); background: transparent;
  color: var(--gold); font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 500; cursor: pointer;
  font-family: var(--sans);
  transition: all 0.35s ease;
  position: relative; overflow: hidden;
}
.btn-gold::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold); transform: scaleX(0);
  transform-origin: left; transition: transform 0.4s cubic-bezier(0.25,0.8,0.25,1);
  z-index: -1;
}
.btn-gold:hover { color: var(--bg); }
.btn-gold:hover::before { transform: scaleX(1); }

/* ── CARDS ── */
.card {
  background: var(--bg-card); border: 1px solid var(--gold-border);
  padding: 2.2rem 1.8rem; cursor: pointer;
  transition: all 0.45s cubic-bezier(0.25,0.8,0.25,1);
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.5s;
}
.card:hover {
  background: var(--bg-card-hover); transform: translateY(-5px);
  border-color: rgba(201,168,76,0.15);
  box-shadow: 0 18px 50px rgba(0,0,0,0.4);
}
.card:hover::before { opacity: 1; }
.card-icon { font-size: 2.2rem; display: block; margin-bottom: 1.2rem; }
.card h3 {
  font-family: var(--serif); font-size: 1.35rem;
  font-weight: 400; margin-bottom: 0.8rem;
}
.card p { color: var(--text-sec); font-size: 0.88rem; font-weight: 200; line-height: 1.7; }
.card-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--gold); font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-top: 1.3rem; font-weight: 400; transition: gap 0.3s;
}
.card:hover .card-link { gap: 0.8rem; }

.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}

/* ── ABOUT HOME SECTION ── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.about-img {
  width: 100%; aspect-ratio: 3/4; background: var(--bg-card);
  overflow: hidden; border: 1px solid var(--gold-border);
  position: relative;
}
.about-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
  transition: all 0.6s ease;
}
.about-img:hover img { filter: grayscale(0%) contrast(1.1); transform: scale(1.03); }
.about-img .placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-family: var(--serif); font-size: 5rem;
  color: rgba(201,168,76,0.08);
}
.stats {
  display: flex; gap: 2.5rem; padding-top: 1.5rem; margin-top: 2rem;
  border-top: 1px solid rgba(201,168,76,0.08);
}
.stat-num {
  font-family: var(--serif); font-size: 2.2rem;
  color: var(--gold); font-weight: 300; line-height: 1;
}
.stat-label {
  font-size: 0.65rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted); margin-top: 0.4rem;
}

/* ── EDUCATION TIMELINE ── */
.timeline-item { padding: 2.5rem 0; }
.timeline-item + .timeline-item { border-top: 1px solid var(--gold-border); }
.timeline-period {
  font-size: 0.7rem; letter-spacing: 0.25em;
  color: var(--gold); font-weight: 400; margin-bottom: 0.6rem;
}
.timeline-item h3 {
  font-family: var(--serif); font-size: 1.5rem;
  font-weight: 400; margin-bottom: 1rem;
}

/* ── PROFILE BLOCKS ── */
.profile-block { padding: 2.5rem 0; }
.profile-block + .profile-block { border-top: 1px solid var(--gold-border); }
.profile-block h3 {
  font-family: var(--serif); font-size: 1.6rem;
  font-weight: 400; margin-bottom: 1rem; color: var(--gold);
}

/* ── ALBUM CARDS (Discography) ── */
.album-card {
  background: var(--bg-card); border: 1px solid var(--gold-border);
  overflow: hidden; transition: border-color 0.3s; margin-bottom: 1.5rem;
}
.album-card:hover { border-color: rgba(201,168,76,0.15); }
.album-header {
  display: grid; grid-template-columns: 70px 1fr auto;
  gap: 1.5rem; align-items: center; padding: 1.5rem 2rem; cursor: pointer;
}
.album-thumb {
  width: 70px; height: 70px; background: var(--bg-card-hover);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.5rem;
  color: rgba(201,168,76,0.2); border: 1px solid var(--gold-border);
  overflow: hidden; flex-shrink: 0;
}
.album-thumb img { width: 100%; height: 100%; object-fit: cover; }
.album-header h3 {
  font-family: var(--serif); font-size: 1.25rem;
  font-weight: 400; margin-bottom: 0.3rem;
}
.album-artist { font-size: 0.8rem; color: var(--text-sec); font-weight: 200; }
.album-meta { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.2rem; }
.album-toggle {
  color: var(--gold); font-size: 1.2rem;
  transition: transform 0.3s; display: inline-block;
}
.album-toggle.open { transform: rotate(180deg); }
.album-tracks {
  display: none; padding: 0 2rem 1.5rem;
  border-top: 1px solid var(--gold-border);
}
.album-tracks.open { display: block; }
.track {
  display: flex; gap: 1rem; padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.track:last-child { border-bottom: none; }
.track-num { color: var(--text-muted); font-size: 0.78rem; width: 24px; text-align: right; }
.track-name { color: var(--text-sec); font-size: 0.88rem; font-weight: 200; }

/* ── ALBUM MINI CARDS ── */
.album-mini {
  background: var(--bg-card); border: 1px solid var(--gold-border);
  padding: 1.5rem 2rem; flex: 1 1 200px;
}
.album-mini h4 { font-family: var(--serif); font-size: 1.2rem; }
.album-mini .meta { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.3rem; }

/* ── SERVICES GRID ── */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.service-item {
  background: var(--bg-card); border: 1px solid var(--gold-border);
  padding: 1.5rem; text-align: center;
  font-family: var(--serif); font-size: 1.1rem; color: var(--gold);
}

/* ── BLOCKQUOTE ── */
.quote-block {
  background: var(--bg-card); border: 1px solid rgba(201,168,76,0.1);
  padding: 2rem; border-left: 3px solid var(--gold); margin: 2rem 0;
}
.quote-block p {
  font-family: var(--serif); font-size: 1.15rem;
  font-style: italic; color: var(--text); line-height: 1.6;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
}
.contact-detail {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem;
}
.contact-icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(201,168,76,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-label {
  font-size: 0.65rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
}
.contact-value { color: var(--text-sec); font-weight: 300; font-size: 0.92rem; }
.contact-value a { color: var(--gold); transition: color 0.3s; }
.contact-value a:hover { color: var(--gold-light); }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.3rem; }
.form-group label {
  font-size: 0.65rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted); font-weight: 400;
}
.form-group input, .form-group textarea {
  background: var(--bg-card); border: 1px solid rgba(201,168,76,0.08);
  padding: 0.9rem 1.1rem; color: var(--text);
  font-family: var(--sans); font-weight: 300;
  font-size: 0.92rem; outline: none; transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* ── FOOTER ── */
footer {
  padding: 3rem 2.5rem; text-align: center;
  border-top: 1px solid var(--gold-border); margin-top: 2rem;
}
.footer-links {
  display: flex; justify-content: center; gap: 2rem;
  margin-bottom: 1.5rem; flex-wrap: wrap; list-style: none;
}
.footer-links a {
  color: var(--text-muted); font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }
footer p { font-size: 0.72rem; color: var(--text-faint); letter-spacing: 0.08em; }

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── TYPOGRAPHY HELPERS ── */
.text-lead { color: var(--text-mid); font-weight: 300; line-height: 1.9; font-size: 1.05rem; }
.text-body { color: var(--text-sec); font-weight: 200; line-height: 1.9; }
.text-small { color: var(--text-muted); font-weight: 200; line-height: 1.9; font-size: 0.9rem; }
.text-italic { font-style: italic; color: #6a665e; }
.heading-gold { font-family: var(--serif); font-size: 1.3rem; color: var(--gold); margin-bottom: 0.8rem; }
.heading-sub { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; margin-bottom: 1rem; color: var(--gold); }
.mb-1 { margin-bottom: 1rem; } .mb-15 { margin-bottom: 1.5rem; } .mb-2 { margin-bottom: 2rem; } .mb-25 { margin-bottom: 2.5rem; }
.mt-2 { margin-top: 2rem; } .mt-25 { margin-top: 2.5rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1.2rem 1.5rem; }
  nav.scrolled { padding: 0.8rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 3rem 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats { gap: 1.8rem; flex-wrap: wrap; }
  .album-header { grid-template-columns: 50px 1fr auto; gap: 1rem; padding: 1.2rem 1.5rem; }
  .album-thumb { width: 50px; height: 50px; font-size: 1.2rem; }
  .page-hero { padding: 7rem 1.5rem 2.5rem; }
}
