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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #0a0a0a;
  color: #e8e8e8;
  line-height: 1.5;
  overflow-x: hidden;
}

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero.scrolled .hero-image {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
}

.jwl-text {
  font-size: clamp(6rem, 22vw, 14rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
  user-select: none;
  pointer-events: none;
  animation: floatIn 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 8rem 1.5rem 6rem;
}

section {
  margin-bottom: 6rem;
}

h2 {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 1.5rem;
}

.project-list, .social-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.project, .social-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #e8e8e8;
  font-size: 1.35rem;
  font-weight: 400;
  padding: 0.75rem 0;
  border-bottom: 1px solid #222;
  transition: color 0.3s, border-color 0.3s, transform 0.3s;
}

.project:hover, .social-link:hover {
  color: #fff;
  border-bottom-color: #555;
  transform: translateX(6px);
}

.project-role {
  font-size: 0.85rem;
  color: #777;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.social-link {
  gap: 1rem;
  justify-content: flex-start;
}

.icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-link:hover .icon {
  transform: scale(1.2) rotate(8deg);
}

/* Instagram specific bounce */
.social-link:nth-child(2):hover .icon,
.social-link:nth-child(3):hover .icon {
  animation: instaBounce 0.6s ease;
}

@keyframes instaBounce {
  0%, 100% { transform: scale(1.2) rotate(8deg); }
  50% { transform: scale(1.35) rotate(-4deg); }
}

/* TikTok spin */
.social-link:nth-child(4):hover .icon {
  animation: tiktokSpin 0.7s ease;
}

@keyframes tiktokSpin {
  0% { transform: scale(1.2) rotate(0deg); }
  100% { transform: scale(1.2) rotate(360deg); }
}

/* Scroll reveal - more dynamic */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  filter: blur(4px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

@media (max-width: 600px) {
  .jwl-text {
    font-size: clamp(4.5rem, 28vw, 8rem);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.85);
  }

  .content {
    padding: 5rem 1.25rem 4rem;
  }

  .project, .social-link {
    font-size: 1.15rem;
  }

  .social-link {
    flex-direction: row;
  }
}
