body {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.section { margin-top: 36px; }

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
}

.intro {
  margin-bottom: 10px;
  max-width: 64ch;
}

.typing {
  color: var(--muted);
  min-height: 24px;
  margin-bottom: 22px;
}

.cursor {
  display: inline-block;
  width: 10px;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.tags,
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  row-gap: 8px;
}

.tags {
  color: var(--muted);
  font-size: 0.95rem;
}

.links {
  margin-top: 14px;
  align-items: center;
}

.list {
  display: grid;
  gap: 14px;
}

.item {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.item-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 6px;
  color: var(--white);
}

.meta {
  color: var(--muted);
  font-size: 0.94rem;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.notice {
  color: var(--muted);
  font-size: 0.94rem;
  margin-top: 6px;
}

.cv-container {
    display: none;
    margin-top: 16px;
}

.cv-container.active {
    display: block;
}

.cv-frame {
  width: 100%;
  height: 800px;
  border: 1px solid var(--border);
  background: #0d0d0d;
}

.highlight {
    font-weight: bold;
    color: var(--white);
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 18px, 780px);
    margin: 18px auto;
  }

  .content {
    padding: 22px 14px 28px;
  }

  .cv-frame {
    height: 620px;
  }
}
