* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  color: #000000;
  font-family: -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-align: center;
}

#wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
}

section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10vh 6vw;
  transform: translateY(100%);
  transition: transform 1.8s cubic-bezier(0.19, 1, 0.22, 1);
}

section.active {
  transform: translateY(0);
}

section.above {
  transform: translateY(-100%);
}

section > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s ease 0.6s, transform 1.1s cubic-bezier(0.19, 1, 0.22, 1) 0.6s;
}

section.active > * {
  opacity: 1;
  transform: translateY(0);
}

h1 {
  font-size: clamp(52px, 10vw, 140px);
  line-height: 0.95;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.tagline {
  font-size: clamp(18px, 2vw, 24px);
  margin-top: 24px;
  opacity: 0.6;
}

.statement {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 24ch;
  margin: 0;
}

.timeline-list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.timeline-list .entry .year {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 600;
}

.timeline-list .entry .what {
  font-size: clamp(14px, 1.5vw, 18px);
  opacity: 0.6;
  margin-top: 4px;
}

.timeline-list .entry .what a {
  color: #000000;
  text-decoration: none;
  cursor: pointer;
}

.timeline-list .entry .what a:hover {
  text-decoration: underline;
}

.experience-list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 560px;
}

.experience-list .entry .role {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 600;
}

.experience-list .entry .what {
  font-size: clamp(13px, 1.4vw, 16px);
  opacity: 0.5;
  margin-top: 4px;
}

.experience-list .entry .desc {
  font-size: clamp(14px, 1.5vw, 17px);
  opacity: 0.7;
  margin-top: 10px;
}

.project-stack {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 640px;
}

.project-stack .name {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 600;
}

.project-stack .name a {
  color: #000000;
  text-decoration: none;
  cursor: pointer;
}

.project-stack .name a:hover {
  text-decoration: underline;
}

.project-stack .desc {
  font-size: clamp(14px, 1.5vw, 17px);
  opacity: 0.6;
  margin-top: 6px;
}

.links {
  margin-top: 50px;
  display: flex;
  gap: 30px;
  font-size: 16px;
}

.links a {
  color: #000000;
  text-decoration: none;
  opacity: 0.6;
}

.links a:hover {
  opacity: 1;
}

.Contributed-stack {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 640px;
}

.Contributed-stack .name {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 600;
}

.Contributed-stack .name a {
  color: #000000;
  text-decoration: none;
  cursor: pointer;
}

.Contributed-stack .name a:hover {
  text-decoration: underline;
}

.Contributed-stack .desc {
  font-size: clamp(14px, 1.5vw, 17px);
  opacity: 0.6;
  margin-top: 6px;
}

#dots {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 10;
}

#dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: #ffffff;
  border: 1.5px solid #000000;
  cursor: pointer;
}

#dots button.active {
  background: #000000;
}

@media (max-width: 600px) {
  #dots { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  section,
  section > * {
    transition-duration: 0.01ms;
    transition-delay: 0ms;
  }
}
