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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  background: #f6f3ee;
  color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  background: #1a1a1a;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}

header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 28px 40px 0;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.header-mark {
  width: 18px;
  height: 18px;
  opacity: 0.5;
  display: block;
  filter: invert(1);
}

.header-label {
  font-weight: 500;
  color: #4a4a4a;
}

.header-github {
  margin-left: auto;
  font-weight: 500;
  color: #4a4a4a;
  transition: color 0.2s;
}

.header-github:hover {
  color: #1a1a1a;
}

main {
  flex: 1;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.hero {
  padding: 100px 0 80px;
}

.hero-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  overflow: hidden;
}

.hero-char {
  display: inline-block;
  will-change: transform, opacity;
}

.hero-sub {
  margin-top: 18px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: #888;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.projects {
  padding-bottom: 100px;
}

.project-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  cursor: pointer;
  transition: border-color 0.2s;
}

.project-row:first-of-type {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.project-row:hover {
  border-bottom-color: rgba(0, 0, 0, 0.18);
}

.project-number {
  font-size: 13px;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.project-info {
  min-width: 0;
}

.project-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 400;
  line-height: 1.3;
  color: #1a1a1a;
  will-change: transform;
}

.project-arrow {
  display: inline-block;
  opacity: 0;
  transform: translateX(-8px);
  font-size: 0.85em;
  will-change: transform, opacity;
  margin-left: 16px;
}

.project-desc {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: #888;
}

footer {
  padding: 32px 40px;
  font-size: 13px;
  color: #aaa;
  letter-spacing: 0.03em;
}

@media (max-width: 768px) {
  header {
    padding: 20px 24px 0;
    font-size: 13px;
  }

  main {
    padding: 0 24px;
  }

  .hero {
    padding: 60px 0 50px;
  }

  .project-row {
    grid-template-columns: 32px 1fr;
    gap: 16px;
    padding: 22px 0;
  }

  .project-number {
    font-size: 12px;
  }

  .project-desc {
    font-size: 13px;
  }

  footer {
    padding: 24px;
  }
}
