/* ═══════════════════════════════════════════════════════════════
   ENAM — Artist Portfolio
   Dark cinematic design · Terracotta/Bronze accent
═══════════════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --c-bg:         #080807;
  --c-bg-alt:     #0F0E0C;
  --c-surface:    #141310;
  --c-surface-2:  #1C1A17;
  --c-ink:        #F0EDE8;
  --c-ink-muted:  #9B9590;
  --c-ink-faint:  #5A5550;
  --c-accent:     #C4A882;
  --c-accent-dim: rgba(196,168,130,0.12);
  --c-border:     rgba(255,255,255,0.07);
  --c-border-2:   rgba(255,255,255,0.12);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  --transition: 0.3s ease;
  --nav-h: 70px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background-color: var(--c-bg);
  color: var(--c-ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--c-accent);
  color: var(--c-bg);
}
.btn-primary:hover {
  background-color: #D4BA98;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-border-2);
}
.btn-outline:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

/* ════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background-color var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background-color: rgba(8,8,7,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--c-border);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--c-ink);
  transition: color var(--transition);
}
.nav-logo:hover { color: var(--c-accent); }

.nav-center-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--c-ink-faint);
  text-transform: uppercase;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-ink-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--c-accent);
  transition: width var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--c-ink);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 28px;
  justify-content: center;
  align-items: center;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--c-ink);
  transition: all var(--transition);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8,8,7,0.75) 0%,
    rgba(8,8,7,0.55) 40%,
    rgba(8,8,7,0.80) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 32px 80px;
  max-width: 900px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-accent);
  animation: fadeInUp 0.8s ease both;
}

.hero-eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--c-accent);
  opacity: 0.5;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
  animation: fadeInUp 0.9s 0.1s ease both;
}

.hero-title-main {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 14vw, 11rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 0.9;
  color: var(--c-ink);
}

.hero-title-sub {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--c-accent);
  font-style: italic;
  margin-top: 8px;
}

.hero-role {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--c-ink-muted);
  margin-bottom: 20px;
  animation: fadeInUp 1s 0.2s ease both;
}

.hero-desc {
  font-size: 15px;
  color: rgba(240,237,232,0.7);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.75;
  animation: fadeInUp 1s 0.3s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 1s 0.4s ease both;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--c-ink-faint);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color var(--transition);
  animation: fadeIn 1.5s 1s ease both;
}
.hero-scroll:hover { color: var(--c-accent); }

.hero-scroll-arrow {
  font-size: 16px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ════════════════════════════════════════
   SECTION SHARED
════════════════════════════════════════ */
.section {
  padding: 120px 0;
  background-color: var(--c-bg-alt);
}

.section--dark {
  background-color: var(--c-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--c-ink);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--c-ink-muted);
  line-height: 1.8;
  max-width: 460px;
  margin: 0 auto;
}

/* ════════════════════════════════════════
   GALLERY
════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 10px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--c-surface);
}

.gallery-item--tall { aspect-ratio: 2/3; grid-row: span 2; }
.gallery-item--wide { aspect-ratio: 16/9; grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: grayscale(15%);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,7,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.gallery-zoom {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--c-accent);
  opacity: 0;
  transform: scale(0.7);
  transition: all var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: grayscale(0%);
}
.gallery-item:hover .gallery-overlay {
  background: rgba(8,8,7,0.45);
}
.gallery-item:hover .gallery-zoom {
  opacity: 1;
  transform: scale(1);
}
.gallery-item:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

/* ════════════════════════════════════════
   LIGHTBOX
════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8,8,7,0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}

.lightbox[hidden] { display: none; }

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  border: 1px solid var(--c-border);
}

.lightbox-caption {
  margin-top: 14px;
  font-size: 12px;
  color: var(--c-ink-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 20px;
  color: var(--c-ink-muted);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
}
.lightbox-close:hover { color: var(--c-ink); background: var(--c-surface); }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--c-ink-muted);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
}
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-prev:hover, .lightbox-next:hover {
  color: var(--c-accent);
  background: var(--c-surface);
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--c-ink-faint);
}

/* ════════════════════════════════════════
   MUSIC
════════════════════════════════════════ */
.music-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: center;
}

.music-desc {
  font-size: 15px;
  color: var(--c-ink-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.music-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.music-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-accent);
  border: 1px solid rgba(196,168,130,0.25);
  padding: 5px 12px;
  border-radius: 2px;
}

