@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');

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

body {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  line-height: 1.7;
  background-color: #fffefc;
  color: #37352f;
  padding: 80px 20px 120px;
}

.container {
  max-width: 760px;
  margin: 0 auto;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.bio {
  max-width: 560px;
  margin-bottom: 3rem;
}

a {
  color: #787774;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: #37352f;
}

/* Two-column section (Work + Links) */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.section-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.link-list li a {
  color: #37352f;
  text-decoration: none;
}

.link-list li a:hover {
  color: #787774;
}

/* Projects section */
.projects-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.projects-desc {
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 2rem;
}

.project-item {
  line-height: 1.6;
}

.project-links {
  color: #787774;
  font-size: 0.9em;
}

.project-links a {
  color: #787774;
}

.project-links a:hover {
  color: #37352f;
}

/* Mobile */
@media (max-width: 600px) {
  .two-col,
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Custom cursor */
body {
  cursor: none;
}

a, button {
  cursor: none;
}

.cursor-dot {
  position: fixed;
  width: 7px;
  height: 7px;
  background: #37352f;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.cursor-bit {
  position: fixed;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: #37352f;
  pointer-events: none;
  z-index: 9998;
  transform: translateX(-50%);
  animation: bit-fade 0.9s ease-out forwards;
}

@keyframes bit-fade {
  0%   { opacity: 0.6; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0;   transform: translateX(-50%) translateY(22px); }
}
