/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #fff;
  color: #111;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 600px;
  margin: 0 auto;
  padding: 80px 24px;
}

/* Header */
header {
  margin-bottom: 60px;
}

h1 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.bio {
  color: #666;
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 12px;
  max-width: 480px;
}

.location {
  color: #999;
  font-size: 0.875rem;
  font-weight: 300;
  margin-bottom: 20px;
}

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

.location a:hover {
  color: #666;
}

/* Social links */
.socials {
  display: flex;
  align-items: center;
  gap: 0;
}

.socials a {
  color: #111;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.socials a:hover {
  color: #666;
}

.socials .separator {
  color: #ccc;
  margin: 0 10px;
  font-size: 0.875rem;
}

/* Tab navigation */
.tabs {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
}

.tab {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 400;
  color: #999;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.tab:hover {
  color: #666;
}

.tab.active {
  color: #111;
  font-weight: 500;
}

/* Tab content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Items (projects/posts) */
.item {
  margin-bottom: 24px;
}

.item-title {
  color: #111;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.item-title:hover {
  color: #666;
}

.item-description {
  color: #999;
  font-size: 0.875rem;
  font-weight: 300;
  margin-top: 4px;
}

.item-date {
  color: #ccc;
  font-size: 0.8rem;
  margin-right: 8px;
}

.item-title.muted {
  color: #24292e;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Consolas', monospace;
  font-size: 0.8rem;
  background-color: #f6f8fa;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #e1e4e8;
}

/* Responsive */
@media (max-width: 640px) {
  main {
    padding: 48px 20px;
  }

  h1 {
    font-size: 1.75rem;
  }

  header {
    margin-bottom: 48px;
  }

  .socials {
    flex-wrap: wrap;
    gap: 4px 0;
  }
}

/* Prose content (about/now sections) */
.prose {
  max-width: 540px;
}

.prose h2 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.prose h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 24px;
  margin-bottom: 8px;
}

.prose p {
  color: #444;
  font-weight: 300;
  margin-bottom: 12px;
  line-height: 1.7;
}

.prose .updated {
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Easter egg: Pin trigger */
.pin-trigger {
  cursor: pointer;
  transition: transform 0.2s ease;
  display: inline-block;
}

.pin-trigger:hover {
  transform: scale(1.2);
}

/* Easter egg: Flightly modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.modal-content img {
  max-width: 100%;
  max-height: 60vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #333;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.modal-close:hover {
  opacity: 1;
}

/* Easter egg: Copyable command */
.copyable {
  cursor: pointer;
  transition: all 0.2s ease;
}

.copyable:hover {
  background-color: #eee;
}

.copyable.copied {
  background-color: #d4edda;
  border-color: #28a745;
}

.copyable.copied::after {
  content: ' ✓ copied';
  color: #28a745;
  font-family: inherit;
  font-size: 0.75rem;
}