.music-cta-note {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-ink-faint);
}

.spotify-container {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: 4px;
}

.spotify-container iframe {
  display: block;
  border-radius: 10px;
}

/* ════════════════════════════════════════
   BIOGRAPHY
════════════════════════════════════════ */
.about-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}

.about-label-block {
  margin-bottom: 40px;
}

.about-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--c-ink);
  margin: 12px 0 8px;
}

.about-aka {
  font-size: 13px;
  color: var(--c-ink-muted);
}
.about-aka strong { color: var(--c-accent); }

.about-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  margin-bottom: 36px;
  border: 1px solid var(--c-border);
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%);
  transition: filter var(--transition);
}
.about-portrait:hover img { filter: grayscale(0%); }

.identity-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--c-border);
}

.identity-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.identity-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-ink-faint);
}

.identity-value {
  font-size: 13px;
  color: var(--c-ink-muted);
  line-height: 1.5;
}

.bio-content { padding-top: 56px; }

.bio-para {
  font-size: 15px;
  color: var(--c-ink-muted);
  line-height: 1.9;
  margin-bottom: 24px;
}

.bio-para--lead {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--c-ink);
  line-height: 1.65;
  margin-bottom: 32px;
}

/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}

.contact-card:hover {
  background: var(--c-surface-2);
  border-color: var(--c-accent);
  transform: translateX(4px);
}

.contact-card--static { cursor: default; }
.contact-card--static:hover { transform: none; border-color: var(--c-border); background: var(--c-surface); }

.contact-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  flex-shrink: 0;
  border: 1px solid var(--c-accent-dim);
  border-radius: var(--r-sm);
}

.contact-card-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.contact-card-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-ink-faint);
}

.contact-card-value {
  font-size: 13px;
  color: var(--c-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-card-arrow {
  font-size: 16px;
  color: var(--c-accent);
  opacity: 0;
  transition: all var(--transition);
  flex-shrink: 0;
}

.contact-card:hover .contact-card-arrow { opacity: 1; }

.contact-cta {
  padding-top: 20px;
}

.contact-cta-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--c-ink);
  line-height: 1.65;
  margin-bottom: 32px;
}

.contact-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

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

.contact-divider {
  height: 1px;
  background: var(--c-border);
  margin-bottom: 28px;
}

.contact-social {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  color: var(--c-ink-muted);
  transition: all var(--transition);
}
.social-link:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  background-color: var(--c-bg);
  border-top: 1px solid var(--c-border);
  padding: 60px 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--c-ink);
}

.footer-role {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-ink-faint);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-ink-faint);
  transition: color var(--transition);
}
.footer-link:hover { color: var(--c-accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--c-border);
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 11px;
  color: var(--c-ink-faint);
}

.footer-afla {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-accent);
  transition: opacity var(--transition);
}
.footer-afla:hover { opacity: 0.7; }

/* ════════════════════════════════════════
   FOCUS STYLES
════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

/* ════════════════════════════════════════
   RESPONSIVE — TABLET
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .music-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-layout {
    grid-template-columns: 280px 1fr;
    gap: 56px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

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

  .container { padding: 0 20px; }

  /* Nav mobile */
  .nav-center-label { display: none; }
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8,8,7,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transform: translateX(100%);
    transition: transform var(--transition);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateX(0);
    pointer-events: all;
  }

  .nav-link { font-size: 14px; letter-spacing: 3px; }

  /* Hero mobile */
  .hero-content { padding: 100px 20px 60px; }
  .hero-title-main { font-size: clamp(3.5rem, 18vw, 6rem); }
  .hero-actions { flex-direction: column; align-items: center; }

  /* Section */
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }

  /* Gallery mobile */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .gallery-item--tall { aspect-ratio: 1; grid-row: auto; }
  .gallery-item--wide { aspect-ratio: 1; grid-column: auto; }

  /* Music */
  .music-layout { gap: 36px; }

  /* About */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-portrait { max-width: 260px; margin: 0 auto 32px; }
  .bio-content { padding-top: 0; }

  /* Contact */
  .contact-layout { gap: 40px; }
  .contact-cta-actions .btn { font-size: 11px; padding: 12px 20px; }

  /* Lightbox */
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 16px; }
  .hero-actions .btn { padding: 12px 22px; }
}
