:root {
  --text-color: #f5f4f1;
  --muted-color: #dcdcdc;
  --accent-color: #5cb5ff;
  --overlay: rgba(0, 0, 0, 0.55);
  --dropdown-bg: rgba(0, 0, 0, 0.85);
  --header-blur: rgba(0, 0, 0, 0.35);
  font-family: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-color);
  background-color: #040404;
  font-family: inherit;
  letter-spacing: 0.08em;
}

body.landing-page {
  position: relative;
  background-color: #040404;
  background-image: linear-gradient(var(--overlay), var(--overlay)),
    url('assets/images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll, scroll;
}

@media (min-width: 1024px) {
  body.landing-page {
    background-attachment: scroll, fixed;
  }
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: inherit;
}

.site-header {
  position: fixed;
  top: 24px;
  left: 0;
  width: 100%;
  padding: 24px 32px;
  z-index: 10;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 60px;
  padding: 0;
  margin: 0;
  align-items: center;
}

.nav-link {
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--accent-color);
}

.has-dropdown {
  position: relative;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chevron {
  font-size: 0.7rem;
  letter-spacing: 0;
  transform: translateY(-1px);
}

.dropdown {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dropdown-bg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  list-style: none;
  padding: 12px 0;
  width: 180px;
  display: none;
}

.dropdown li a {
  display: block;
  padding: 10px 22px;
  font-size: 0.78rem;
  text-transform: lowercase;
  letter-spacing: 0.2em;
  color: var(--muted-color);
  transition: color 0.2s ease, background 0.2s ease;
}

.dropdown li a:hover,
.dropdown li a:focus-visible {
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.08);
}

.has-dropdown.open .dropdown {
  display: block;
}

.menu-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s ease;
}

.menu-toggle .bar {
  width: 60%;
  height: 2px;
  background: var(--text-color);
  display: block;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--accent-color);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 16px 140px;
  text-align: center;
}

.hero-link {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: 0.35em;
  text-transform: lowercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 8px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-link:hover,
.hero-link:focus-visible {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.spotify-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: min(480px, 40vw);
  max-width: 520px;
  z-index: 9;
  pointer-events: auto;
}

.spotify-widget iframe {
  width: 100%;
  border: none;
}

.icon-footer {
  position: fixed;
  bottom: 24px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.icon-row {
  display: flex;
  gap: 20px;
  pointer-events: auto;
}

.icon-link {
  width: 32px;
  height: 32px;
  display: inline-flex;
  color: var(--text-color);
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.icon-link:hover,
.icon-link:focus-visible {
  opacity: 1;
  color: var(--accent-color);
}

.icon-link svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.profile-page {
  background: #050505;
}

.profile-page .site-header {
  padding-bottom: 32px;
}

.profile-main {
  padding: 180px 24px 200px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.profile-card {
  max-width: 900px;
  text-align: center;
}

.profile-avatar {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.4);
  margin-bottom: 32px;
}

.profile-bio {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  line-height: 1.9;
  color: var(--muted-color);
}

@media (max-width: 900px) {
  .nav-links {
    gap: 28px;
    padding: 10px 24px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    justify-content: flex-end;
  }

  .nav-links {
    flex-direction: column;
    gap: 24px;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 70%);
    height: 100vh;
    background: rgba(0, 0, 0, 0.93);
    border-radius: 0;
    padding: 140px 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    align-items: flex-start;
  }

  body.nav-open .nav-links {
    transform: translateX(0);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .has-dropdown {
    width: 100%;
  }

  .dropdown {
    position: static;
    transform: none;
    width: 100%;
    background: transparent;
    border: none;
    padding: 6px 0 0;
  }

  .dropdown li a {
    padding: 6px 0 6px 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 8px;
  }

  .icon-footer {
    position: static;
    padding: 32px 0;
  }

  .spotify-widget {
    position: static;
    width: 100%;
    max-width: none;
    padding: 0 16px 24px;
  }

  .hero {
    padding-bottom: 60px;
  }
}
